@gitpod/public-api 0.1.5-tar-sh-active-users.37 → 0.1.5-tar-sh-active-users-new.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/gitpod/v1/pagination_pb.d.ts +27 -30
- package/lib/gitpod/v1/pagination_pb.d.ts.map +1 -0
- package/lib/gitpod/v1/pagination_pb.js +43 -199
- package/lib/gitpod/v1/pagination_pb.js.map +1 -0
- package/lib/gitpod/v1/pagination_pb.ts +60 -0
- package/lib/gitpod/v1/prebuilds_connectweb.d.ts +65 -0
- package/lib/gitpod/v1/prebuilds_connectweb.d.ts.map +1 -0
- package/lib/gitpod/v1/prebuilds_connectweb.js +72 -0
- package/lib/gitpod/v1/prebuilds_connectweb.js.map +1 -0
- package/lib/gitpod/v1/prebuilds_connectweb.ts +71 -0
- package/lib/gitpod/v1/prebuilds_pb.d.ts +263 -265
- package/lib/gitpod/v1/prebuilds_pb.d.ts.map +1 -0
- package/lib/gitpod/v1/prebuilds_pb.js +398 -1960
- package/lib/gitpod/v1/prebuilds_pb.js.map +1 -0
- package/lib/gitpod/v1/prebuilds_pb.ts +540 -0
- package/lib/gitpod/v1/workspaces_connectweb.d.ts +134 -0
- package/lib/gitpod/v1/workspaces_connectweb.d.ts.map +1 -0
- package/lib/gitpod/v1/workspaces_connectweb.js +141 -0
- package/lib/gitpod/v1/workspaces_connectweb.js.map +1 -0
- package/lib/gitpod/v1/workspaces_connectweb.ts +140 -0
- package/lib/gitpod/v1/workspaces_pb.d.ts +819 -804
- package/lib/gitpod/v1/workspaces_pb.d.ts.map +1 -0
- package/lib/gitpod/v1/workspaces_pb.js +1148 -5941
- package/lib/gitpod/v1/workspaces_pb.js.map +1 -0
- package/lib/gitpod/v1/workspaces_pb.ts +1509 -0
- package/package.json +7 -10
- package/pkg-yarn.lock +5 -5
- package/provenance-bundle.jsonl +2 -2
- package/lib/gitpod/v1/pagination_grpc_pb.js +0 -7
- package/lib/gitpod/v1/prebuilds_grpc_pb.d.ts +0 -95
- package/lib/gitpod/v1/prebuilds_grpc_pb.js +0 -161
- package/lib/gitpod/v1/workspaces_grpc_pb.d.ts +0 -197
- package/lib/gitpod/v1/workspaces_grpc_pb.js +0 -368
| @@ -1,1997 +1,435 @@ | |
| 1 | 
            +
            "use strict";
         | 
| 1 2 | 
             
            /**
         | 
| 2 3 | 
             
             * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
         | 
| 3 4 | 
             
             * Licensed under the GNU Affero General Public License (AGPL).
         | 
| 4 5 | 
             
             * See License-AGPL.txt in the project root for license information.
         | 
| 5 6 | 
             
             */
         | 
| 6 | 
            -
             | 
| 7 | 
            -
             | 
| 8 | 
            -
             | 
| 9 | 
            -
              | 
| 10 | 
            -
             | 
| 11 | 
            -
             * @ | 
| 12 | 
            -
              | 
| 13 | 
            -
              | 
| 14 | 
            -
              | 
| 15 | 
            -
             | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 18 | 
            -
             | 
| 19 | 
            -
             | 
| 20 | 
            -
             | 
| 21 | 
            -
            var goog = jspb;
         | 
| 22 | 
            -
            var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
         | 
| 23 | 
            -
             | 
| 24 | 
            -
            var gitpod_v1_workspaces_pb = require('../../gitpod/v1/workspaces_pb.js');
         | 
| 25 | 
            -
            goog.object.extend(proto, gitpod_v1_workspaces_pb);
         | 
| 26 | 
            -
            goog.exportSymbol('proto.gitpod.v1.GetPrebuildRequest', null, global);
         | 
| 27 | 
            -
            goog.exportSymbol('proto.gitpod.v1.GetPrebuildResponse', null, global);
         | 
| 28 | 
            -
            goog.exportSymbol('proto.gitpod.v1.GetRunningPrebuildRequest', null, global);
         | 
| 29 | 
            -
            goog.exportSymbol('proto.gitpod.v1.GetRunningPrebuildResponse', null, global);
         | 
| 30 | 
            -
            goog.exportSymbol('proto.gitpod.v1.ListenToPrebuildLogsRequest', null, global);
         | 
| 31 | 
            -
            goog.exportSymbol('proto.gitpod.v1.ListenToPrebuildLogsResponse', null, global);
         | 
| 32 | 
            -
            goog.exportSymbol('proto.gitpod.v1.ListenToPrebuildStatusRequest', null, global);
         | 
| 33 | 
            -
            goog.exportSymbol('proto.gitpod.v1.ListenToPrebuildStatusResponse', null, global);
         | 
| 34 | 
            -
            goog.exportSymbol('proto.gitpod.v1.Prebuild', null, global);
         | 
| 35 | 
            -
            goog.exportSymbol('proto.gitpod.v1.PrebuildSpec', null, global);
         | 
| 36 | 
            -
            goog.exportSymbol('proto.gitpod.v1.PrebuildStatus', null, global);
         | 
| 37 | 
            -
            goog.exportSymbol('proto.gitpod.v1.PrebuildStatus.Phase', null, global);
         | 
| 38 | 
            -
            goog.exportSymbol('proto.gitpod.v1.PrebuildStatus.Result', null, global);
         | 
| 39 | 
            -
            /**
         | 
| 40 | 
            -
             * Generated by JsPbCodeGenerator.
         | 
| 41 | 
            -
             * @param {Array=} opt_data Optional initial data array, typically from a
         | 
| 42 | 
            -
             * server response, or constructed directly in Javascript. The array is used
         | 
| 43 | 
            -
             * in place and becomes part of the constructed object. It is not cloned.
         | 
| 44 | 
            -
             * If no data is provided, the constructed object will be empty, but still
         | 
| 45 | 
            -
             * valid.
         | 
| 46 | 
            -
             * @extends {jspb.Message}
         | 
| 47 | 
            -
             * @constructor
         | 
| 48 | 
            -
             */
         | 
| 49 | 
            -
            proto.gitpod.v1.GetPrebuildRequest = function(opt_data) {
         | 
| 50 | 
            -
              jspb.Message.initialize(this, opt_data, 0, -1, null, null);
         | 
| 51 | 
            -
            };
         | 
| 52 | 
            -
            goog.inherits(proto.gitpod.v1.GetPrebuildRequest, jspb.Message);
         | 
| 53 | 
            -
            if (goog.DEBUG && !COMPILED) {
         | 
| 54 | 
            -
              /**
         | 
| 55 | 
            -
               * @public
         | 
| 56 | 
            -
               * @override
         | 
| 57 | 
            -
               */
         | 
| 58 | 
            -
              proto.gitpod.v1.GetPrebuildRequest.displayName = 'proto.gitpod.v1.GetPrebuildRequest';
         | 
| 59 | 
            -
            }
         | 
| 60 | 
            -
            /**
         | 
| 61 | 
            -
             * Generated by JsPbCodeGenerator.
         | 
| 62 | 
            -
             * @param {Array=} opt_data Optional initial data array, typically from a
         | 
| 63 | 
            -
             * server response, or constructed directly in Javascript. The array is used
         | 
| 64 | 
            -
             * in place and becomes part of the constructed object. It is not cloned.
         | 
| 65 | 
            -
             * If no data is provided, the constructed object will be empty, but still
         | 
| 66 | 
            -
             * valid.
         | 
| 67 | 
            -
             * @extends {jspb.Message}
         | 
| 68 | 
            -
             * @constructor
         | 
| 69 | 
            -
             */
         | 
| 70 | 
            -
            proto.gitpod.v1.GetPrebuildResponse = function(opt_data) {
         | 
| 71 | 
            -
              jspb.Message.initialize(this, opt_data, 0, -1, null, null);
         | 
| 72 | 
            -
            };
         | 
| 73 | 
            -
            goog.inherits(proto.gitpod.v1.GetPrebuildResponse, jspb.Message);
         | 
| 74 | 
            -
            if (goog.DEBUG && !COMPILED) {
         | 
| 75 | 
            -
              /**
         | 
| 76 | 
            -
               * @public
         | 
| 77 | 
            -
               * @override
         | 
| 78 | 
            -
               */
         | 
| 79 | 
            -
              proto.gitpod.v1.GetPrebuildResponse.displayName = 'proto.gitpod.v1.GetPrebuildResponse';
         | 
| 80 | 
            -
            }
         | 
| 81 | 
            -
            /**
         | 
| 82 | 
            -
             * Generated by JsPbCodeGenerator.
         | 
| 83 | 
            -
             * @param {Array=} opt_data Optional initial data array, typically from a
         | 
| 84 | 
            -
             * server response, or constructed directly in Javascript. The array is used
         | 
| 85 | 
            -
             * in place and becomes part of the constructed object. It is not cloned.
         | 
| 86 | 
            -
             * If no data is provided, the constructed object will be empty, but still
         | 
| 87 | 
            -
             * valid.
         | 
| 88 | 
            -
             * @extends {jspb.Message}
         | 
| 89 | 
            -
             * @constructor
         | 
| 90 | 
            -
             */
         | 
| 91 | 
            -
            proto.gitpod.v1.GetRunningPrebuildRequest = function(opt_data) {
         | 
| 92 | 
            -
              jspb.Message.initialize(this, opt_data, 0, -1, null, null);
         | 
| 93 | 
            -
            };
         | 
| 94 | 
            -
            goog.inherits(proto.gitpod.v1.GetRunningPrebuildRequest, jspb.Message);
         | 
| 95 | 
            -
            if (goog.DEBUG && !COMPILED) {
         | 
| 96 | 
            -
              /**
         | 
| 97 | 
            -
               * @public
         | 
| 98 | 
            -
               * @override
         | 
| 99 | 
            -
               */
         | 
| 100 | 
            -
              proto.gitpod.v1.GetRunningPrebuildRequest.displayName = 'proto.gitpod.v1.GetRunningPrebuildRequest';
         | 
| 101 | 
            -
            }
         | 
| 102 | 
            -
            /**
         | 
| 103 | 
            -
             * Generated by JsPbCodeGenerator.
         | 
| 104 | 
            -
             * @param {Array=} opt_data Optional initial data array, typically from a
         | 
| 105 | 
            -
             * server response, or constructed directly in Javascript. The array is used
         | 
| 106 | 
            -
             * in place and becomes part of the constructed object. It is not cloned.
         | 
| 107 | 
            -
             * If no data is provided, the constructed object will be empty, but still
         | 
| 108 | 
            -
             * valid.
         | 
| 109 | 
            -
             * @extends {jspb.Message}
         | 
| 110 | 
            -
             * @constructor
         | 
| 111 | 
            -
             */
         | 
| 112 | 
            -
            proto.gitpod.v1.GetRunningPrebuildResponse = function(opt_data) {
         | 
| 113 | 
            -
              jspb.Message.initialize(this, opt_data, 0, -1, null, null);
         | 
| 114 | 
            -
            };
         | 
| 115 | 
            -
            goog.inherits(proto.gitpod.v1.GetRunningPrebuildResponse, jspb.Message);
         | 
| 116 | 
            -
            if (goog.DEBUG && !COMPILED) {
         | 
| 117 | 
            -
              /**
         | 
| 118 | 
            -
               * @public
         | 
| 119 | 
            -
               * @override
         | 
| 120 | 
            -
               */
         | 
| 121 | 
            -
              proto.gitpod.v1.GetRunningPrebuildResponse.displayName = 'proto.gitpod.v1.GetRunningPrebuildResponse';
         | 
| 122 | 
            -
            }
         | 
| 123 | 
            -
            /**
         | 
| 124 | 
            -
             * Generated by JsPbCodeGenerator.
         | 
| 125 | 
            -
             * @param {Array=} opt_data Optional initial data array, typically from a
         | 
| 126 | 
            -
             * server response, or constructed directly in Javascript. The array is used
         | 
| 127 | 
            -
             * in place and becomes part of the constructed object. It is not cloned.
         | 
| 128 | 
            -
             * If no data is provided, the constructed object will be empty, but still
         | 
| 129 | 
            -
             * valid.
         | 
| 130 | 
            -
             * @extends {jspb.Message}
         | 
| 131 | 
            -
             * @constructor
         | 
| 132 | 
            -
             */
         | 
| 133 | 
            -
            proto.gitpod.v1.ListenToPrebuildStatusRequest = function(opt_data) {
         | 
| 134 | 
            -
              jspb.Message.initialize(this, opt_data, 0, -1, null, null);
         | 
| 135 | 
            -
            };
         | 
| 136 | 
            -
            goog.inherits(proto.gitpod.v1.ListenToPrebuildStatusRequest, jspb.Message);
         | 
| 137 | 
            -
            if (goog.DEBUG && !COMPILED) {
         | 
| 138 | 
            -
              /**
         | 
| 139 | 
            -
               * @public
         | 
| 140 | 
            -
               * @override
         | 
| 141 | 
            -
               */
         | 
| 142 | 
            -
              proto.gitpod.v1.ListenToPrebuildStatusRequest.displayName = 'proto.gitpod.v1.ListenToPrebuildStatusRequest';
         | 
| 143 | 
            -
            }
         | 
| 144 | 
            -
            /**
         | 
| 145 | 
            -
             * Generated by JsPbCodeGenerator.
         | 
| 146 | 
            -
             * @param {Array=} opt_data Optional initial data array, typically from a
         | 
| 147 | 
            -
             * server response, or constructed directly in Javascript. The array is used
         | 
| 148 | 
            -
             * in place and becomes part of the constructed object. It is not cloned.
         | 
| 149 | 
            -
             * If no data is provided, the constructed object will be empty, but still
         | 
| 150 | 
            -
             * valid.
         | 
| 151 | 
            -
             * @extends {jspb.Message}
         | 
| 152 | 
            -
             * @constructor
         | 
| 153 | 
            -
             */
         | 
| 154 | 
            -
            proto.gitpod.v1.ListenToPrebuildStatusResponse = function(opt_data) {
         | 
| 155 | 
            -
              jspb.Message.initialize(this, opt_data, 0, -1, null, null);
         | 
| 156 | 
            -
            };
         | 
| 157 | 
            -
            goog.inherits(proto.gitpod.v1.ListenToPrebuildStatusResponse, jspb.Message);
         | 
| 158 | 
            -
            if (goog.DEBUG && !COMPILED) {
         | 
| 159 | 
            -
              /**
         | 
| 160 | 
            -
               * @public
         | 
| 161 | 
            -
               * @override
         | 
| 162 | 
            -
               */
         | 
| 163 | 
            -
              proto.gitpod.v1.ListenToPrebuildStatusResponse.displayName = 'proto.gitpod.v1.ListenToPrebuildStatusResponse';
         | 
| 164 | 
            -
            }
         | 
| 165 | 
            -
            /**
         | 
| 166 | 
            -
             * Generated by JsPbCodeGenerator.
         | 
| 167 | 
            -
             * @param {Array=} opt_data Optional initial data array, typically from a
         | 
| 168 | 
            -
             * server response, or constructed directly in Javascript. The array is used
         | 
| 169 | 
            -
             * in place and becomes part of the constructed object. It is not cloned.
         | 
| 170 | 
            -
             * If no data is provided, the constructed object will be empty, but still
         | 
| 171 | 
            -
             * valid.
         | 
| 172 | 
            -
             * @extends {jspb.Message}
         | 
| 173 | 
            -
             * @constructor
         | 
| 174 | 
            -
             */
         | 
| 175 | 
            -
            proto.gitpod.v1.ListenToPrebuildLogsRequest = function(opt_data) {
         | 
| 176 | 
            -
              jspb.Message.initialize(this, opt_data, 0, -1, null, null);
         | 
| 177 | 
            -
            };
         | 
| 178 | 
            -
            goog.inherits(proto.gitpod.v1.ListenToPrebuildLogsRequest, jspb.Message);
         | 
| 179 | 
            -
            if (goog.DEBUG && !COMPILED) {
         | 
| 180 | 
            -
              /**
         | 
| 181 | 
            -
               * @public
         | 
| 182 | 
            -
               * @override
         | 
| 183 | 
            -
               */
         | 
| 184 | 
            -
              proto.gitpod.v1.ListenToPrebuildLogsRequest.displayName = 'proto.gitpod.v1.ListenToPrebuildLogsRequest';
         | 
| 185 | 
            -
            }
         | 
| 186 | 
            -
            /**
         | 
| 187 | 
            -
             * Generated by JsPbCodeGenerator.
         | 
| 188 | 
            -
             * @param {Array=} opt_data Optional initial data array, typically from a
         | 
| 189 | 
            -
             * server response, or constructed directly in Javascript. The array is used
         | 
| 190 | 
            -
             * in place and becomes part of the constructed object. It is not cloned.
         | 
| 191 | 
            -
             * If no data is provided, the constructed object will be empty, but still
         | 
| 192 | 
            -
             * valid.
         | 
| 193 | 
            -
             * @extends {jspb.Message}
         | 
| 194 | 
            -
             * @constructor
         | 
| 195 | 
            -
             */
         | 
| 196 | 
            -
            proto.gitpod.v1.ListenToPrebuildLogsResponse = function(opt_data) {
         | 
| 197 | 
            -
              jspb.Message.initialize(this, opt_data, 0, -1, null, null);
         | 
| 198 | 
            -
            };
         | 
| 199 | 
            -
            goog.inherits(proto.gitpod.v1.ListenToPrebuildLogsResponse, jspb.Message);
         | 
| 200 | 
            -
            if (goog.DEBUG && !COMPILED) {
         | 
| 201 | 
            -
              /**
         | 
| 202 | 
            -
               * @public
         | 
| 203 | 
            -
               * @override
         | 
| 204 | 
            -
               */
         | 
| 205 | 
            -
              proto.gitpod.v1.ListenToPrebuildLogsResponse.displayName = 'proto.gitpod.v1.ListenToPrebuildLogsResponse';
         | 
| 206 | 
            -
            }
         | 
| 207 | 
            -
            /**
         | 
| 208 | 
            -
             * Generated by JsPbCodeGenerator.
         | 
| 209 | 
            -
             * @param {Array=} opt_data Optional initial data array, typically from a
         | 
| 210 | 
            -
             * server response, or constructed directly in Javascript. The array is used
         | 
| 211 | 
            -
             * in place and becomes part of the constructed object. It is not cloned.
         | 
| 212 | 
            -
             * If no data is provided, the constructed object will be empty, but still
         | 
| 213 | 
            -
             * valid.
         | 
| 214 | 
            -
             * @extends {jspb.Message}
         | 
| 215 | 
            -
             * @constructor
         | 
| 216 | 
            -
             */
         | 
| 217 | 
            -
            proto.gitpod.v1.Prebuild = function(opt_data) {
         | 
| 218 | 
            -
              jspb.Message.initialize(this, opt_data, 0, -1, null, null);
         | 
| 219 | 
            -
            };
         | 
| 220 | 
            -
            goog.inherits(proto.gitpod.v1.Prebuild, jspb.Message);
         | 
| 221 | 
            -
            if (goog.DEBUG && !COMPILED) {
         | 
| 222 | 
            -
              /**
         | 
| 223 | 
            -
               * @public
         | 
| 224 | 
            -
               * @override
         | 
| 225 | 
            -
               */
         | 
| 226 | 
            -
              proto.gitpod.v1.Prebuild.displayName = 'proto.gitpod.v1.Prebuild';
         | 
| 227 | 
            -
            }
         | 
| 228 | 
            -
            /**
         | 
| 229 | 
            -
             * Generated by JsPbCodeGenerator.
         | 
| 230 | 
            -
             * @param {Array=} opt_data Optional initial data array, typically from a
         | 
| 231 | 
            -
             * server response, or constructed directly in Javascript. The array is used
         | 
| 232 | 
            -
             * in place and becomes part of the constructed object. It is not cloned.
         | 
| 233 | 
            -
             * If no data is provided, the constructed object will be empty, but still
         | 
| 234 | 
            -
             * valid.
         | 
| 235 | 
            -
             * @extends {jspb.Message}
         | 
| 236 | 
            -
             * @constructor
         | 
| 237 | 
            -
             */
         | 
| 238 | 
            -
            proto.gitpod.v1.PrebuildSpec = function(opt_data) {
         | 
| 239 | 
            -
              jspb.Message.initialize(this, opt_data, 0, -1, null, null);
         | 
| 240 | 
            -
            };
         | 
| 241 | 
            -
            goog.inherits(proto.gitpod.v1.PrebuildSpec, jspb.Message);
         | 
| 242 | 
            -
            if (goog.DEBUG && !COMPILED) {
         | 
| 243 | 
            -
              /**
         | 
| 244 | 
            -
               * @public
         | 
| 245 | 
            -
               * @override
         | 
| 246 | 
            -
               */
         | 
| 247 | 
            -
              proto.gitpod.v1.PrebuildSpec.displayName = 'proto.gitpod.v1.PrebuildSpec';
         | 
| 248 | 
            -
            }
         | 
| 249 | 
            -
            /**
         | 
| 250 | 
            -
             * Generated by JsPbCodeGenerator.
         | 
| 251 | 
            -
             * @param {Array=} opt_data Optional initial data array, typically from a
         | 
| 252 | 
            -
             * server response, or constructed directly in Javascript. The array is used
         | 
| 253 | 
            -
             * in place and becomes part of the constructed object. It is not cloned.
         | 
| 254 | 
            -
             * If no data is provided, the constructed object will be empty, but still
         | 
| 255 | 
            -
             * valid.
         | 
| 256 | 
            -
             * @extends {jspb.Message}
         | 
| 257 | 
            -
             * @constructor
         | 
| 258 | 
            -
             */
         | 
| 259 | 
            -
            proto.gitpod.v1.PrebuildStatus = function(opt_data) {
         | 
| 260 | 
            -
              jspb.Message.initialize(this, opt_data, 0, -1, null, null);
         | 
| 261 | 
            -
            };
         | 
| 262 | 
            -
            goog.inherits(proto.gitpod.v1.PrebuildStatus, jspb.Message);
         | 
| 263 | 
            -
            if (goog.DEBUG && !COMPILED) {
         | 
| 264 | 
            -
              /**
         | 
| 265 | 
            -
               * @public
         | 
| 266 | 
            -
               * @override
         | 
| 267 | 
            -
               */
         | 
| 268 | 
            -
              proto.gitpod.v1.PrebuildStatus.displayName = 'proto.gitpod.v1.PrebuildStatus';
         | 
| 269 | 
            -
            }
         | 
| 270 | 
            -
             | 
| 271 | 
            -
             | 
| 272 | 
            -
             | 
| 273 | 
            -
            if (jspb.Message.GENERATE_TO_OBJECT) {
         | 
| 274 | 
            -
            /**
         | 
| 275 | 
            -
             * Creates an object representation of this proto.
         | 
| 276 | 
            -
             * Field names that are reserved in JavaScript and will be renamed to pb_name.
         | 
| 277 | 
            -
             * Optional fields that are not set will be set to undefined.
         | 
| 278 | 
            -
             * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
         | 
| 279 | 
            -
             * For the list of reserved names please see:
         | 
| 280 | 
            -
             *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
         | 
| 281 | 
            -
             * @param {boolean=} opt_includeInstance Deprecated. whether to include the
         | 
| 282 | 
            -
             *     JSPB instance for transitional soy proto support:
         | 
| 283 | 
            -
             *     http://goto/soy-param-migration
         | 
| 284 | 
            -
             * @return {!Object}
         | 
| 285 | 
            -
             */
         | 
| 286 | 
            -
            proto.gitpod.v1.GetPrebuildRequest.prototype.toObject = function(opt_includeInstance) {
         | 
| 287 | 
            -
              return proto.gitpod.v1.GetPrebuildRequest.toObject(opt_includeInstance, this);
         | 
| 288 | 
            -
            };
         | 
| 289 | 
            -
             | 
| 290 | 
            -
             | 
| 291 | 
            -
            /**
         | 
| 292 | 
            -
             * Static version of the {@see toObject} method.
         | 
| 293 | 
            -
             * @param {boolean|undefined} includeInstance Deprecated. Whether to include
         | 
| 294 | 
            -
             *     the JSPB instance for transitional soy proto support:
         | 
| 295 | 
            -
             *     http://goto/soy-param-migration
         | 
| 296 | 
            -
             * @param {!proto.gitpod.v1.GetPrebuildRequest} msg The msg instance to transform.
         | 
| 297 | 
            -
             * @return {!Object}
         | 
| 298 | 
            -
             * @suppress {unusedLocalVariables} f is only used for nested messages
         | 
| 299 | 
            -
             */
         | 
| 300 | 
            -
            proto.gitpod.v1.GetPrebuildRequest.toObject = function(includeInstance, msg) {
         | 
| 301 | 
            -
              var f, obj = {
         | 
| 302 | 
            -
                prebuildId: jspb.Message.getFieldWithDefault(msg, 1, "")
         | 
| 303 | 
            -
              };
         | 
| 304 | 
            -
             | 
| 305 | 
            -
              if (includeInstance) {
         | 
| 306 | 
            -
                obj.$jspbMessageInstance = msg;
         | 
| 307 | 
            -
              }
         | 
| 308 | 
            -
              return obj;
         | 
| 309 | 
            -
            };
         | 
| 310 | 
            -
            }
         | 
| 311 | 
            -
             | 
| 312 | 
            -
             | 
| 313 | 
            -
            /**
         | 
| 314 | 
            -
             * Deserializes binary data (in protobuf wire format).
         | 
| 315 | 
            -
             * @param {jspb.ByteSource} bytes The bytes to deserialize.
         | 
| 316 | 
            -
             * @return {!proto.gitpod.v1.GetPrebuildRequest}
         | 
| 317 | 
            -
             */
         | 
| 318 | 
            -
            proto.gitpod.v1.GetPrebuildRequest.deserializeBinary = function(bytes) {
         | 
| 319 | 
            -
              var reader = new jspb.BinaryReader(bytes);
         | 
| 320 | 
            -
              var msg = new proto.gitpod.v1.GetPrebuildRequest;
         | 
| 321 | 
            -
              return proto.gitpod.v1.GetPrebuildRequest.deserializeBinaryFromReader(msg, reader);
         | 
| 322 | 
            -
            };
         | 
| 323 | 
            -
             | 
| 324 | 
            -
             | 
| 325 | 
            -
            /**
         | 
| 326 | 
            -
             * Deserializes binary data (in protobuf wire format) from the
         | 
| 327 | 
            -
             * given reader into the given message object.
         | 
| 328 | 
            -
             * @param {!proto.gitpod.v1.GetPrebuildRequest} msg The message object to deserialize into.
         | 
| 329 | 
            -
             * @param {!jspb.BinaryReader} reader The BinaryReader to use.
         | 
| 330 | 
            -
             * @return {!proto.gitpod.v1.GetPrebuildRequest}
         | 
| 331 | 
            -
             */
         | 
| 332 | 
            -
            proto.gitpod.v1.GetPrebuildRequest.deserializeBinaryFromReader = function(msg, reader) {
         | 
| 333 | 
            -
              while (reader.nextField()) {
         | 
| 334 | 
            -
                if (reader.isEndGroup()) {
         | 
| 335 | 
            -
                  break;
         | 
| 7 | 
            +
            Object.defineProperty(exports, "__esModule", { value: true });
         | 
| 8 | 
            +
            exports.PrebuildStatus_Result = exports.PrebuildStatus_Phase = exports.PrebuildStatus = exports.PrebuildSpec = exports.Prebuild = exports.ListenToPrebuildLogsResponse = exports.ListenToPrebuildLogsRequest = exports.ListenToPrebuildStatusResponse = exports.ListenToPrebuildStatusRequest = exports.GetRunningPrebuildResponse = exports.GetRunningPrebuildRequest = exports.GetPrebuildResponse = exports.GetPrebuildRequest = void 0;
         | 
| 9 | 
            +
            const protobuf_1 = require("@bufbuild/protobuf");
         | 
| 10 | 
            +
            const workspaces_pb_js_1 = require("./workspaces_pb.js");
         | 
| 11 | 
            +
            /**
         | 
| 12 | 
            +
             * @generated from message gitpod.v1.GetPrebuildRequest
         | 
| 13 | 
            +
             */
         | 
| 14 | 
            +
            class GetPrebuildRequest extends protobuf_1.Message {
         | 
| 15 | 
            +
                constructor(data) {
         | 
| 16 | 
            +
                    super();
         | 
| 17 | 
            +
                    /**
         | 
| 18 | 
            +
                     * @generated from field: string prebuild_id = 1;
         | 
| 19 | 
            +
                     */
         | 
| 20 | 
            +
                    this.prebuildId = "";
         | 
| 21 | 
            +
                    protobuf_1.proto3.util.initPartial(data, this);
         | 
| 336 22 | 
             
                }
         | 
| 337 | 
            -
                 | 
| 338 | 
            -
             | 
| 339 | 
            -
                 | 
| 340 | 
            -
             | 
| 341 | 
            -
             | 
| 342 | 
            -
             | 
| 343 | 
            -
                 | 
| 344 | 
            -
             | 
| 345 | 
            -
             | 
| 23 | 
            +
                static fromBinary(bytes, options) {
         | 
| 24 | 
            +
                    return new GetPrebuildRequest().fromBinary(bytes, options);
         | 
| 25 | 
            +
                }
         | 
| 26 | 
            +
                static fromJson(jsonValue, options) {
         | 
| 27 | 
            +
                    return new GetPrebuildRequest().fromJson(jsonValue, options);
         | 
| 28 | 
            +
                }
         | 
| 29 | 
            +
                static fromJsonString(jsonString, options) {
         | 
| 30 | 
            +
                    return new GetPrebuildRequest().fromJsonString(jsonString, options);
         | 
| 31 | 
            +
                }
         | 
| 32 | 
            +
                static equals(a, b) {
         | 
| 33 | 
            +
                    return protobuf_1.proto3.util.equals(GetPrebuildRequest, a, b);
         | 
| 346 34 | 
             
                }
         | 
| 347 | 
            -
              }
         | 
| 348 | 
            -
              return msg;
         | 
| 349 | 
            -
            };
         | 
| 350 | 
            -
             | 
| 351 | 
            -
             | 
| 352 | 
            -
            /**
         | 
| 353 | 
            -
             * Serializes the message to binary data (in protobuf wire format).
         | 
| 354 | 
            -
             * @return {!Uint8Array}
         | 
| 355 | 
            -
             */
         | 
| 356 | 
            -
            proto.gitpod.v1.GetPrebuildRequest.prototype.serializeBinary = function() {
         | 
| 357 | 
            -
              var writer = new jspb.BinaryWriter();
         | 
| 358 | 
            -
              proto.gitpod.v1.GetPrebuildRequest.serializeBinaryToWriter(this, writer);
         | 
| 359 | 
            -
              return writer.getResultBuffer();
         | 
| 360 | 
            -
            };
         | 
| 361 | 
            -
             | 
| 362 | 
            -
             | 
| 363 | 
            -
            /**
         | 
| 364 | 
            -
             * Serializes the given message to binary data (in protobuf wire
         | 
| 365 | 
            -
             * format), writing to the given BinaryWriter.
         | 
| 366 | 
            -
             * @param {!proto.gitpod.v1.GetPrebuildRequest} message
         | 
| 367 | 
            -
             * @param {!jspb.BinaryWriter} writer
         | 
| 368 | 
            -
             * @suppress {unusedLocalVariables} f is only used for nested messages
         | 
| 369 | 
            -
             */
         | 
| 370 | 
            -
            proto.gitpod.v1.GetPrebuildRequest.serializeBinaryToWriter = function(message, writer) {
         | 
| 371 | 
            -
              var f = undefined;
         | 
| 372 | 
            -
              f = message.getPrebuildId();
         | 
| 373 | 
            -
              if (f.length > 0) {
         | 
| 374 | 
            -
                writer.writeString(
         | 
| 375 | 
            -
                  1,
         | 
| 376 | 
            -
                  f
         | 
| 377 | 
            -
                );
         | 
| 378 | 
            -
              }
         | 
| 379 | 
            -
            };
         | 
| 380 | 
            -
             | 
| 381 | 
            -
             | 
| 382 | 
            -
            /**
         | 
| 383 | 
            -
             * optional string prebuild_id = 1;
         | 
| 384 | 
            -
             * @return {string}
         | 
| 385 | 
            -
             */
         | 
| 386 | 
            -
            proto.gitpod.v1.GetPrebuildRequest.prototype.getPrebuildId = function() {
         | 
| 387 | 
            -
              return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
         | 
| 388 | 
            -
            };
         | 
| 389 | 
            -
             | 
| 390 | 
            -
             | 
| 391 | 
            -
            /**
         | 
| 392 | 
            -
             * @param {string} value
         | 
| 393 | 
            -
             * @return {!proto.gitpod.v1.GetPrebuildRequest} returns this
         | 
| 394 | 
            -
             */
         | 
| 395 | 
            -
            proto.gitpod.v1.GetPrebuildRequest.prototype.setPrebuildId = function(value) {
         | 
| 396 | 
            -
              return jspb.Message.setProto3StringField(this, 1, value);
         | 
| 397 | 
            -
            };
         | 
| 398 | 
            -
             | 
| 399 | 
            -
             | 
| 400 | 
            -
             | 
| 401 | 
            -
             | 
| 402 | 
            -
             | 
| 403 | 
            -
            if (jspb.Message.GENERATE_TO_OBJECT) {
         | 
| 404 | 
            -
            /**
         | 
| 405 | 
            -
             * Creates an object representation of this proto.
         | 
| 406 | 
            -
             * Field names that are reserved in JavaScript and will be renamed to pb_name.
         | 
| 407 | 
            -
             * Optional fields that are not set will be set to undefined.
         | 
| 408 | 
            -
             * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
         | 
| 409 | 
            -
             * For the list of reserved names please see:
         | 
| 410 | 
            -
             *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
         | 
| 411 | 
            -
             * @param {boolean=} opt_includeInstance Deprecated. whether to include the
         | 
| 412 | 
            -
             *     JSPB instance for transitional soy proto support:
         | 
| 413 | 
            -
             *     http://goto/soy-param-migration
         | 
| 414 | 
            -
             * @return {!Object}
         | 
| 415 | 
            -
             */
         | 
| 416 | 
            -
            proto.gitpod.v1.GetPrebuildResponse.prototype.toObject = function(opt_includeInstance) {
         | 
| 417 | 
            -
              return proto.gitpod.v1.GetPrebuildResponse.toObject(opt_includeInstance, this);
         | 
| 418 | 
            -
            };
         | 
| 419 | 
            -
             | 
| 420 | 
            -
             | 
| 421 | 
            -
            /**
         | 
| 422 | 
            -
             * Static version of the {@see toObject} method.
         | 
| 423 | 
            -
             * @param {boolean|undefined} includeInstance Deprecated. Whether to include
         | 
| 424 | 
            -
             *     the JSPB instance for transitional soy proto support:
         | 
| 425 | 
            -
             *     http://goto/soy-param-migration
         | 
| 426 | 
            -
             * @param {!proto.gitpod.v1.GetPrebuildResponse} msg The msg instance to transform.
         | 
| 427 | 
            -
             * @return {!Object}
         | 
| 428 | 
            -
             * @suppress {unusedLocalVariables} f is only used for nested messages
         | 
| 429 | 
            -
             */
         | 
| 430 | 
            -
            proto.gitpod.v1.GetPrebuildResponse.toObject = function(includeInstance, msg) {
         | 
| 431 | 
            -
              var f, obj = {
         | 
| 432 | 
            -
                prebuild: (f = msg.getPrebuild()) && proto.gitpod.v1.Prebuild.toObject(includeInstance, f)
         | 
| 433 | 
            -
              };
         | 
| 434 | 
            -
             | 
| 435 | 
            -
              if (includeInstance) {
         | 
| 436 | 
            -
                obj.$jspbMessageInstance = msg;
         | 
| 437 | 
            -
              }
         | 
| 438 | 
            -
              return obj;
         | 
| 439 | 
            -
            };
         | 
| 440 35 | 
             
            }
         | 
| 441 | 
            -
             | 
| 442 | 
            -
             | 
| 443 | 
            -
             | 
| 444 | 
            -
              | 
| 445 | 
            -
              | 
| 446 | 
            -
             | 
| 447 | 
            -
             | 
| 448 | 
            -
             | 
| 449 | 
            -
             | 
| 450 | 
            -
             | 
| 451 | 
            -
             | 
| 452 | 
            -
             | 
| 453 | 
            -
             | 
| 454 | 
            -
             | 
| 455 | 
            -
            /**
         | 
| 456 | 
            -
             * Deserializes binary data (in protobuf wire format) from the
         | 
| 457 | 
            -
             * given reader into the given message object.
         | 
| 458 | 
            -
             * @param {!proto.gitpod.v1.GetPrebuildResponse} msg The message object to deserialize into.
         | 
| 459 | 
            -
             * @param {!jspb.BinaryReader} reader The BinaryReader to use.
         | 
| 460 | 
            -
             * @return {!proto.gitpod.v1.GetPrebuildResponse}
         | 
| 461 | 
            -
             */
         | 
| 462 | 
            -
            proto.gitpod.v1.GetPrebuildResponse.deserializeBinaryFromReader = function(msg, reader) {
         | 
| 463 | 
            -
              while (reader.nextField()) {
         | 
| 464 | 
            -
                if (reader.isEndGroup()) {
         | 
| 465 | 
            -
                  break;
         | 
| 36 | 
            +
            exports.GetPrebuildRequest = GetPrebuildRequest;
         | 
| 37 | 
            +
            GetPrebuildRequest.runtime = protobuf_1.proto3;
         | 
| 38 | 
            +
            GetPrebuildRequest.typeName = "gitpod.v1.GetPrebuildRequest";
         | 
| 39 | 
            +
            GetPrebuildRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
         | 
| 40 | 
            +
                { no: 1, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
         | 
| 41 | 
            +
            ]);
         | 
| 42 | 
            +
            /**
         | 
| 43 | 
            +
             * @generated from message gitpod.v1.GetPrebuildResponse
         | 
| 44 | 
            +
             */
         | 
| 45 | 
            +
            class GetPrebuildResponse extends protobuf_1.Message {
         | 
| 46 | 
            +
                constructor(data) {
         | 
| 47 | 
            +
                    super();
         | 
| 48 | 
            +
                    protobuf_1.proto3.util.initPartial(data, this);
         | 
| 466 49 | 
             
                }
         | 
| 467 | 
            -
                 | 
| 468 | 
            -
             | 
| 469 | 
            -
                 | 
| 470 | 
            -
             | 
| 471 | 
            -
             | 
| 472 | 
            -
             | 
| 473 | 
            -
             | 
| 474 | 
            -
             | 
| 475 | 
            -
             | 
| 476 | 
            -
             | 
| 50 | 
            +
                static fromBinary(bytes, options) {
         | 
| 51 | 
            +
                    return new GetPrebuildResponse().fromBinary(bytes, options);
         | 
| 52 | 
            +
                }
         | 
| 53 | 
            +
                static fromJson(jsonValue, options) {
         | 
| 54 | 
            +
                    return new GetPrebuildResponse().fromJson(jsonValue, options);
         | 
| 55 | 
            +
                }
         | 
| 56 | 
            +
                static fromJsonString(jsonString, options) {
         | 
| 57 | 
            +
                    return new GetPrebuildResponse().fromJsonString(jsonString, options);
         | 
| 58 | 
            +
                }
         | 
| 59 | 
            +
                static equals(a, b) {
         | 
| 60 | 
            +
                    return protobuf_1.proto3.util.equals(GetPrebuildResponse, a, b);
         | 
| 477 61 | 
             
                }
         | 
| 478 | 
            -
              }
         | 
| 479 | 
            -
              return msg;
         | 
| 480 | 
            -
            };
         | 
| 481 | 
            -
             | 
| 482 | 
            -
             | 
| 483 | 
            -
            /**
         | 
| 484 | 
            -
             * Serializes the message to binary data (in protobuf wire format).
         | 
| 485 | 
            -
             * @return {!Uint8Array}
         | 
| 486 | 
            -
             */
         | 
| 487 | 
            -
            proto.gitpod.v1.GetPrebuildResponse.prototype.serializeBinary = function() {
         | 
| 488 | 
            -
              var writer = new jspb.BinaryWriter();
         | 
| 489 | 
            -
              proto.gitpod.v1.GetPrebuildResponse.serializeBinaryToWriter(this, writer);
         | 
| 490 | 
            -
              return writer.getResultBuffer();
         | 
| 491 | 
            -
            };
         | 
| 492 | 
            -
             | 
| 493 | 
            -
             | 
| 494 | 
            -
            /**
         | 
| 495 | 
            -
             * Serializes the given message to binary data (in protobuf wire
         | 
| 496 | 
            -
             * format), writing to the given BinaryWriter.
         | 
| 497 | 
            -
             * @param {!proto.gitpod.v1.GetPrebuildResponse} message
         | 
| 498 | 
            -
             * @param {!jspb.BinaryWriter} writer
         | 
| 499 | 
            -
             * @suppress {unusedLocalVariables} f is only used for nested messages
         | 
| 500 | 
            -
             */
         | 
| 501 | 
            -
            proto.gitpod.v1.GetPrebuildResponse.serializeBinaryToWriter = function(message, writer) {
         | 
| 502 | 
            -
              var f = undefined;
         | 
| 503 | 
            -
              f = message.getPrebuild();
         | 
| 504 | 
            -
              if (f != null) {
         | 
| 505 | 
            -
                writer.writeMessage(
         | 
| 506 | 
            -
                  1,
         | 
| 507 | 
            -
                  f,
         | 
| 508 | 
            -
                  proto.gitpod.v1.Prebuild.serializeBinaryToWriter
         | 
| 509 | 
            -
                );
         | 
| 510 | 
            -
              }
         | 
| 511 | 
            -
            };
         | 
| 512 | 
            -
             | 
| 513 | 
            -
             | 
| 514 | 
            -
            /**
         | 
| 515 | 
            -
             * optional Prebuild prebuild = 1;
         | 
| 516 | 
            -
             * @return {?proto.gitpod.v1.Prebuild}
         | 
| 517 | 
            -
             */
         | 
| 518 | 
            -
            proto.gitpod.v1.GetPrebuildResponse.prototype.getPrebuild = function() {
         | 
| 519 | 
            -
              return /** @type{?proto.gitpod.v1.Prebuild} */ (
         | 
| 520 | 
            -
                jspb.Message.getWrapperField(this, proto.gitpod.v1.Prebuild, 1));
         | 
| 521 | 
            -
            };
         | 
| 522 | 
            -
             | 
| 523 | 
            -
             | 
| 524 | 
            -
            /**
         | 
| 525 | 
            -
             * @param {?proto.gitpod.v1.Prebuild|undefined} value
         | 
| 526 | 
            -
             * @return {!proto.gitpod.v1.GetPrebuildResponse} returns this
         | 
| 527 | 
            -
            */
         | 
| 528 | 
            -
            proto.gitpod.v1.GetPrebuildResponse.prototype.setPrebuild = function(value) {
         | 
| 529 | 
            -
              return jspb.Message.setWrapperField(this, 1, value);
         | 
| 530 | 
            -
            };
         | 
| 531 | 
            -
             | 
| 532 | 
            -
             | 
| 533 | 
            -
            /**
         | 
| 534 | 
            -
             * Clears the message field making it undefined.
         | 
| 535 | 
            -
             * @return {!proto.gitpod.v1.GetPrebuildResponse} returns this
         | 
| 536 | 
            -
             */
         | 
| 537 | 
            -
            proto.gitpod.v1.GetPrebuildResponse.prototype.clearPrebuild = function() {
         | 
| 538 | 
            -
              return this.setPrebuild(undefined);
         | 
| 539 | 
            -
            };
         | 
| 540 | 
            -
             | 
| 541 | 
            -
             | 
| 542 | 
            -
            /**
         | 
| 543 | 
            -
             * Returns whether this field is set.
         | 
| 544 | 
            -
             * @return {boolean}
         | 
| 545 | 
            -
             */
         | 
| 546 | 
            -
            proto.gitpod.v1.GetPrebuildResponse.prototype.hasPrebuild = function() {
         | 
| 547 | 
            -
              return jspb.Message.getField(this, 1) != null;
         | 
| 548 | 
            -
            };
         | 
| 549 | 
            -
             | 
| 550 | 
            -
             | 
| 551 | 
            -
             | 
| 552 | 
            -
             | 
| 553 | 
            -
             | 
| 554 | 
            -
            if (jspb.Message.GENERATE_TO_OBJECT) {
         | 
| 555 | 
            -
            /**
         | 
| 556 | 
            -
             * Creates an object representation of this proto.
         | 
| 557 | 
            -
             * Field names that are reserved in JavaScript and will be renamed to pb_name.
         | 
| 558 | 
            -
             * Optional fields that are not set will be set to undefined.
         | 
| 559 | 
            -
             * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
         | 
| 560 | 
            -
             * For the list of reserved names please see:
         | 
| 561 | 
            -
             *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
         | 
| 562 | 
            -
             * @param {boolean=} opt_includeInstance Deprecated. whether to include the
         | 
| 563 | 
            -
             *     JSPB instance for transitional soy proto support:
         | 
| 564 | 
            -
             *     http://goto/soy-param-migration
         | 
| 565 | 
            -
             * @return {!Object}
         | 
| 566 | 
            -
             */
         | 
| 567 | 
            -
            proto.gitpod.v1.GetRunningPrebuildRequest.prototype.toObject = function(opt_includeInstance) {
         | 
| 568 | 
            -
              return proto.gitpod.v1.GetRunningPrebuildRequest.toObject(opt_includeInstance, this);
         | 
| 569 | 
            -
            };
         | 
| 570 | 
            -
             | 
| 571 | 
            -
             | 
| 572 | 
            -
            /**
         | 
| 573 | 
            -
             * Static version of the {@see toObject} method.
         | 
| 574 | 
            -
             * @param {boolean|undefined} includeInstance Deprecated. Whether to include
         | 
| 575 | 
            -
             *     the JSPB instance for transitional soy proto support:
         | 
| 576 | 
            -
             *     http://goto/soy-param-migration
         | 
| 577 | 
            -
             * @param {!proto.gitpod.v1.GetRunningPrebuildRequest} msg The msg instance to transform.
         | 
| 578 | 
            -
             * @return {!Object}
         | 
| 579 | 
            -
             * @suppress {unusedLocalVariables} f is only used for nested messages
         | 
| 580 | 
            -
             */
         | 
| 581 | 
            -
            proto.gitpod.v1.GetRunningPrebuildRequest.toObject = function(includeInstance, msg) {
         | 
| 582 | 
            -
              var f, obj = {
         | 
| 583 | 
            -
                contextUrl: jspb.Message.getFieldWithDefault(msg, 1, "")
         | 
| 584 | 
            -
              };
         | 
| 585 | 
            -
             | 
| 586 | 
            -
              if (includeInstance) {
         | 
| 587 | 
            -
                obj.$jspbMessageInstance = msg;
         | 
| 588 | 
            -
              }
         | 
| 589 | 
            -
              return obj;
         | 
| 590 | 
            -
            };
         | 
| 591 62 | 
             
            }
         | 
| 592 | 
            -
             | 
| 593 | 
            -
             | 
| 594 | 
            -
             | 
| 595 | 
            -
              | 
| 596 | 
            -
              | 
| 597 | 
            -
             | 
| 598 | 
            -
             | 
| 599 | 
            -
             | 
| 600 | 
            -
             | 
| 601 | 
            -
             | 
| 602 | 
            -
             | 
| 603 | 
            -
             | 
| 604 | 
            -
             | 
| 605 | 
            -
             | 
| 606 | 
            -
             | 
| 607 | 
            -
              | 
| 608 | 
            -
              | 
| 609 | 
            -
             * @param {!proto.gitpod.v1.GetRunningPrebuildRequest} msg The message object to deserialize into.
         | 
| 610 | 
            -
             * @param {!jspb.BinaryReader} reader The BinaryReader to use.
         | 
| 611 | 
            -
             * @return {!proto.gitpod.v1.GetRunningPrebuildRequest}
         | 
| 612 | 
            -
             */
         | 
| 613 | 
            -
            proto.gitpod.v1.GetRunningPrebuildRequest.deserializeBinaryFromReader = function(msg, reader) {
         | 
| 614 | 
            -
              while (reader.nextField()) {
         | 
| 615 | 
            -
                if (reader.isEndGroup()) {
         | 
| 616 | 
            -
                  break;
         | 
| 63 | 
            +
            exports.GetPrebuildResponse = GetPrebuildResponse;
         | 
| 64 | 
            +
            GetPrebuildResponse.runtime = protobuf_1.proto3;
         | 
| 65 | 
            +
            GetPrebuildResponse.typeName = "gitpod.v1.GetPrebuildResponse";
         | 
| 66 | 
            +
            GetPrebuildResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
         | 
| 67 | 
            +
                { no: 1, name: "prebuild", kind: "message", T: Prebuild },
         | 
| 68 | 
            +
            ]);
         | 
| 69 | 
            +
            /**
         | 
| 70 | 
            +
             * @generated from message gitpod.v1.GetRunningPrebuildRequest
         | 
| 71 | 
            +
             */
         | 
| 72 | 
            +
            class GetRunningPrebuildRequest extends protobuf_1.Message {
         | 
| 73 | 
            +
                constructor(data) {
         | 
| 74 | 
            +
                    super();
         | 
| 75 | 
            +
                    /**
         | 
| 76 | 
            +
                     * @generated from field: string context_url = 1;
         | 
| 77 | 
            +
                     */
         | 
| 78 | 
            +
                    this.contextUrl = "";
         | 
| 79 | 
            +
                    protobuf_1.proto3.util.initPartial(data, this);
         | 
| 617 80 | 
             
                }
         | 
| 618 | 
            -
                 | 
| 619 | 
            -
             | 
| 620 | 
            -
                 | 
| 621 | 
            -
             | 
| 622 | 
            -
             | 
| 623 | 
            -
             | 
| 624 | 
            -
                 | 
| 625 | 
            -
             | 
| 626 | 
            -
             | 
| 81 | 
            +
                static fromBinary(bytes, options) {
         | 
| 82 | 
            +
                    return new GetRunningPrebuildRequest().fromBinary(bytes, options);
         | 
| 83 | 
            +
                }
         | 
| 84 | 
            +
                static fromJson(jsonValue, options) {
         | 
| 85 | 
            +
                    return new GetRunningPrebuildRequest().fromJson(jsonValue, options);
         | 
| 86 | 
            +
                }
         | 
| 87 | 
            +
                static fromJsonString(jsonString, options) {
         | 
| 88 | 
            +
                    return new GetRunningPrebuildRequest().fromJsonString(jsonString, options);
         | 
| 89 | 
            +
                }
         | 
| 90 | 
            +
                static equals(a, b) {
         | 
| 91 | 
            +
                    return protobuf_1.proto3.util.equals(GetRunningPrebuildRequest, a, b);
         | 
| 627 92 | 
             
                }
         | 
| 628 | 
            -
              }
         | 
| 629 | 
            -
              return msg;
         | 
| 630 | 
            -
            };
         | 
| 631 | 
            -
             | 
| 632 | 
            -
             | 
| 633 | 
            -
            /**
         | 
| 634 | 
            -
             * Serializes the message to binary data (in protobuf wire format).
         | 
| 635 | 
            -
             * @return {!Uint8Array}
         | 
| 636 | 
            -
             */
         | 
| 637 | 
            -
            proto.gitpod.v1.GetRunningPrebuildRequest.prototype.serializeBinary = function() {
         | 
| 638 | 
            -
              var writer = new jspb.BinaryWriter();
         | 
| 639 | 
            -
              proto.gitpod.v1.GetRunningPrebuildRequest.serializeBinaryToWriter(this, writer);
         | 
| 640 | 
            -
              return writer.getResultBuffer();
         | 
| 641 | 
            -
            };
         | 
| 642 | 
            -
             | 
| 643 | 
            -
             | 
| 644 | 
            -
            /**
         | 
| 645 | 
            -
             * Serializes the given message to binary data (in protobuf wire
         | 
| 646 | 
            -
             * format), writing to the given BinaryWriter.
         | 
| 647 | 
            -
             * @param {!proto.gitpod.v1.GetRunningPrebuildRequest} message
         | 
| 648 | 
            -
             * @param {!jspb.BinaryWriter} writer
         | 
| 649 | 
            -
             * @suppress {unusedLocalVariables} f is only used for nested messages
         | 
| 650 | 
            -
             */
         | 
| 651 | 
            -
            proto.gitpod.v1.GetRunningPrebuildRequest.serializeBinaryToWriter = function(message, writer) {
         | 
| 652 | 
            -
              var f = undefined;
         | 
| 653 | 
            -
              f = message.getContextUrl();
         | 
| 654 | 
            -
              if (f.length > 0) {
         | 
| 655 | 
            -
                writer.writeString(
         | 
| 656 | 
            -
                  1,
         | 
| 657 | 
            -
                  f
         | 
| 658 | 
            -
                );
         | 
| 659 | 
            -
              }
         | 
| 660 | 
            -
            };
         | 
| 661 | 
            -
             | 
| 662 | 
            -
             | 
| 663 | 
            -
            /**
         | 
| 664 | 
            -
             * optional string context_url = 1;
         | 
| 665 | 
            -
             * @return {string}
         | 
| 666 | 
            -
             */
         | 
| 667 | 
            -
            proto.gitpod.v1.GetRunningPrebuildRequest.prototype.getContextUrl = function() {
         | 
| 668 | 
            -
              return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
         | 
| 669 | 
            -
            };
         | 
| 670 | 
            -
             | 
| 671 | 
            -
             | 
| 672 | 
            -
            /**
         | 
| 673 | 
            -
             * @param {string} value
         | 
| 674 | 
            -
             * @return {!proto.gitpod.v1.GetRunningPrebuildRequest} returns this
         | 
| 675 | 
            -
             */
         | 
| 676 | 
            -
            proto.gitpod.v1.GetRunningPrebuildRequest.prototype.setContextUrl = function(value) {
         | 
| 677 | 
            -
              return jspb.Message.setProto3StringField(this, 1, value);
         | 
| 678 | 
            -
            };
         | 
| 679 | 
            -
             | 
| 680 | 
            -
             | 
| 681 | 
            -
             | 
| 682 | 
            -
             | 
| 683 | 
            -
             | 
| 684 | 
            -
            if (jspb.Message.GENERATE_TO_OBJECT) {
         | 
| 685 | 
            -
            /**
         | 
| 686 | 
            -
             * Creates an object representation of this proto.
         | 
| 687 | 
            -
             * Field names that are reserved in JavaScript and will be renamed to pb_name.
         | 
| 688 | 
            -
             * Optional fields that are not set will be set to undefined.
         | 
| 689 | 
            -
             * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
         | 
| 690 | 
            -
             * For the list of reserved names please see:
         | 
| 691 | 
            -
             *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
         | 
| 692 | 
            -
             * @param {boolean=} opt_includeInstance Deprecated. whether to include the
         | 
| 693 | 
            -
             *     JSPB instance for transitional soy proto support:
         | 
| 694 | 
            -
             *     http://goto/soy-param-migration
         | 
| 695 | 
            -
             * @return {!Object}
         | 
| 696 | 
            -
             */
         | 
| 697 | 
            -
            proto.gitpod.v1.GetRunningPrebuildResponse.prototype.toObject = function(opt_includeInstance) {
         | 
| 698 | 
            -
              return proto.gitpod.v1.GetRunningPrebuildResponse.toObject(opt_includeInstance, this);
         | 
| 699 | 
            -
            };
         | 
| 700 | 
            -
             | 
| 701 | 
            -
             | 
| 702 | 
            -
            /**
         | 
| 703 | 
            -
             * Static version of the {@see toObject} method.
         | 
| 704 | 
            -
             * @param {boolean|undefined} includeInstance Deprecated. Whether to include
         | 
| 705 | 
            -
             *     the JSPB instance for transitional soy proto support:
         | 
| 706 | 
            -
             *     http://goto/soy-param-migration
         | 
| 707 | 
            -
             * @param {!proto.gitpod.v1.GetRunningPrebuildResponse} msg The msg instance to transform.
         | 
| 708 | 
            -
             * @return {!Object}
         | 
| 709 | 
            -
             * @suppress {unusedLocalVariables} f is only used for nested messages
         | 
| 710 | 
            -
             */
         | 
| 711 | 
            -
            proto.gitpod.v1.GetRunningPrebuildResponse.toObject = function(includeInstance, msg) {
         | 
| 712 | 
            -
              var f, obj = {
         | 
| 713 | 
            -
                prebuild: (f = msg.getPrebuild()) && proto.gitpod.v1.Prebuild.toObject(includeInstance, f)
         | 
| 714 | 
            -
              };
         | 
| 715 | 
            -
             | 
| 716 | 
            -
              if (includeInstance) {
         | 
| 717 | 
            -
                obj.$jspbMessageInstance = msg;
         | 
| 718 | 
            -
              }
         | 
| 719 | 
            -
              return obj;
         | 
| 720 | 
            -
            };
         | 
| 721 93 | 
             
            }
         | 
| 722 | 
            -
             | 
| 723 | 
            -
             | 
| 724 | 
            -
             | 
| 725 | 
            -
              | 
| 726 | 
            -
              | 
| 727 | 
            -
             | 
| 728 | 
            -
             | 
| 729 | 
            -
             | 
| 730 | 
            -
             | 
| 731 | 
            -
             | 
| 732 | 
            -
             | 
| 733 | 
            -
             | 
| 734 | 
            -
             | 
| 735 | 
            -
             | 
| 736 | 
            -
            /**
         | 
| 737 | 
            -
             * Deserializes binary data (in protobuf wire format) from the
         | 
| 738 | 
            -
             * given reader into the given message object.
         | 
| 739 | 
            -
             * @param {!proto.gitpod.v1.GetRunningPrebuildResponse} msg The message object to deserialize into.
         | 
| 740 | 
            -
             * @param {!jspb.BinaryReader} reader The BinaryReader to use.
         | 
| 741 | 
            -
             * @return {!proto.gitpod.v1.GetRunningPrebuildResponse}
         | 
| 742 | 
            -
             */
         | 
| 743 | 
            -
            proto.gitpod.v1.GetRunningPrebuildResponse.deserializeBinaryFromReader = function(msg, reader) {
         | 
| 744 | 
            -
              while (reader.nextField()) {
         | 
| 745 | 
            -
                if (reader.isEndGroup()) {
         | 
| 746 | 
            -
                  break;
         | 
| 94 | 
            +
            exports.GetRunningPrebuildRequest = GetRunningPrebuildRequest;
         | 
| 95 | 
            +
            GetRunningPrebuildRequest.runtime = protobuf_1.proto3;
         | 
| 96 | 
            +
            GetRunningPrebuildRequest.typeName = "gitpod.v1.GetRunningPrebuildRequest";
         | 
| 97 | 
            +
            GetRunningPrebuildRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
         | 
| 98 | 
            +
                { no: 1, name: "context_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
         | 
| 99 | 
            +
            ]);
         | 
| 100 | 
            +
            /**
         | 
| 101 | 
            +
             * @generated from message gitpod.v1.GetRunningPrebuildResponse
         | 
| 102 | 
            +
             */
         | 
| 103 | 
            +
            class GetRunningPrebuildResponse extends protobuf_1.Message {
         | 
| 104 | 
            +
                constructor(data) {
         | 
| 105 | 
            +
                    super();
         | 
| 106 | 
            +
                    protobuf_1.proto3.util.initPartial(data, this);
         | 
| 747 107 | 
             
                }
         | 
| 748 | 
            -
                 | 
| 749 | 
            -
             | 
| 750 | 
            -
                 | 
| 751 | 
            -
             | 
| 752 | 
            -
             | 
| 753 | 
            -
             | 
| 754 | 
            -
             | 
| 755 | 
            -
             | 
| 756 | 
            -
             | 
| 757 | 
            -
             | 
| 108 | 
            +
                static fromBinary(bytes, options) {
         | 
| 109 | 
            +
                    return new GetRunningPrebuildResponse().fromBinary(bytes, options);
         | 
| 110 | 
            +
                }
         | 
| 111 | 
            +
                static fromJson(jsonValue, options) {
         | 
| 112 | 
            +
                    return new GetRunningPrebuildResponse().fromJson(jsonValue, options);
         | 
| 113 | 
            +
                }
         | 
| 114 | 
            +
                static fromJsonString(jsonString, options) {
         | 
| 115 | 
            +
                    return new GetRunningPrebuildResponse().fromJsonString(jsonString, options);
         | 
| 116 | 
            +
                }
         | 
| 117 | 
            +
                static equals(a, b) {
         | 
| 118 | 
            +
                    return protobuf_1.proto3.util.equals(GetRunningPrebuildResponse, a, b);
         | 
| 758 119 | 
             
                }
         | 
| 759 | 
            -
              }
         | 
| 760 | 
            -
              return msg;
         | 
| 761 | 
            -
            };
         | 
| 762 | 
            -
             | 
| 763 | 
            -
             | 
| 764 | 
            -
            /**
         | 
| 765 | 
            -
             * Serializes the message to binary data (in protobuf wire format).
         | 
| 766 | 
            -
             * @return {!Uint8Array}
         | 
| 767 | 
            -
             */
         | 
| 768 | 
            -
            proto.gitpod.v1.GetRunningPrebuildResponse.prototype.serializeBinary = function() {
         | 
| 769 | 
            -
              var writer = new jspb.BinaryWriter();
         | 
| 770 | 
            -
              proto.gitpod.v1.GetRunningPrebuildResponse.serializeBinaryToWriter(this, writer);
         | 
| 771 | 
            -
              return writer.getResultBuffer();
         | 
| 772 | 
            -
            };
         | 
| 773 | 
            -
             | 
| 774 | 
            -
             | 
| 775 | 
            -
            /**
         | 
| 776 | 
            -
             * Serializes the given message to binary data (in protobuf wire
         | 
| 777 | 
            -
             * format), writing to the given BinaryWriter.
         | 
| 778 | 
            -
             * @param {!proto.gitpod.v1.GetRunningPrebuildResponse} message
         | 
| 779 | 
            -
             * @param {!jspb.BinaryWriter} writer
         | 
| 780 | 
            -
             * @suppress {unusedLocalVariables} f is only used for nested messages
         | 
| 781 | 
            -
             */
         | 
| 782 | 
            -
            proto.gitpod.v1.GetRunningPrebuildResponse.serializeBinaryToWriter = function(message, writer) {
         | 
| 783 | 
            -
              var f = undefined;
         | 
| 784 | 
            -
              f = message.getPrebuild();
         | 
| 785 | 
            -
              if (f != null) {
         | 
| 786 | 
            -
                writer.writeMessage(
         | 
| 787 | 
            -
                  1,
         | 
| 788 | 
            -
                  f,
         | 
| 789 | 
            -
                  proto.gitpod.v1.Prebuild.serializeBinaryToWriter
         | 
| 790 | 
            -
                );
         | 
| 791 | 
            -
              }
         | 
| 792 | 
            -
            };
         | 
| 793 | 
            -
             | 
| 794 | 
            -
             | 
| 795 | 
            -
            /**
         | 
| 796 | 
            -
             * optional Prebuild prebuild = 1;
         | 
| 797 | 
            -
             * @return {?proto.gitpod.v1.Prebuild}
         | 
| 798 | 
            -
             */
         | 
| 799 | 
            -
            proto.gitpod.v1.GetRunningPrebuildResponse.prototype.getPrebuild = function() {
         | 
| 800 | 
            -
              return /** @type{?proto.gitpod.v1.Prebuild} */ (
         | 
| 801 | 
            -
                jspb.Message.getWrapperField(this, proto.gitpod.v1.Prebuild, 1));
         | 
| 802 | 
            -
            };
         | 
| 803 | 
            -
             | 
| 804 | 
            -
             | 
| 805 | 
            -
            /**
         | 
| 806 | 
            -
             * @param {?proto.gitpod.v1.Prebuild|undefined} value
         | 
| 807 | 
            -
             * @return {!proto.gitpod.v1.GetRunningPrebuildResponse} returns this
         | 
| 808 | 
            -
            */
         | 
| 809 | 
            -
            proto.gitpod.v1.GetRunningPrebuildResponse.prototype.setPrebuild = function(value) {
         | 
| 810 | 
            -
              return jspb.Message.setWrapperField(this, 1, value);
         | 
| 811 | 
            -
            };
         | 
| 812 | 
            -
             | 
| 813 | 
            -
             | 
| 814 | 
            -
            /**
         | 
| 815 | 
            -
             * Clears the message field making it undefined.
         | 
| 816 | 
            -
             * @return {!proto.gitpod.v1.GetRunningPrebuildResponse} returns this
         | 
| 817 | 
            -
             */
         | 
| 818 | 
            -
            proto.gitpod.v1.GetRunningPrebuildResponse.prototype.clearPrebuild = function() {
         | 
| 819 | 
            -
              return this.setPrebuild(undefined);
         | 
| 820 | 
            -
            };
         | 
| 821 | 
            -
             | 
| 822 | 
            -
             | 
| 823 | 
            -
            /**
         | 
| 824 | 
            -
             * Returns whether this field is set.
         | 
| 825 | 
            -
             * @return {boolean}
         | 
| 826 | 
            -
             */
         | 
| 827 | 
            -
            proto.gitpod.v1.GetRunningPrebuildResponse.prototype.hasPrebuild = function() {
         | 
| 828 | 
            -
              return jspb.Message.getField(this, 1) != null;
         | 
| 829 | 
            -
            };
         | 
| 830 | 
            -
             | 
| 831 | 
            -
             | 
| 832 | 
            -
             | 
| 833 | 
            -
             | 
| 834 | 
            -
             | 
| 835 | 
            -
            if (jspb.Message.GENERATE_TO_OBJECT) {
         | 
| 836 | 
            -
            /**
         | 
| 837 | 
            -
             * Creates an object representation of this proto.
         | 
| 838 | 
            -
             * Field names that are reserved in JavaScript and will be renamed to pb_name.
         | 
| 839 | 
            -
             * Optional fields that are not set will be set to undefined.
         | 
| 840 | 
            -
             * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
         | 
| 841 | 
            -
             * For the list of reserved names please see:
         | 
| 842 | 
            -
             *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
         | 
| 843 | 
            -
             * @param {boolean=} opt_includeInstance Deprecated. whether to include the
         | 
| 844 | 
            -
             *     JSPB instance for transitional soy proto support:
         | 
| 845 | 
            -
             *     http://goto/soy-param-migration
         | 
| 846 | 
            -
             * @return {!Object}
         | 
| 847 | 
            -
             */
         | 
| 848 | 
            -
            proto.gitpod.v1.ListenToPrebuildStatusRequest.prototype.toObject = function(opt_includeInstance) {
         | 
| 849 | 
            -
              return proto.gitpod.v1.ListenToPrebuildStatusRequest.toObject(opt_includeInstance, this);
         | 
| 850 | 
            -
            };
         | 
| 851 | 
            -
             | 
| 852 | 
            -
             | 
| 853 | 
            -
            /**
         | 
| 854 | 
            -
             * Static version of the {@see toObject} method.
         | 
| 855 | 
            -
             * @param {boolean|undefined} includeInstance Deprecated. Whether to include
         | 
| 856 | 
            -
             *     the JSPB instance for transitional soy proto support:
         | 
| 857 | 
            -
             *     http://goto/soy-param-migration
         | 
| 858 | 
            -
             * @param {!proto.gitpod.v1.ListenToPrebuildStatusRequest} msg The msg instance to transform.
         | 
| 859 | 
            -
             * @return {!Object}
         | 
| 860 | 
            -
             * @suppress {unusedLocalVariables} f is only used for nested messages
         | 
| 861 | 
            -
             */
         | 
| 862 | 
            -
            proto.gitpod.v1.ListenToPrebuildStatusRequest.toObject = function(includeInstance, msg) {
         | 
| 863 | 
            -
              var f, obj = {
         | 
| 864 | 
            -
                prebuildId: jspb.Message.getFieldWithDefault(msg, 1, "")
         | 
| 865 | 
            -
              };
         | 
| 866 | 
            -
             | 
| 867 | 
            -
              if (includeInstance) {
         | 
| 868 | 
            -
                obj.$jspbMessageInstance = msg;
         | 
| 869 | 
            -
              }
         | 
| 870 | 
            -
              return obj;
         | 
| 871 | 
            -
            };
         | 
| 872 120 | 
             
            }
         | 
| 873 | 
            -
             | 
| 874 | 
            -
             | 
| 875 | 
            -
             | 
| 876 | 
            -
              | 
| 877 | 
            -
              | 
| 878 | 
            -
             | 
| 879 | 
            -
             | 
| 880 | 
            -
             | 
| 881 | 
            -
             | 
| 882 | 
            -
             | 
| 883 | 
            -
             | 
| 884 | 
            -
             | 
| 885 | 
            -
             | 
| 886 | 
            -
             | 
| 887 | 
            -
             | 
| 888 | 
            -
              | 
| 889 | 
            -
              | 
| 890 | 
            -
             * @param {!proto.gitpod.v1.ListenToPrebuildStatusRequest} msg The message object to deserialize into.
         | 
| 891 | 
            -
             * @param {!jspb.BinaryReader} reader The BinaryReader to use.
         | 
| 892 | 
            -
             * @return {!proto.gitpod.v1.ListenToPrebuildStatusRequest}
         | 
| 893 | 
            -
             */
         | 
| 894 | 
            -
            proto.gitpod.v1.ListenToPrebuildStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
         | 
| 895 | 
            -
              while (reader.nextField()) {
         | 
| 896 | 
            -
                if (reader.isEndGroup()) {
         | 
| 897 | 
            -
                  break;
         | 
| 121 | 
            +
            exports.GetRunningPrebuildResponse = GetRunningPrebuildResponse;
         | 
| 122 | 
            +
            GetRunningPrebuildResponse.runtime = protobuf_1.proto3;
         | 
| 123 | 
            +
            GetRunningPrebuildResponse.typeName = "gitpod.v1.GetRunningPrebuildResponse";
         | 
| 124 | 
            +
            GetRunningPrebuildResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
         | 
| 125 | 
            +
                { no: 1, name: "prebuild", kind: "message", T: Prebuild },
         | 
| 126 | 
            +
            ]);
         | 
| 127 | 
            +
            /**
         | 
| 128 | 
            +
             * @generated from message gitpod.v1.ListenToPrebuildStatusRequest
         | 
| 129 | 
            +
             */
         | 
| 130 | 
            +
            class ListenToPrebuildStatusRequest extends protobuf_1.Message {
         | 
| 131 | 
            +
                constructor(data) {
         | 
| 132 | 
            +
                    super();
         | 
| 133 | 
            +
                    /**
         | 
| 134 | 
            +
                     * @generated from field: string prebuild_id = 1;
         | 
| 135 | 
            +
                     */
         | 
| 136 | 
            +
                    this.prebuildId = "";
         | 
| 137 | 
            +
                    protobuf_1.proto3.util.initPartial(data, this);
         | 
| 898 138 | 
             
                }
         | 
| 899 | 
            -
                 | 
| 900 | 
            -
             | 
| 901 | 
            -
                 | 
| 902 | 
            -
             | 
| 903 | 
            -
             | 
| 904 | 
            -
             | 
| 905 | 
            -
                 | 
| 906 | 
            -
             | 
| 907 | 
            -
             | 
| 139 | 
            +
                static fromBinary(bytes, options) {
         | 
| 140 | 
            +
                    return new ListenToPrebuildStatusRequest().fromBinary(bytes, options);
         | 
| 141 | 
            +
                }
         | 
| 142 | 
            +
                static fromJson(jsonValue, options) {
         | 
| 143 | 
            +
                    return new ListenToPrebuildStatusRequest().fromJson(jsonValue, options);
         | 
| 144 | 
            +
                }
         | 
| 145 | 
            +
                static fromJsonString(jsonString, options) {
         | 
| 146 | 
            +
                    return new ListenToPrebuildStatusRequest().fromJsonString(jsonString, options);
         | 
| 147 | 
            +
                }
         | 
| 148 | 
            +
                static equals(a, b) {
         | 
| 149 | 
            +
                    return protobuf_1.proto3.util.equals(ListenToPrebuildStatusRequest, a, b);
         | 
| 908 150 | 
             
                }
         | 
| 909 | 
            -
              }
         | 
| 910 | 
            -
              return msg;
         | 
| 911 | 
            -
            };
         | 
| 912 | 
            -
             | 
| 913 | 
            -
             | 
| 914 | 
            -
            /**
         | 
| 915 | 
            -
             * Serializes the message to binary data (in protobuf wire format).
         | 
| 916 | 
            -
             * @return {!Uint8Array}
         | 
| 917 | 
            -
             */
         | 
| 918 | 
            -
            proto.gitpod.v1.ListenToPrebuildStatusRequest.prototype.serializeBinary = function() {
         | 
| 919 | 
            -
              var writer = new jspb.BinaryWriter();
         | 
| 920 | 
            -
              proto.gitpod.v1.ListenToPrebuildStatusRequest.serializeBinaryToWriter(this, writer);
         | 
| 921 | 
            -
              return writer.getResultBuffer();
         | 
| 922 | 
            -
            };
         | 
| 923 | 
            -
             | 
| 924 | 
            -
             | 
| 925 | 
            -
            /**
         | 
| 926 | 
            -
             * Serializes the given message to binary data (in protobuf wire
         | 
| 927 | 
            -
             * format), writing to the given BinaryWriter.
         | 
| 928 | 
            -
             * @param {!proto.gitpod.v1.ListenToPrebuildStatusRequest} message
         | 
| 929 | 
            -
             * @param {!jspb.BinaryWriter} writer
         | 
| 930 | 
            -
             * @suppress {unusedLocalVariables} f is only used for nested messages
         | 
| 931 | 
            -
             */
         | 
| 932 | 
            -
            proto.gitpod.v1.ListenToPrebuildStatusRequest.serializeBinaryToWriter = function(message, writer) {
         | 
| 933 | 
            -
              var f = undefined;
         | 
| 934 | 
            -
              f = message.getPrebuildId();
         | 
| 935 | 
            -
              if (f.length > 0) {
         | 
| 936 | 
            -
                writer.writeString(
         | 
| 937 | 
            -
                  1,
         | 
| 938 | 
            -
                  f
         | 
| 939 | 
            -
                );
         | 
| 940 | 
            -
              }
         | 
| 941 | 
            -
            };
         | 
| 942 | 
            -
             | 
| 943 | 
            -
             | 
| 944 | 
            -
            /**
         | 
| 945 | 
            -
             * optional string prebuild_id = 1;
         | 
| 946 | 
            -
             * @return {string}
         | 
| 947 | 
            -
             */
         | 
| 948 | 
            -
            proto.gitpod.v1.ListenToPrebuildStatusRequest.prototype.getPrebuildId = function() {
         | 
| 949 | 
            -
              return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
         | 
| 950 | 
            -
            };
         | 
| 951 | 
            -
             | 
| 952 | 
            -
             | 
| 953 | 
            -
            /**
         | 
| 954 | 
            -
             * @param {string} value
         | 
| 955 | 
            -
             * @return {!proto.gitpod.v1.ListenToPrebuildStatusRequest} returns this
         | 
| 956 | 
            -
             */
         | 
| 957 | 
            -
            proto.gitpod.v1.ListenToPrebuildStatusRequest.prototype.setPrebuildId = function(value) {
         | 
| 958 | 
            -
              return jspb.Message.setProto3StringField(this, 1, value);
         | 
| 959 | 
            -
            };
         | 
| 960 | 
            -
             | 
| 961 | 
            -
             | 
| 962 | 
            -
             | 
| 963 | 
            -
             | 
| 964 | 
            -
             | 
| 965 | 
            -
            if (jspb.Message.GENERATE_TO_OBJECT) {
         | 
| 966 | 
            -
            /**
         | 
| 967 | 
            -
             * Creates an object representation of this proto.
         | 
| 968 | 
            -
             * Field names that are reserved in JavaScript and will be renamed to pb_name.
         | 
| 969 | 
            -
             * Optional fields that are not set will be set to undefined.
         | 
| 970 | 
            -
             * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
         | 
| 971 | 
            -
             * For the list of reserved names please see:
         | 
| 972 | 
            -
             *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
         | 
| 973 | 
            -
             * @param {boolean=} opt_includeInstance Deprecated. whether to include the
         | 
| 974 | 
            -
             *     JSPB instance for transitional soy proto support:
         | 
| 975 | 
            -
             *     http://goto/soy-param-migration
         | 
| 976 | 
            -
             * @return {!Object}
         | 
| 977 | 
            -
             */
         | 
| 978 | 
            -
            proto.gitpod.v1.ListenToPrebuildStatusResponse.prototype.toObject = function(opt_includeInstance) {
         | 
| 979 | 
            -
              return proto.gitpod.v1.ListenToPrebuildStatusResponse.toObject(opt_includeInstance, this);
         | 
| 980 | 
            -
            };
         | 
| 981 | 
            -
             | 
| 982 | 
            -
             | 
| 983 | 
            -
            /**
         | 
| 984 | 
            -
             * Static version of the {@see toObject} method.
         | 
| 985 | 
            -
             * @param {boolean|undefined} includeInstance Deprecated. Whether to include
         | 
| 986 | 
            -
             *     the JSPB instance for transitional soy proto support:
         | 
| 987 | 
            -
             *     http://goto/soy-param-migration
         | 
| 988 | 
            -
             * @param {!proto.gitpod.v1.ListenToPrebuildStatusResponse} msg The msg instance to transform.
         | 
| 989 | 
            -
             * @return {!Object}
         | 
| 990 | 
            -
             * @suppress {unusedLocalVariables} f is only used for nested messages
         | 
| 991 | 
            -
             */
         | 
| 992 | 
            -
            proto.gitpod.v1.ListenToPrebuildStatusResponse.toObject = function(includeInstance, msg) {
         | 
| 993 | 
            -
              var f, obj = {
         | 
| 994 | 
            -
                status: (f = msg.getStatus()) && proto.gitpod.v1.PrebuildStatus.toObject(includeInstance, f)
         | 
| 995 | 
            -
              };
         | 
| 996 | 
            -
             | 
| 997 | 
            -
              if (includeInstance) {
         | 
| 998 | 
            -
                obj.$jspbMessageInstance = msg;
         | 
| 999 | 
            -
              }
         | 
| 1000 | 
            -
              return obj;
         | 
| 1001 | 
            -
            };
         | 
| 1002 151 | 
             
            }
         | 
| 1003 | 
            -
             | 
| 1004 | 
            -
             | 
| 1005 | 
            -
             | 
| 1006 | 
            -
              | 
| 1007 | 
            -
              | 
| 1008 | 
            -
             | 
| 1009 | 
            -
             | 
| 1010 | 
            -
             | 
| 1011 | 
            -
             | 
| 1012 | 
            -
             | 
| 1013 | 
            -
             | 
| 1014 | 
            -
             | 
| 1015 | 
            -
             | 
| 1016 | 
            -
             | 
| 1017 | 
            -
            /**
         | 
| 1018 | 
            -
             * Deserializes binary data (in protobuf wire format) from the
         | 
| 1019 | 
            -
             * given reader into the given message object.
         | 
| 1020 | 
            -
             * @param {!proto.gitpod.v1.ListenToPrebuildStatusResponse} msg The message object to deserialize into.
         | 
| 1021 | 
            -
             * @param {!jspb.BinaryReader} reader The BinaryReader to use.
         | 
| 1022 | 
            -
             * @return {!proto.gitpod.v1.ListenToPrebuildStatusResponse}
         | 
| 1023 | 
            -
             */
         | 
| 1024 | 
            -
            proto.gitpod.v1.ListenToPrebuildStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
         | 
| 1025 | 
            -
              while (reader.nextField()) {
         | 
| 1026 | 
            -
                if (reader.isEndGroup()) {
         | 
| 1027 | 
            -
                  break;
         | 
| 152 | 
            +
            exports.ListenToPrebuildStatusRequest = ListenToPrebuildStatusRequest;
         | 
| 153 | 
            +
            ListenToPrebuildStatusRequest.runtime = protobuf_1.proto3;
         | 
| 154 | 
            +
            ListenToPrebuildStatusRequest.typeName = "gitpod.v1.ListenToPrebuildStatusRequest";
         | 
| 155 | 
            +
            ListenToPrebuildStatusRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
         | 
| 156 | 
            +
                { no: 1, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
         | 
| 157 | 
            +
            ]);
         | 
| 158 | 
            +
            /**
         | 
| 159 | 
            +
             * @generated from message gitpod.v1.ListenToPrebuildStatusResponse
         | 
| 160 | 
            +
             */
         | 
| 161 | 
            +
            class ListenToPrebuildStatusResponse extends protobuf_1.Message {
         | 
| 162 | 
            +
                constructor(data) {
         | 
| 163 | 
            +
                    super();
         | 
| 164 | 
            +
                    protobuf_1.proto3.util.initPartial(data, this);
         | 
| 1028 165 | 
             
                }
         | 
| 1029 | 
            -
                 | 
| 1030 | 
            -
             | 
| 1031 | 
            -
                 | 
| 1032 | 
            -
             | 
| 1033 | 
            -
             | 
| 1034 | 
            -
             | 
| 1035 | 
            -
             | 
| 1036 | 
            -
             | 
| 1037 | 
            -
             | 
| 1038 | 
            -
             | 
| 166 | 
            +
                static fromBinary(bytes, options) {
         | 
| 167 | 
            +
                    return new ListenToPrebuildStatusResponse().fromBinary(bytes, options);
         | 
| 168 | 
            +
                }
         | 
| 169 | 
            +
                static fromJson(jsonValue, options) {
         | 
| 170 | 
            +
                    return new ListenToPrebuildStatusResponse().fromJson(jsonValue, options);
         | 
| 171 | 
            +
                }
         | 
| 172 | 
            +
                static fromJsonString(jsonString, options) {
         | 
| 173 | 
            +
                    return new ListenToPrebuildStatusResponse().fromJsonString(jsonString, options);
         | 
| 174 | 
            +
                }
         | 
| 175 | 
            +
                static equals(a, b) {
         | 
| 176 | 
            +
                    return protobuf_1.proto3.util.equals(ListenToPrebuildStatusResponse, a, b);
         | 
| 1039 177 | 
             
                }
         | 
| 1040 | 
            -
              }
         | 
| 1041 | 
            -
              return msg;
         | 
| 1042 | 
            -
            };
         | 
| 1043 | 
            -
             | 
| 1044 | 
            -
             | 
| 1045 | 
            -
            /**
         | 
| 1046 | 
            -
             * Serializes the message to binary data (in protobuf wire format).
         | 
| 1047 | 
            -
             * @return {!Uint8Array}
         | 
| 1048 | 
            -
             */
         | 
| 1049 | 
            -
            proto.gitpod.v1.ListenToPrebuildStatusResponse.prototype.serializeBinary = function() {
         | 
| 1050 | 
            -
              var writer = new jspb.BinaryWriter();
         | 
| 1051 | 
            -
              proto.gitpod.v1.ListenToPrebuildStatusResponse.serializeBinaryToWriter(this, writer);
         | 
| 1052 | 
            -
              return writer.getResultBuffer();
         | 
| 1053 | 
            -
            };
         | 
| 1054 | 
            -
             | 
| 1055 | 
            -
             | 
| 1056 | 
            -
            /**
         | 
| 1057 | 
            -
             * Serializes the given message to binary data (in protobuf wire
         | 
| 1058 | 
            -
             * format), writing to the given BinaryWriter.
         | 
| 1059 | 
            -
             * @param {!proto.gitpod.v1.ListenToPrebuildStatusResponse} message
         | 
| 1060 | 
            -
             * @param {!jspb.BinaryWriter} writer
         | 
| 1061 | 
            -
             * @suppress {unusedLocalVariables} f is only used for nested messages
         | 
| 1062 | 
            -
             */
         | 
| 1063 | 
            -
            proto.gitpod.v1.ListenToPrebuildStatusResponse.serializeBinaryToWriter = function(message, writer) {
         | 
| 1064 | 
            -
              var f = undefined;
         | 
| 1065 | 
            -
              f = message.getStatus();
         | 
| 1066 | 
            -
              if (f != null) {
         | 
| 1067 | 
            -
                writer.writeMessage(
         | 
| 1068 | 
            -
                  1,
         | 
| 1069 | 
            -
                  f,
         | 
| 1070 | 
            -
                  proto.gitpod.v1.PrebuildStatus.serializeBinaryToWriter
         | 
| 1071 | 
            -
                );
         | 
| 1072 | 
            -
              }
         | 
| 1073 | 
            -
            };
         | 
| 1074 | 
            -
             | 
| 1075 | 
            -
             | 
| 1076 | 
            -
            /**
         | 
| 1077 | 
            -
             * optional PrebuildStatus status = 1;
         | 
| 1078 | 
            -
             * @return {?proto.gitpod.v1.PrebuildStatus}
         | 
| 1079 | 
            -
             */
         | 
| 1080 | 
            -
            proto.gitpod.v1.ListenToPrebuildStatusResponse.prototype.getStatus = function() {
         | 
| 1081 | 
            -
              return /** @type{?proto.gitpod.v1.PrebuildStatus} */ (
         | 
| 1082 | 
            -
                jspb.Message.getWrapperField(this, proto.gitpod.v1.PrebuildStatus, 1));
         | 
| 1083 | 
            -
            };
         | 
| 1084 | 
            -
             | 
| 1085 | 
            -
             | 
| 1086 | 
            -
            /**
         | 
| 1087 | 
            -
             * @param {?proto.gitpod.v1.PrebuildStatus|undefined} value
         | 
| 1088 | 
            -
             * @return {!proto.gitpod.v1.ListenToPrebuildStatusResponse} returns this
         | 
| 1089 | 
            -
            */
         | 
| 1090 | 
            -
            proto.gitpod.v1.ListenToPrebuildStatusResponse.prototype.setStatus = function(value) {
         | 
| 1091 | 
            -
              return jspb.Message.setWrapperField(this, 1, value);
         | 
| 1092 | 
            -
            };
         | 
| 1093 | 
            -
             | 
| 1094 | 
            -
             | 
| 1095 | 
            -
            /**
         | 
| 1096 | 
            -
             * Clears the message field making it undefined.
         | 
| 1097 | 
            -
             * @return {!proto.gitpod.v1.ListenToPrebuildStatusResponse} returns this
         | 
| 1098 | 
            -
             */
         | 
| 1099 | 
            -
            proto.gitpod.v1.ListenToPrebuildStatusResponse.prototype.clearStatus = function() {
         | 
| 1100 | 
            -
              return this.setStatus(undefined);
         | 
| 1101 | 
            -
            };
         | 
| 1102 | 
            -
             | 
| 1103 | 
            -
             | 
| 1104 | 
            -
            /**
         | 
| 1105 | 
            -
             * Returns whether this field is set.
         | 
| 1106 | 
            -
             * @return {boolean}
         | 
| 1107 | 
            -
             */
         | 
| 1108 | 
            -
            proto.gitpod.v1.ListenToPrebuildStatusResponse.prototype.hasStatus = function() {
         | 
| 1109 | 
            -
              return jspb.Message.getField(this, 1) != null;
         | 
| 1110 | 
            -
            };
         | 
| 1111 | 
            -
             | 
| 1112 | 
            -
             | 
| 1113 | 
            -
             | 
| 1114 | 
            -
             | 
| 1115 | 
            -
             | 
| 1116 | 
            -
            if (jspb.Message.GENERATE_TO_OBJECT) {
         | 
| 1117 | 
            -
            /**
         | 
| 1118 | 
            -
             * Creates an object representation of this proto.
         | 
| 1119 | 
            -
             * Field names that are reserved in JavaScript and will be renamed to pb_name.
         | 
| 1120 | 
            -
             * Optional fields that are not set will be set to undefined.
         | 
| 1121 | 
            -
             * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
         | 
| 1122 | 
            -
             * For the list of reserved names please see:
         | 
| 1123 | 
            -
             *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
         | 
| 1124 | 
            -
             * @param {boolean=} opt_includeInstance Deprecated. whether to include the
         | 
| 1125 | 
            -
             *     JSPB instance for transitional soy proto support:
         | 
| 1126 | 
            -
             *     http://goto/soy-param-migration
         | 
| 1127 | 
            -
             * @return {!Object}
         | 
| 1128 | 
            -
             */
         | 
| 1129 | 
            -
            proto.gitpod.v1.ListenToPrebuildLogsRequest.prototype.toObject = function(opt_includeInstance) {
         | 
| 1130 | 
            -
              return proto.gitpod.v1.ListenToPrebuildLogsRequest.toObject(opt_includeInstance, this);
         | 
| 1131 | 
            -
            };
         | 
| 1132 | 
            -
             | 
| 1133 | 
            -
             | 
| 1134 | 
            -
            /**
         | 
| 1135 | 
            -
             * Static version of the {@see toObject} method.
         | 
| 1136 | 
            -
             * @param {boolean|undefined} includeInstance Deprecated. Whether to include
         | 
| 1137 | 
            -
             *     the JSPB instance for transitional soy proto support:
         | 
| 1138 | 
            -
             *     http://goto/soy-param-migration
         | 
| 1139 | 
            -
             * @param {!proto.gitpod.v1.ListenToPrebuildLogsRequest} msg The msg instance to transform.
         | 
| 1140 | 
            -
             * @return {!Object}
         | 
| 1141 | 
            -
             * @suppress {unusedLocalVariables} f is only used for nested messages
         | 
| 1142 | 
            -
             */
         | 
| 1143 | 
            -
            proto.gitpod.v1.ListenToPrebuildLogsRequest.toObject = function(includeInstance, msg) {
         | 
| 1144 | 
            -
              var f, obj = {
         | 
| 1145 | 
            -
                prebuildId: jspb.Message.getFieldWithDefault(msg, 1, "")
         | 
| 1146 | 
            -
              };
         | 
| 1147 | 
            -
             | 
| 1148 | 
            -
              if (includeInstance) {
         | 
| 1149 | 
            -
                obj.$jspbMessageInstance = msg;
         | 
| 1150 | 
            -
              }
         | 
| 1151 | 
            -
              return obj;
         | 
| 1152 | 
            -
            };
         | 
| 1153 178 | 
             
            }
         | 
| 1154 | 
            -
             | 
| 1155 | 
            -
             | 
| 1156 | 
            -
             | 
| 1157 | 
            -
              | 
| 1158 | 
            -
              | 
| 1159 | 
            -
             | 
| 1160 | 
            -
             | 
| 1161 | 
            -
             | 
| 1162 | 
            -
             | 
| 1163 | 
            -
             | 
| 1164 | 
            -
             | 
| 1165 | 
            -
             | 
| 1166 | 
            -
             | 
| 1167 | 
            -
             | 
| 1168 | 
            -
             | 
| 1169 | 
            -
              | 
| 1170 | 
            -
              | 
| 1171 | 
            -
             * @param {!proto.gitpod.v1.ListenToPrebuildLogsRequest} msg The message object to deserialize into.
         | 
| 1172 | 
            -
             * @param {!jspb.BinaryReader} reader The BinaryReader to use.
         | 
| 1173 | 
            -
             * @return {!proto.gitpod.v1.ListenToPrebuildLogsRequest}
         | 
| 1174 | 
            -
             */
         | 
| 1175 | 
            -
            proto.gitpod.v1.ListenToPrebuildLogsRequest.deserializeBinaryFromReader = function(msg, reader) {
         | 
| 1176 | 
            -
              while (reader.nextField()) {
         | 
| 1177 | 
            -
                if (reader.isEndGroup()) {
         | 
| 1178 | 
            -
                  break;
         | 
| 179 | 
            +
            exports.ListenToPrebuildStatusResponse = ListenToPrebuildStatusResponse;
         | 
| 180 | 
            +
            ListenToPrebuildStatusResponse.runtime = protobuf_1.proto3;
         | 
| 181 | 
            +
            ListenToPrebuildStatusResponse.typeName = "gitpod.v1.ListenToPrebuildStatusResponse";
         | 
| 182 | 
            +
            ListenToPrebuildStatusResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
         | 
| 183 | 
            +
                { no: 1, name: "status", kind: "message", T: PrebuildStatus },
         | 
| 184 | 
            +
            ]);
         | 
| 185 | 
            +
            /**
         | 
| 186 | 
            +
             * @generated from message gitpod.v1.ListenToPrebuildLogsRequest
         | 
| 187 | 
            +
             */
         | 
| 188 | 
            +
            class ListenToPrebuildLogsRequest extends protobuf_1.Message {
         | 
| 189 | 
            +
                constructor(data) {
         | 
| 190 | 
            +
                    super();
         | 
| 191 | 
            +
                    /**
         | 
| 192 | 
            +
                     * @generated from field: string prebuild_id = 1;
         | 
| 193 | 
            +
                     */
         | 
| 194 | 
            +
                    this.prebuildId = "";
         | 
| 195 | 
            +
                    protobuf_1.proto3.util.initPartial(data, this);
         | 
| 1179 196 | 
             
                }
         | 
| 1180 | 
            -
                 | 
| 1181 | 
            -
             | 
| 1182 | 
            -
                 | 
| 1183 | 
            -
             | 
| 1184 | 
            -
             | 
| 1185 | 
            -
             | 
| 1186 | 
            -
                 | 
| 1187 | 
            -
             | 
| 1188 | 
            -
             | 
| 197 | 
            +
                static fromBinary(bytes, options) {
         | 
| 198 | 
            +
                    return new ListenToPrebuildLogsRequest().fromBinary(bytes, options);
         | 
| 199 | 
            +
                }
         | 
| 200 | 
            +
                static fromJson(jsonValue, options) {
         | 
| 201 | 
            +
                    return new ListenToPrebuildLogsRequest().fromJson(jsonValue, options);
         | 
| 202 | 
            +
                }
         | 
| 203 | 
            +
                static fromJsonString(jsonString, options) {
         | 
| 204 | 
            +
                    return new ListenToPrebuildLogsRequest().fromJsonString(jsonString, options);
         | 
| 205 | 
            +
                }
         | 
| 206 | 
            +
                static equals(a, b) {
         | 
| 207 | 
            +
                    return protobuf_1.proto3.util.equals(ListenToPrebuildLogsRequest, a, b);
         | 
| 1189 208 | 
             
                }
         | 
| 1190 | 
            -
              }
         | 
| 1191 | 
            -
              return msg;
         | 
| 1192 | 
            -
            };
         | 
| 1193 | 
            -
             | 
| 1194 | 
            -
             | 
| 1195 | 
            -
            /**
         | 
| 1196 | 
            -
             * Serializes the message to binary data (in protobuf wire format).
         | 
| 1197 | 
            -
             * @return {!Uint8Array}
         | 
| 1198 | 
            -
             */
         | 
| 1199 | 
            -
            proto.gitpod.v1.ListenToPrebuildLogsRequest.prototype.serializeBinary = function() {
         | 
| 1200 | 
            -
              var writer = new jspb.BinaryWriter();
         | 
| 1201 | 
            -
              proto.gitpod.v1.ListenToPrebuildLogsRequest.serializeBinaryToWriter(this, writer);
         | 
| 1202 | 
            -
              return writer.getResultBuffer();
         | 
| 1203 | 
            -
            };
         | 
| 1204 | 
            -
             | 
| 1205 | 
            -
             | 
| 1206 | 
            -
            /**
         | 
| 1207 | 
            -
             * Serializes the given message to binary data (in protobuf wire
         | 
| 1208 | 
            -
             * format), writing to the given BinaryWriter.
         | 
| 1209 | 
            -
             * @param {!proto.gitpod.v1.ListenToPrebuildLogsRequest} message
         | 
| 1210 | 
            -
             * @param {!jspb.BinaryWriter} writer
         | 
| 1211 | 
            -
             * @suppress {unusedLocalVariables} f is only used for nested messages
         | 
| 1212 | 
            -
             */
         | 
| 1213 | 
            -
            proto.gitpod.v1.ListenToPrebuildLogsRequest.serializeBinaryToWriter = function(message, writer) {
         | 
| 1214 | 
            -
              var f = undefined;
         | 
| 1215 | 
            -
              f = message.getPrebuildId();
         | 
| 1216 | 
            -
              if (f.length > 0) {
         | 
| 1217 | 
            -
                writer.writeString(
         | 
| 1218 | 
            -
                  1,
         | 
| 1219 | 
            -
                  f
         | 
| 1220 | 
            -
                );
         | 
| 1221 | 
            -
              }
         | 
| 1222 | 
            -
            };
         | 
| 1223 | 
            -
             | 
| 1224 | 
            -
             | 
| 1225 | 
            -
            /**
         | 
| 1226 | 
            -
             * optional string prebuild_id = 1;
         | 
| 1227 | 
            -
             * @return {string}
         | 
| 1228 | 
            -
             */
         | 
| 1229 | 
            -
            proto.gitpod.v1.ListenToPrebuildLogsRequest.prototype.getPrebuildId = function() {
         | 
| 1230 | 
            -
              return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
         | 
| 1231 | 
            -
            };
         | 
| 1232 | 
            -
             | 
| 1233 | 
            -
             | 
| 1234 | 
            -
            /**
         | 
| 1235 | 
            -
             * @param {string} value
         | 
| 1236 | 
            -
             * @return {!proto.gitpod.v1.ListenToPrebuildLogsRequest} returns this
         | 
| 1237 | 
            -
             */
         | 
| 1238 | 
            -
            proto.gitpod.v1.ListenToPrebuildLogsRequest.prototype.setPrebuildId = function(value) {
         | 
| 1239 | 
            -
              return jspb.Message.setProto3StringField(this, 1, value);
         | 
| 1240 | 
            -
            };
         | 
| 1241 | 
            -
             | 
| 1242 | 
            -
             | 
| 1243 | 
            -
             | 
| 1244 | 
            -
             | 
| 1245 | 
            -
             | 
| 1246 | 
            -
            if (jspb.Message.GENERATE_TO_OBJECT) {
         | 
| 1247 | 
            -
            /**
         | 
| 1248 | 
            -
             * Creates an object representation of this proto.
         | 
| 1249 | 
            -
             * Field names that are reserved in JavaScript and will be renamed to pb_name.
         | 
| 1250 | 
            -
             * Optional fields that are not set will be set to undefined.
         | 
| 1251 | 
            -
             * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
         | 
| 1252 | 
            -
             * For the list of reserved names please see:
         | 
| 1253 | 
            -
             *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
         | 
| 1254 | 
            -
             * @param {boolean=} opt_includeInstance Deprecated. whether to include the
         | 
| 1255 | 
            -
             *     JSPB instance for transitional soy proto support:
         | 
| 1256 | 
            -
             *     http://goto/soy-param-migration
         | 
| 1257 | 
            -
             * @return {!Object}
         | 
| 1258 | 
            -
             */
         | 
| 1259 | 
            -
            proto.gitpod.v1.ListenToPrebuildLogsResponse.prototype.toObject = function(opt_includeInstance) {
         | 
| 1260 | 
            -
              return proto.gitpod.v1.ListenToPrebuildLogsResponse.toObject(opt_includeInstance, this);
         | 
| 1261 | 
            -
            };
         | 
| 1262 | 
            -
             | 
| 1263 | 
            -
             | 
| 1264 | 
            -
            /**
         | 
| 1265 | 
            -
             * Static version of the {@see toObject} method.
         | 
| 1266 | 
            -
             * @param {boolean|undefined} includeInstance Deprecated. Whether to include
         | 
| 1267 | 
            -
             *     the JSPB instance for transitional soy proto support:
         | 
| 1268 | 
            -
             *     http://goto/soy-param-migration
         | 
| 1269 | 
            -
             * @param {!proto.gitpod.v1.ListenToPrebuildLogsResponse} msg The msg instance to transform.
         | 
| 1270 | 
            -
             * @return {!Object}
         | 
| 1271 | 
            -
             * @suppress {unusedLocalVariables} f is only used for nested messages
         | 
| 1272 | 
            -
             */
         | 
| 1273 | 
            -
            proto.gitpod.v1.ListenToPrebuildLogsResponse.toObject = function(includeInstance, msg) {
         | 
| 1274 | 
            -
              var f, obj = {
         | 
| 1275 | 
            -
                line: jspb.Message.getFieldWithDefault(msg, 1, "")
         | 
| 1276 | 
            -
              };
         | 
| 1277 | 
            -
             | 
| 1278 | 
            -
              if (includeInstance) {
         | 
| 1279 | 
            -
                obj.$jspbMessageInstance = msg;
         | 
| 1280 | 
            -
              }
         | 
| 1281 | 
            -
              return obj;
         | 
| 1282 | 
            -
            };
         | 
| 1283 209 | 
             
            }
         | 
| 1284 | 
            -
             | 
| 1285 | 
            -
             | 
| 1286 | 
            -
             | 
| 1287 | 
            -
              | 
| 1288 | 
            -
              | 
| 1289 | 
            -
             | 
| 1290 | 
            -
             | 
| 1291 | 
            -
             | 
| 1292 | 
            -
             | 
| 1293 | 
            -
             | 
| 1294 | 
            -
             | 
| 1295 | 
            -
             | 
| 1296 | 
            -
             | 
| 1297 | 
            -
             | 
| 1298 | 
            -
             | 
| 1299 | 
            -
              | 
| 1300 | 
            -
              | 
| 1301 | 
            -
             * @param {!proto.gitpod.v1.ListenToPrebuildLogsResponse} msg The message object to deserialize into.
         | 
| 1302 | 
            -
             * @param {!jspb.BinaryReader} reader The BinaryReader to use.
         | 
| 1303 | 
            -
             * @return {!proto.gitpod.v1.ListenToPrebuildLogsResponse}
         | 
| 1304 | 
            -
             */
         | 
| 1305 | 
            -
            proto.gitpod.v1.ListenToPrebuildLogsResponse.deserializeBinaryFromReader = function(msg, reader) {
         | 
| 1306 | 
            -
              while (reader.nextField()) {
         | 
| 1307 | 
            -
                if (reader.isEndGroup()) {
         | 
| 1308 | 
            -
                  break;
         | 
| 210 | 
            +
            exports.ListenToPrebuildLogsRequest = ListenToPrebuildLogsRequest;
         | 
| 211 | 
            +
            ListenToPrebuildLogsRequest.runtime = protobuf_1.proto3;
         | 
| 212 | 
            +
            ListenToPrebuildLogsRequest.typeName = "gitpod.v1.ListenToPrebuildLogsRequest";
         | 
| 213 | 
            +
            ListenToPrebuildLogsRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
         | 
| 214 | 
            +
                { no: 1, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
         | 
| 215 | 
            +
            ]);
         | 
| 216 | 
            +
            /**
         | 
| 217 | 
            +
             * @generated from message gitpod.v1.ListenToPrebuildLogsResponse
         | 
| 218 | 
            +
             */
         | 
| 219 | 
            +
            class ListenToPrebuildLogsResponse extends protobuf_1.Message {
         | 
| 220 | 
            +
                constructor(data) {
         | 
| 221 | 
            +
                    super();
         | 
| 222 | 
            +
                    /**
         | 
| 223 | 
            +
                     * @generated from field: string line = 1;
         | 
| 224 | 
            +
                     */
         | 
| 225 | 
            +
                    this.line = "";
         | 
| 226 | 
            +
                    protobuf_1.proto3.util.initPartial(data, this);
         | 
| 1309 227 | 
             
                }
         | 
| 1310 | 
            -
                 | 
| 1311 | 
            -
             | 
| 1312 | 
            -
                 | 
| 1313 | 
            -
             | 
| 1314 | 
            -
             | 
| 1315 | 
            -
             | 
| 1316 | 
            -
                 | 
| 1317 | 
            -
             | 
| 1318 | 
            -
             | 
| 228 | 
            +
                static fromBinary(bytes, options) {
         | 
| 229 | 
            +
                    return new ListenToPrebuildLogsResponse().fromBinary(bytes, options);
         | 
| 230 | 
            +
                }
         | 
| 231 | 
            +
                static fromJson(jsonValue, options) {
         | 
| 232 | 
            +
                    return new ListenToPrebuildLogsResponse().fromJson(jsonValue, options);
         | 
| 233 | 
            +
                }
         | 
| 234 | 
            +
                static fromJsonString(jsonString, options) {
         | 
| 235 | 
            +
                    return new ListenToPrebuildLogsResponse().fromJsonString(jsonString, options);
         | 
| 236 | 
            +
                }
         | 
| 237 | 
            +
                static equals(a, b) {
         | 
| 238 | 
            +
                    return protobuf_1.proto3.util.equals(ListenToPrebuildLogsResponse, a, b);
         | 
| 1319 239 | 
             
                }
         | 
| 1320 | 
            -
              }
         | 
| 1321 | 
            -
              return msg;
         | 
| 1322 | 
            -
            };
         | 
| 1323 | 
            -
             | 
| 1324 | 
            -
             | 
| 1325 | 
            -
            /**
         | 
| 1326 | 
            -
             * Serializes the message to binary data (in protobuf wire format).
         | 
| 1327 | 
            -
             * @return {!Uint8Array}
         | 
| 1328 | 
            -
             */
         | 
| 1329 | 
            -
            proto.gitpod.v1.ListenToPrebuildLogsResponse.prototype.serializeBinary = function() {
         | 
| 1330 | 
            -
              var writer = new jspb.BinaryWriter();
         | 
| 1331 | 
            -
              proto.gitpod.v1.ListenToPrebuildLogsResponse.serializeBinaryToWriter(this, writer);
         | 
| 1332 | 
            -
              return writer.getResultBuffer();
         | 
| 1333 | 
            -
            };
         | 
| 1334 | 
            -
             | 
| 1335 | 
            -
             | 
| 1336 | 
            -
            /**
         | 
| 1337 | 
            -
             * Serializes the given message to binary data (in protobuf wire
         | 
| 1338 | 
            -
             * format), writing to the given BinaryWriter.
         | 
| 1339 | 
            -
             * @param {!proto.gitpod.v1.ListenToPrebuildLogsResponse} message
         | 
| 1340 | 
            -
             * @param {!jspb.BinaryWriter} writer
         | 
| 1341 | 
            -
             * @suppress {unusedLocalVariables} f is only used for nested messages
         | 
| 1342 | 
            -
             */
         | 
| 1343 | 
            -
            proto.gitpod.v1.ListenToPrebuildLogsResponse.serializeBinaryToWriter = function(message, writer) {
         | 
| 1344 | 
            -
              var f = undefined;
         | 
| 1345 | 
            -
              f = message.getLine();
         | 
| 1346 | 
            -
              if (f.length > 0) {
         | 
| 1347 | 
            -
                writer.writeString(
         | 
| 1348 | 
            -
                  1,
         | 
| 1349 | 
            -
                  f
         | 
| 1350 | 
            -
                );
         | 
| 1351 | 
            -
              }
         | 
| 1352 | 
            -
            };
         | 
| 1353 | 
            -
             | 
| 1354 | 
            -
             | 
| 1355 | 
            -
            /**
         | 
| 1356 | 
            -
             * optional string line = 1;
         | 
| 1357 | 
            -
             * @return {string}
         | 
| 1358 | 
            -
             */
         | 
| 1359 | 
            -
            proto.gitpod.v1.ListenToPrebuildLogsResponse.prototype.getLine = function() {
         | 
| 1360 | 
            -
              return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
         | 
| 1361 | 
            -
            };
         | 
| 1362 | 
            -
             | 
| 1363 | 
            -
             | 
| 1364 | 
            -
            /**
         | 
| 1365 | 
            -
             * @param {string} value
         | 
| 1366 | 
            -
             * @return {!proto.gitpod.v1.ListenToPrebuildLogsResponse} returns this
         | 
| 1367 | 
            -
             */
         | 
| 1368 | 
            -
            proto.gitpod.v1.ListenToPrebuildLogsResponse.prototype.setLine = function(value) {
         | 
| 1369 | 
            -
              return jspb.Message.setProto3StringField(this, 1, value);
         | 
| 1370 | 
            -
            };
         | 
| 1371 | 
            -
             | 
| 1372 | 
            -
             | 
| 1373 | 
            -
             | 
| 1374 | 
            -
             | 
| 1375 | 
            -
             | 
| 1376 | 
            -
            if (jspb.Message.GENERATE_TO_OBJECT) {
         | 
| 1377 | 
            -
            /**
         | 
| 1378 | 
            -
             * Creates an object representation of this proto.
         | 
| 1379 | 
            -
             * Field names that are reserved in JavaScript and will be renamed to pb_name.
         | 
| 1380 | 
            -
             * Optional fields that are not set will be set to undefined.
         | 
| 1381 | 
            -
             * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
         | 
| 1382 | 
            -
             * For the list of reserved names please see:
         | 
| 1383 | 
            -
             *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
         | 
| 1384 | 
            -
             * @param {boolean=} opt_includeInstance Deprecated. whether to include the
         | 
| 1385 | 
            -
             *     JSPB instance for transitional soy proto support:
         | 
| 1386 | 
            -
             *     http://goto/soy-param-migration
         | 
| 1387 | 
            -
             * @return {!Object}
         | 
| 1388 | 
            -
             */
         | 
| 1389 | 
            -
            proto.gitpod.v1.Prebuild.prototype.toObject = function(opt_includeInstance) {
         | 
| 1390 | 
            -
              return proto.gitpod.v1.Prebuild.toObject(opt_includeInstance, this);
         | 
| 1391 | 
            -
            };
         | 
| 1392 | 
            -
             | 
| 1393 | 
            -
             | 
| 1394 | 
            -
            /**
         | 
| 1395 | 
            -
             * Static version of the {@see toObject} method.
         | 
| 1396 | 
            -
             * @param {boolean|undefined} includeInstance Deprecated. Whether to include
         | 
| 1397 | 
            -
             *     the JSPB instance for transitional soy proto support:
         | 
| 1398 | 
            -
             *     http://goto/soy-param-migration
         | 
| 1399 | 
            -
             * @param {!proto.gitpod.v1.Prebuild} msg The msg instance to transform.
         | 
| 1400 | 
            -
             * @return {!Object}
         | 
| 1401 | 
            -
             * @suppress {unusedLocalVariables} f is only used for nested messages
         | 
| 1402 | 
            -
             */
         | 
| 1403 | 
            -
            proto.gitpod.v1.Prebuild.toObject = function(includeInstance, msg) {
         | 
| 1404 | 
            -
              var f, obj = {
         | 
| 1405 | 
            -
                prebuildId: jspb.Message.getFieldWithDefault(msg, 1, ""),
         | 
| 1406 | 
            -
                spec: (f = msg.getSpec()) && proto.gitpod.v1.PrebuildSpec.toObject(includeInstance, f),
         | 
| 1407 | 
            -
                status: (f = msg.getStatus()) && proto.gitpod.v1.PrebuildStatus.toObject(includeInstance, f)
         | 
| 1408 | 
            -
              };
         | 
| 1409 | 
            -
             | 
| 1410 | 
            -
              if (includeInstance) {
         | 
| 1411 | 
            -
                obj.$jspbMessageInstance = msg;
         | 
| 1412 | 
            -
              }
         | 
| 1413 | 
            -
              return obj;
         | 
| 1414 | 
            -
            };
         | 
| 1415 240 | 
             
            }
         | 
| 1416 | 
            -
             | 
| 1417 | 
            -
             | 
| 1418 | 
            -
             | 
| 1419 | 
            -
              | 
| 1420 | 
            -
              | 
| 1421 | 
            -
             | 
| 1422 | 
            -
             | 
| 1423 | 
            -
             | 
| 1424 | 
            -
             | 
| 1425 | 
            -
             | 
| 1426 | 
            -
             | 
| 1427 | 
            -
             | 
| 1428 | 
            -
             | 
| 1429 | 
            -
             | 
| 1430 | 
            -
            /**
         | 
| 1431 | 
            -
             | 
| 1432 | 
            -
             | 
| 1433 | 
            -
             | 
| 1434 | 
            -
             | 
| 1435 | 
            -
             * @return {!proto.gitpod.v1.Prebuild}
         | 
| 1436 | 
            -
             */
         | 
| 1437 | 
            -
            proto.gitpod.v1.Prebuild.deserializeBinaryFromReader = function(msg, reader) {
         | 
| 1438 | 
            -
              while (reader.nextField()) {
         | 
| 1439 | 
            -
                if (reader.isEndGroup()) {
         | 
| 1440 | 
            -
                  break;
         | 
| 241 | 
            +
            exports.ListenToPrebuildLogsResponse = ListenToPrebuildLogsResponse;
         | 
| 242 | 
            +
            ListenToPrebuildLogsResponse.runtime = protobuf_1.proto3;
         | 
| 243 | 
            +
            ListenToPrebuildLogsResponse.typeName = "gitpod.v1.ListenToPrebuildLogsResponse";
         | 
| 244 | 
            +
            ListenToPrebuildLogsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
         | 
| 245 | 
            +
                { no: 1, name: "line", kind: "scalar", T: 9 /* ScalarType.STRING */ },
         | 
| 246 | 
            +
            ]);
         | 
| 247 | 
            +
            /**
         | 
| 248 | 
            +
             * Prebuild describes a prebuild
         | 
| 249 | 
            +
             *
         | 
| 250 | 
            +
             * @generated from message gitpod.v1.Prebuild
         | 
| 251 | 
            +
             */
         | 
| 252 | 
            +
            class Prebuild extends protobuf_1.Message {
         | 
| 253 | 
            +
                constructor(data) {
         | 
| 254 | 
            +
                    super();
         | 
| 255 | 
            +
                    /**
         | 
| 256 | 
            +
                     * @generated from field: string prebuild_id = 1;
         | 
| 257 | 
            +
                     */
         | 
| 258 | 
            +
                    this.prebuildId = "";
         | 
| 259 | 
            +
                    protobuf_1.proto3.util.initPartial(data, this);
         | 
| 1441 260 | 
             
                }
         | 
| 1442 | 
            -
                 | 
| 1443 | 
            -
             | 
| 1444 | 
            -
                 | 
| 1445 | 
            -
             | 
| 1446 | 
            -
             | 
| 1447 | 
            -
             | 
| 1448 | 
            -
                 | 
| 1449 | 
            -
             | 
| 1450 | 
            -
             | 
| 1451 | 
            -
             | 
| 1452 | 
            -
             | 
| 1453 | 
            -
                case 3:
         | 
| 1454 | 
            -
                  var value = new proto.gitpod.v1.PrebuildStatus;
         | 
| 1455 | 
            -
                  reader.readMessage(value,proto.gitpod.v1.PrebuildStatus.deserializeBinaryFromReader);
         | 
| 1456 | 
            -
                  msg.setStatus(value);
         | 
| 1457 | 
            -
                  break;
         | 
| 1458 | 
            -
                default:
         | 
| 1459 | 
            -
                  reader.skipField();
         | 
| 1460 | 
            -
                  break;
         | 
| 261 | 
            +
                static fromBinary(bytes, options) {
         | 
| 262 | 
            +
                    return new Prebuild().fromBinary(bytes, options);
         | 
| 263 | 
            +
                }
         | 
| 264 | 
            +
                static fromJson(jsonValue, options) {
         | 
| 265 | 
            +
                    return new Prebuild().fromJson(jsonValue, options);
         | 
| 266 | 
            +
                }
         | 
| 267 | 
            +
                static fromJsonString(jsonString, options) {
         | 
| 268 | 
            +
                    return new Prebuild().fromJsonString(jsonString, options);
         | 
| 269 | 
            +
                }
         | 
| 270 | 
            +
                static equals(a, b) {
         | 
| 271 | 
            +
                    return protobuf_1.proto3.util.equals(Prebuild, a, b);
         | 
| 1461 272 | 
             
                }
         | 
| 1462 | 
            -
              }
         | 
| 1463 | 
            -
              return msg;
         | 
| 1464 | 
            -
            };
         | 
| 1465 | 
            -
             | 
| 1466 | 
            -
             | 
| 1467 | 
            -
            /**
         | 
| 1468 | 
            -
             * Serializes the message to binary data (in protobuf wire format).
         | 
| 1469 | 
            -
             * @return {!Uint8Array}
         | 
| 1470 | 
            -
             */
         | 
| 1471 | 
            -
            proto.gitpod.v1.Prebuild.prototype.serializeBinary = function() {
         | 
| 1472 | 
            -
              var writer = new jspb.BinaryWriter();
         | 
| 1473 | 
            -
              proto.gitpod.v1.Prebuild.serializeBinaryToWriter(this, writer);
         | 
| 1474 | 
            -
              return writer.getResultBuffer();
         | 
| 1475 | 
            -
            };
         | 
| 1476 | 
            -
             | 
| 1477 | 
            -
             | 
| 1478 | 
            -
            /**
         | 
| 1479 | 
            -
             * Serializes the given message to binary data (in protobuf wire
         | 
| 1480 | 
            -
             * format), writing to the given BinaryWriter.
         | 
| 1481 | 
            -
             * @param {!proto.gitpod.v1.Prebuild} message
         | 
| 1482 | 
            -
             * @param {!jspb.BinaryWriter} writer
         | 
| 1483 | 
            -
             * @suppress {unusedLocalVariables} f is only used for nested messages
         | 
| 1484 | 
            -
             */
         | 
| 1485 | 
            -
            proto.gitpod.v1.Prebuild.serializeBinaryToWriter = function(message, writer) {
         | 
| 1486 | 
            -
              var f = undefined;
         | 
| 1487 | 
            -
              f = message.getPrebuildId();
         | 
| 1488 | 
            -
              if (f.length > 0) {
         | 
| 1489 | 
            -
                writer.writeString(
         | 
| 1490 | 
            -
                  1,
         | 
| 1491 | 
            -
                  f
         | 
| 1492 | 
            -
                );
         | 
| 1493 | 
            -
              }
         | 
| 1494 | 
            -
              f = message.getSpec();
         | 
| 1495 | 
            -
              if (f != null) {
         | 
| 1496 | 
            -
                writer.writeMessage(
         | 
| 1497 | 
            -
                  2,
         | 
| 1498 | 
            -
                  f,
         | 
| 1499 | 
            -
                  proto.gitpod.v1.PrebuildSpec.serializeBinaryToWriter
         | 
| 1500 | 
            -
                );
         | 
| 1501 | 
            -
              }
         | 
| 1502 | 
            -
              f = message.getStatus();
         | 
| 1503 | 
            -
              if (f != null) {
         | 
| 1504 | 
            -
                writer.writeMessage(
         | 
| 1505 | 
            -
                  3,
         | 
| 1506 | 
            -
                  f,
         | 
| 1507 | 
            -
                  proto.gitpod.v1.PrebuildStatus.serializeBinaryToWriter
         | 
| 1508 | 
            -
                );
         | 
| 1509 | 
            -
              }
         | 
| 1510 | 
            -
            };
         | 
| 1511 | 
            -
             | 
| 1512 | 
            -
             | 
| 1513 | 
            -
            /**
         | 
| 1514 | 
            -
             * optional string prebuild_id = 1;
         | 
| 1515 | 
            -
             * @return {string}
         | 
| 1516 | 
            -
             */
         | 
| 1517 | 
            -
            proto.gitpod.v1.Prebuild.prototype.getPrebuildId = function() {
         | 
| 1518 | 
            -
              return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
         | 
| 1519 | 
            -
            };
         | 
| 1520 | 
            -
             | 
| 1521 | 
            -
             | 
| 1522 | 
            -
            /**
         | 
| 1523 | 
            -
             * @param {string} value
         | 
| 1524 | 
            -
             * @return {!proto.gitpod.v1.Prebuild} returns this
         | 
| 1525 | 
            -
             */
         | 
| 1526 | 
            -
            proto.gitpod.v1.Prebuild.prototype.setPrebuildId = function(value) {
         | 
| 1527 | 
            -
              return jspb.Message.setProto3StringField(this, 1, value);
         | 
| 1528 | 
            -
            };
         | 
| 1529 | 
            -
             | 
| 1530 | 
            -
             | 
| 1531 | 
            -
            /**
         | 
| 1532 | 
            -
             * optional PrebuildSpec spec = 2;
         | 
| 1533 | 
            -
             * @return {?proto.gitpod.v1.PrebuildSpec}
         | 
| 1534 | 
            -
             */
         | 
| 1535 | 
            -
            proto.gitpod.v1.Prebuild.prototype.getSpec = function() {
         | 
| 1536 | 
            -
              return /** @type{?proto.gitpod.v1.PrebuildSpec} */ (
         | 
| 1537 | 
            -
                jspb.Message.getWrapperField(this, proto.gitpod.v1.PrebuildSpec, 2));
         | 
| 1538 | 
            -
            };
         | 
| 1539 | 
            -
             | 
| 1540 | 
            -
             | 
| 1541 | 
            -
            /**
         | 
| 1542 | 
            -
             * @param {?proto.gitpod.v1.PrebuildSpec|undefined} value
         | 
| 1543 | 
            -
             * @return {!proto.gitpod.v1.Prebuild} returns this
         | 
| 1544 | 
            -
            */
         | 
| 1545 | 
            -
            proto.gitpod.v1.Prebuild.prototype.setSpec = function(value) {
         | 
| 1546 | 
            -
              return jspb.Message.setWrapperField(this, 2, value);
         | 
| 1547 | 
            -
            };
         | 
| 1548 | 
            -
             | 
| 1549 | 
            -
             | 
| 1550 | 
            -
            /**
         | 
| 1551 | 
            -
             * Clears the message field making it undefined.
         | 
| 1552 | 
            -
             * @return {!proto.gitpod.v1.Prebuild} returns this
         | 
| 1553 | 
            -
             */
         | 
| 1554 | 
            -
            proto.gitpod.v1.Prebuild.prototype.clearSpec = function() {
         | 
| 1555 | 
            -
              return this.setSpec(undefined);
         | 
| 1556 | 
            -
            };
         | 
| 1557 | 
            -
             | 
| 1558 | 
            -
             | 
| 1559 | 
            -
            /**
         | 
| 1560 | 
            -
             * Returns whether this field is set.
         | 
| 1561 | 
            -
             * @return {boolean}
         | 
| 1562 | 
            -
             */
         | 
| 1563 | 
            -
            proto.gitpod.v1.Prebuild.prototype.hasSpec = function() {
         | 
| 1564 | 
            -
              return jspb.Message.getField(this, 2) != null;
         | 
| 1565 | 
            -
            };
         | 
| 1566 | 
            -
             | 
| 1567 | 
            -
             | 
| 1568 | 
            -
            /**
         | 
| 1569 | 
            -
             * optional PrebuildStatus status = 3;
         | 
| 1570 | 
            -
             * @return {?proto.gitpod.v1.PrebuildStatus}
         | 
| 1571 | 
            -
             */
         | 
| 1572 | 
            -
            proto.gitpod.v1.Prebuild.prototype.getStatus = function() {
         | 
| 1573 | 
            -
              return /** @type{?proto.gitpod.v1.PrebuildStatus} */ (
         | 
| 1574 | 
            -
                jspb.Message.getWrapperField(this, proto.gitpod.v1.PrebuildStatus, 3));
         | 
| 1575 | 
            -
            };
         | 
| 1576 | 
            -
             | 
| 1577 | 
            -
             | 
| 1578 | 
            -
            /**
         | 
| 1579 | 
            -
             * @param {?proto.gitpod.v1.PrebuildStatus|undefined} value
         | 
| 1580 | 
            -
             * @return {!proto.gitpod.v1.Prebuild} returns this
         | 
| 1581 | 
            -
            */
         | 
| 1582 | 
            -
            proto.gitpod.v1.Prebuild.prototype.setStatus = function(value) {
         | 
| 1583 | 
            -
              return jspb.Message.setWrapperField(this, 3, value);
         | 
| 1584 | 
            -
            };
         | 
| 1585 | 
            -
             | 
| 1586 | 
            -
             | 
| 1587 | 
            -
            /**
         | 
| 1588 | 
            -
             * Clears the message field making it undefined.
         | 
| 1589 | 
            -
             * @return {!proto.gitpod.v1.Prebuild} returns this
         | 
| 1590 | 
            -
             */
         | 
| 1591 | 
            -
            proto.gitpod.v1.Prebuild.prototype.clearStatus = function() {
         | 
| 1592 | 
            -
              return this.setStatus(undefined);
         | 
| 1593 | 
            -
            };
         | 
| 1594 | 
            -
             | 
| 1595 | 
            -
             | 
| 1596 | 
            -
            /**
         | 
| 1597 | 
            -
             * Returns whether this field is set.
         | 
| 1598 | 
            -
             * @return {boolean}
         | 
| 1599 | 
            -
             */
         | 
| 1600 | 
            -
            proto.gitpod.v1.Prebuild.prototype.hasStatus = function() {
         | 
| 1601 | 
            -
              return jspb.Message.getField(this, 3) != null;
         | 
| 1602 | 
            -
            };
         | 
| 1603 | 
            -
             | 
| 1604 | 
            -
             | 
| 1605 | 
            -
             | 
| 1606 | 
            -
             | 
| 1607 | 
            -
             | 
| 1608 | 
            -
            if (jspb.Message.GENERATE_TO_OBJECT) {
         | 
| 1609 | 
            -
            /**
         | 
| 1610 | 
            -
             * Creates an object representation of this proto.
         | 
| 1611 | 
            -
             * Field names that are reserved in JavaScript and will be renamed to pb_name.
         | 
| 1612 | 
            -
             * Optional fields that are not set will be set to undefined.
         | 
| 1613 | 
            -
             * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
         | 
| 1614 | 
            -
             * For the list of reserved names please see:
         | 
| 1615 | 
            -
             *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
         | 
| 1616 | 
            -
             * @param {boolean=} opt_includeInstance Deprecated. whether to include the
         | 
| 1617 | 
            -
             *     JSPB instance for transitional soy proto support:
         | 
| 1618 | 
            -
             *     http://goto/soy-param-migration
         | 
| 1619 | 
            -
             * @return {!Object}
         | 
| 1620 | 
            -
             */
         | 
| 1621 | 
            -
            proto.gitpod.v1.PrebuildSpec.prototype.toObject = function(opt_includeInstance) {
         | 
| 1622 | 
            -
              return proto.gitpod.v1.PrebuildSpec.toObject(opt_includeInstance, this);
         | 
| 1623 | 
            -
            };
         | 
| 1624 | 
            -
             | 
| 1625 | 
            -
             | 
| 1626 | 
            -
            /**
         | 
| 1627 | 
            -
             * Static version of the {@see toObject} method.
         | 
| 1628 | 
            -
             * @param {boolean|undefined} includeInstance Deprecated. Whether to include
         | 
| 1629 | 
            -
             *     the JSPB instance for transitional soy proto support:
         | 
| 1630 | 
            -
             *     http://goto/soy-param-migration
         | 
| 1631 | 
            -
             * @param {!proto.gitpod.v1.PrebuildSpec} msg The msg instance to transform.
         | 
| 1632 | 
            -
             * @return {!Object}
         | 
| 1633 | 
            -
             * @suppress {unusedLocalVariables} f is only used for nested messages
         | 
| 1634 | 
            -
             */
         | 
| 1635 | 
            -
            proto.gitpod.v1.PrebuildSpec.toObject = function(includeInstance, msg) {
         | 
| 1636 | 
            -
              var f, obj = {
         | 
| 1637 | 
            -
                context: (f = msg.getContext()) && gitpod_v1_workspaces_pb.WorkspaceContext.toObject(includeInstance, f),
         | 
| 1638 | 
            -
                incremental: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
         | 
| 1639 | 
            -
              };
         | 
| 1640 | 
            -
             | 
| 1641 | 
            -
              if (includeInstance) {
         | 
| 1642 | 
            -
                obj.$jspbMessageInstance = msg;
         | 
| 1643 | 
            -
              }
         | 
| 1644 | 
            -
              return obj;
         | 
| 1645 | 
            -
            };
         | 
| 1646 273 | 
             
            }
         | 
| 1647 | 
            -
             | 
| 1648 | 
            -
             | 
| 1649 | 
            -
             | 
| 1650 | 
            -
              | 
| 1651 | 
            -
              | 
| 1652 | 
            -
              | 
| 1653 | 
            -
              | 
| 1654 | 
            -
             | 
| 1655 | 
            -
             | 
| 1656 | 
            -
             | 
| 1657 | 
            -
             | 
| 1658 | 
            -
             | 
| 1659 | 
            -
             | 
| 1660 | 
            -
             | 
| 1661 | 
            -
             | 
| 1662 | 
            -
             | 
| 1663 | 
            -
             | 
| 1664 | 
            -
             | 
| 1665 | 
            -
             | 
| 1666 | 
            -
             | 
| 1667 | 
            -
              | 
| 1668 | 
            -
             | 
| 1669 | 
            -
             | 
| 1670 | 
            -
             | 
| 1671 | 
            -
                  break;
         | 
| 274 | 
            +
            exports.Prebuild = Prebuild;
         | 
| 275 | 
            +
            Prebuild.runtime = protobuf_1.proto3;
         | 
| 276 | 
            +
            Prebuild.typeName = "gitpod.v1.Prebuild";
         | 
| 277 | 
            +
            Prebuild.fields = protobuf_1.proto3.util.newFieldList(() => [
         | 
| 278 | 
            +
                { no: 1, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
         | 
| 279 | 
            +
                { no: 2, name: "spec", kind: "message", T: PrebuildSpec },
         | 
| 280 | 
            +
                { no: 3, name: "status", kind: "message", T: PrebuildStatus },
         | 
| 281 | 
            +
            ]);
         | 
| 282 | 
            +
            /**
         | 
| 283 | 
            +
             * PrebuildSpec specifies the prebuild input.
         | 
| 284 | 
            +
             *
         | 
| 285 | 
            +
             * @generated from message gitpod.v1.PrebuildSpec
         | 
| 286 | 
            +
             */
         | 
| 287 | 
            +
            class PrebuildSpec extends protobuf_1.Message {
         | 
| 288 | 
            +
                constructor(data) {
         | 
| 289 | 
            +
                    super();
         | 
| 290 | 
            +
                    /**
         | 
| 291 | 
            +
                     * Incremental prebuilds are based on other prebuilds. If this field is true,
         | 
| 292 | 
            +
                     * expect the context detail to point to another prebuild.
         | 
| 293 | 
            +
                     *
         | 
| 294 | 
            +
                     * @generated from field: bool incremental = 2;
         | 
| 295 | 
            +
                     */
         | 
| 296 | 
            +
                    this.incremental = false;
         | 
| 297 | 
            +
                    protobuf_1.proto3.util.initPartial(data, this);
         | 
| 1672 298 | 
             
                }
         | 
| 1673 | 
            -
                 | 
| 1674 | 
            -
             | 
| 1675 | 
            -
                 | 
| 1676 | 
            -
             | 
| 1677 | 
            -
             | 
| 1678 | 
            -
             | 
| 1679 | 
            -
             | 
| 1680 | 
            -
             | 
| 1681 | 
            -
             | 
| 1682 | 
            -
             | 
| 1683 | 
            -
             | 
| 1684 | 
            -
                default:
         | 
| 1685 | 
            -
                  reader.skipField();
         | 
| 1686 | 
            -
                  break;
         | 
| 299 | 
            +
                static fromBinary(bytes, options) {
         | 
| 300 | 
            +
                    return new PrebuildSpec().fromBinary(bytes, options);
         | 
| 301 | 
            +
                }
         | 
| 302 | 
            +
                static fromJson(jsonValue, options) {
         | 
| 303 | 
            +
                    return new PrebuildSpec().fromJson(jsonValue, options);
         | 
| 304 | 
            +
                }
         | 
| 305 | 
            +
                static fromJsonString(jsonString, options) {
         | 
| 306 | 
            +
                    return new PrebuildSpec().fromJsonString(jsonString, options);
         | 
| 307 | 
            +
                }
         | 
| 308 | 
            +
                static equals(a, b) {
         | 
| 309 | 
            +
                    return protobuf_1.proto3.util.equals(PrebuildSpec, a, b);
         | 
| 1687 310 | 
             
                }
         | 
| 1688 | 
            -
              }
         | 
| 1689 | 
            -
              return msg;
         | 
| 1690 | 
            -
            };
         | 
| 1691 | 
            -
             | 
| 1692 | 
            -
             | 
| 1693 | 
            -
            /**
         | 
| 1694 | 
            -
             * Serializes the message to binary data (in protobuf wire format).
         | 
| 1695 | 
            -
             * @return {!Uint8Array}
         | 
| 1696 | 
            -
             */
         | 
| 1697 | 
            -
            proto.gitpod.v1.PrebuildSpec.prototype.serializeBinary = function() {
         | 
| 1698 | 
            -
              var writer = new jspb.BinaryWriter();
         | 
| 1699 | 
            -
              proto.gitpod.v1.PrebuildSpec.serializeBinaryToWriter(this, writer);
         | 
| 1700 | 
            -
              return writer.getResultBuffer();
         | 
| 1701 | 
            -
            };
         | 
| 1702 | 
            -
             | 
| 1703 | 
            -
             | 
| 1704 | 
            -
            /**
         | 
| 1705 | 
            -
             * Serializes the given message to binary data (in protobuf wire
         | 
| 1706 | 
            -
             * format), writing to the given BinaryWriter.
         | 
| 1707 | 
            -
             * @param {!proto.gitpod.v1.PrebuildSpec} message
         | 
| 1708 | 
            -
             * @param {!jspb.BinaryWriter} writer
         | 
| 1709 | 
            -
             * @suppress {unusedLocalVariables} f is only used for nested messages
         | 
| 1710 | 
            -
             */
         | 
| 1711 | 
            -
            proto.gitpod.v1.PrebuildSpec.serializeBinaryToWriter = function(message, writer) {
         | 
| 1712 | 
            -
              var f = undefined;
         | 
| 1713 | 
            -
              f = message.getContext();
         | 
| 1714 | 
            -
              if (f != null) {
         | 
| 1715 | 
            -
                writer.writeMessage(
         | 
| 1716 | 
            -
                  1,
         | 
| 1717 | 
            -
                  f,
         | 
| 1718 | 
            -
                  gitpod_v1_workspaces_pb.WorkspaceContext.serializeBinaryToWriter
         | 
| 1719 | 
            -
                );
         | 
| 1720 | 
            -
              }
         | 
| 1721 | 
            -
              f = message.getIncremental();
         | 
| 1722 | 
            -
              if (f) {
         | 
| 1723 | 
            -
                writer.writeBool(
         | 
| 1724 | 
            -
                  2,
         | 
| 1725 | 
            -
                  f
         | 
| 1726 | 
            -
                );
         | 
| 1727 | 
            -
              }
         | 
| 1728 | 
            -
            };
         | 
| 1729 | 
            -
             | 
| 1730 | 
            -
             | 
| 1731 | 
            -
            /**
         | 
| 1732 | 
            -
             * optional WorkspaceContext context = 1;
         | 
| 1733 | 
            -
             * @return {?proto.gitpod.v1.WorkspaceContext}
         | 
| 1734 | 
            -
             */
         | 
| 1735 | 
            -
            proto.gitpod.v1.PrebuildSpec.prototype.getContext = function() {
         | 
| 1736 | 
            -
              return /** @type{?proto.gitpod.v1.WorkspaceContext} */ (
         | 
| 1737 | 
            -
                jspb.Message.getWrapperField(this, gitpod_v1_workspaces_pb.WorkspaceContext, 1));
         | 
| 1738 | 
            -
            };
         | 
| 1739 | 
            -
             | 
| 1740 | 
            -
             | 
| 1741 | 
            -
            /**
         | 
| 1742 | 
            -
             * @param {?proto.gitpod.v1.WorkspaceContext|undefined} value
         | 
| 1743 | 
            -
             * @return {!proto.gitpod.v1.PrebuildSpec} returns this
         | 
| 1744 | 
            -
            */
         | 
| 1745 | 
            -
            proto.gitpod.v1.PrebuildSpec.prototype.setContext = function(value) {
         | 
| 1746 | 
            -
              return jspb.Message.setWrapperField(this, 1, value);
         | 
| 1747 | 
            -
            };
         | 
| 1748 | 
            -
             | 
| 1749 | 
            -
             | 
| 1750 | 
            -
            /**
         | 
| 1751 | 
            -
             * Clears the message field making it undefined.
         | 
| 1752 | 
            -
             * @return {!proto.gitpod.v1.PrebuildSpec} returns this
         | 
| 1753 | 
            -
             */
         | 
| 1754 | 
            -
            proto.gitpod.v1.PrebuildSpec.prototype.clearContext = function() {
         | 
| 1755 | 
            -
              return this.setContext(undefined);
         | 
| 1756 | 
            -
            };
         | 
| 1757 | 
            -
             | 
| 1758 | 
            -
             | 
| 1759 | 
            -
            /**
         | 
| 1760 | 
            -
             * Returns whether this field is set.
         | 
| 1761 | 
            -
             * @return {boolean}
         | 
| 1762 | 
            -
             */
         | 
| 1763 | 
            -
            proto.gitpod.v1.PrebuildSpec.prototype.hasContext = function() {
         | 
| 1764 | 
            -
              return jspb.Message.getField(this, 1) != null;
         | 
| 1765 | 
            -
            };
         | 
| 1766 | 
            -
             | 
| 1767 | 
            -
             | 
| 1768 | 
            -
            /**
         | 
| 1769 | 
            -
             * optional bool incremental = 2;
         | 
| 1770 | 
            -
             * @return {boolean}
         | 
| 1771 | 
            -
             */
         | 
| 1772 | 
            -
            proto.gitpod.v1.PrebuildSpec.prototype.getIncremental = function() {
         | 
| 1773 | 
            -
              return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
         | 
| 1774 | 
            -
            };
         | 
| 1775 | 
            -
             | 
| 1776 | 
            -
             | 
| 1777 | 
            -
            /**
         | 
| 1778 | 
            -
             * @param {boolean} value
         | 
| 1779 | 
            -
             * @return {!proto.gitpod.v1.PrebuildSpec} returns this
         | 
| 1780 | 
            -
             */
         | 
| 1781 | 
            -
            proto.gitpod.v1.PrebuildSpec.prototype.setIncremental = function(value) {
         | 
| 1782 | 
            -
              return jspb.Message.setProto3BooleanField(this, 2, value);
         | 
| 1783 | 
            -
            };
         | 
| 1784 | 
            -
             | 
| 1785 | 
            -
             | 
| 1786 | 
            -
             | 
| 1787 | 
            -
             | 
| 1788 | 
            -
             | 
| 1789 | 
            -
            if (jspb.Message.GENERATE_TO_OBJECT) {
         | 
| 1790 | 
            -
            /**
         | 
| 1791 | 
            -
             * Creates an object representation of this proto.
         | 
| 1792 | 
            -
             * Field names that are reserved in JavaScript and will be renamed to pb_name.
         | 
| 1793 | 
            -
             * Optional fields that are not set will be set to undefined.
         | 
| 1794 | 
            -
             * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
         | 
| 1795 | 
            -
             * For the list of reserved names please see:
         | 
| 1796 | 
            -
             *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
         | 
| 1797 | 
            -
             * @param {boolean=} opt_includeInstance Deprecated. whether to include the
         | 
| 1798 | 
            -
             *     JSPB instance for transitional soy proto support:
         | 
| 1799 | 
            -
             *     http://goto/soy-param-migration
         | 
| 1800 | 
            -
             * @return {!Object}
         | 
| 1801 | 
            -
             */
         | 
| 1802 | 
            -
            proto.gitpod.v1.PrebuildStatus.prototype.toObject = function(opt_includeInstance) {
         | 
| 1803 | 
            -
              return proto.gitpod.v1.PrebuildStatus.toObject(opt_includeInstance, this);
         | 
| 1804 | 
            -
            };
         | 
| 1805 | 
            -
             | 
| 1806 | 
            -
             | 
| 1807 | 
            -
            /**
         | 
| 1808 | 
            -
             * Static version of the {@see toObject} method.
         | 
| 1809 | 
            -
             * @param {boolean|undefined} includeInstance Deprecated. Whether to include
         | 
| 1810 | 
            -
             *     the JSPB instance for transitional soy proto support:
         | 
| 1811 | 
            -
             *     http://goto/soy-param-migration
         | 
| 1812 | 
            -
             * @param {!proto.gitpod.v1.PrebuildStatus} msg The msg instance to transform.
         | 
| 1813 | 
            -
             * @return {!Object}
         | 
| 1814 | 
            -
             * @suppress {unusedLocalVariables} f is only used for nested messages
         | 
| 1815 | 
            -
             */
         | 
| 1816 | 
            -
            proto.gitpod.v1.PrebuildStatus.toObject = function(includeInstance, msg) {
         | 
| 1817 | 
            -
              var f, obj = {
         | 
| 1818 | 
            -
                phase: jspb.Message.getFieldWithDefault(msg, 1, 0),
         | 
| 1819 | 
            -
                result: jspb.Message.getFieldWithDefault(msg, 2, 0),
         | 
| 1820 | 
            -
                resultMessage: jspb.Message.getFieldWithDefault(msg, 3, "")
         | 
| 1821 | 
            -
              };
         | 
| 1822 | 
            -
             | 
| 1823 | 
            -
              if (includeInstance) {
         | 
| 1824 | 
            -
                obj.$jspbMessageInstance = msg;
         | 
| 1825 | 
            -
              }
         | 
| 1826 | 
            -
              return obj;
         | 
| 1827 | 
            -
            };
         | 
| 1828 311 | 
             
            }
         | 
| 1829 | 
            -
             | 
| 1830 | 
            -
             | 
| 1831 | 
            -
             | 
| 1832 | 
            -
              | 
| 1833 | 
            -
              | 
| 1834 | 
            -
              | 
| 1835 | 
            -
             | 
| 1836 | 
            -
             | 
| 1837 | 
            -
             | 
| 1838 | 
            -
             | 
| 1839 | 
            -
             | 
| 1840 | 
            -
             | 
| 1841 | 
            -
             | 
| 1842 | 
            -
             | 
| 1843 | 
            -
             | 
| 1844 | 
            -
             | 
| 1845 | 
            -
             | 
| 1846 | 
            -
             | 
| 1847 | 
            -
             | 
| 1848 | 
            -
             | 
| 1849 | 
            -
              | 
| 1850 | 
            -
             | 
| 1851 | 
            -
             | 
| 1852 | 
            -
             | 
| 1853 | 
            -
             | 
| 312 | 
            +
            exports.PrebuildSpec = PrebuildSpec;
         | 
| 313 | 
            +
            PrebuildSpec.runtime = protobuf_1.proto3;
         | 
| 314 | 
            +
            PrebuildSpec.typeName = "gitpod.v1.PrebuildSpec";
         | 
| 315 | 
            +
            PrebuildSpec.fields = protobuf_1.proto3.util.newFieldList(() => [
         | 
| 316 | 
            +
                { no: 1, name: "context", kind: "message", T: workspaces_pb_js_1.WorkspaceContext },
         | 
| 317 | 
            +
                { no: 2, name: "incremental", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
         | 
| 318 | 
            +
            ]);
         | 
| 319 | 
            +
            /**
         | 
| 320 | 
            +
             * PrebuildStatus describes the prebuild status.
         | 
| 321 | 
            +
             *
         | 
| 322 | 
            +
             * @generated from message gitpod.v1.PrebuildStatus
         | 
| 323 | 
            +
             */
         | 
| 324 | 
            +
            class PrebuildStatus extends protobuf_1.Message {
         | 
| 325 | 
            +
                constructor(data) {
         | 
| 326 | 
            +
                    super();
         | 
| 327 | 
            +
                    /**
         | 
| 328 | 
            +
                     * Phase is the prebuild phase we're in
         | 
| 329 | 
            +
                     *
         | 
| 330 | 
            +
                     * @generated from field: gitpod.v1.PrebuildStatus.Phase phase = 1;
         | 
| 331 | 
            +
                     */
         | 
| 332 | 
            +
                    this.phase = PrebuildStatus_Phase.UNSPECIFIED;
         | 
| 333 | 
            +
                    /**
         | 
| 334 | 
            +
                     * Result indicates what result the prebuild produced, i.e. if it ran
         | 
| 335 | 
            +
                     * successfully or failed for some reason. If phase != done, this field
         | 
| 336 | 
            +
                     * will have RESULT_UNSPECIFIED as value.
         | 
| 337 | 
            +
                     *
         | 
| 338 | 
            +
                     * @generated from field: gitpod.v1.PrebuildStatus.Result result = 2;
         | 
| 339 | 
            +
                     */
         | 
| 340 | 
            +
                    this.result = PrebuildStatus_Result.UNSPECIFIED;
         | 
| 341 | 
            +
                    /**
         | 
| 342 | 
            +
                     * result_message contains a human readable message describing the prebuild
         | 
| 343 | 
            +
                     * result. E.g. if teh result is SYSTEM_FAILURE, the message describes what
         | 
| 344 | 
            +
                     * that failure was.
         | 
| 345 | 
            +
                     *
         | 
| 346 | 
            +
                     * @generated from field: string result_message = 3;
         | 
| 347 | 
            +
                     */
         | 
| 348 | 
            +
                    this.resultMessage = "";
         | 
| 349 | 
            +
                    protobuf_1.proto3.util.initPartial(data, this);
         | 
| 1854 350 | 
             
                }
         | 
| 1855 | 
            -
                 | 
| 1856 | 
            -
             | 
| 1857 | 
            -
                case 1:
         | 
| 1858 | 
            -
                  var value = /** @type {!proto.gitpod.v1.PrebuildStatus.Phase} */ (reader.readEnum());
         | 
| 1859 | 
            -
                  msg.setPhase(value);
         | 
| 1860 | 
            -
                  break;
         | 
| 1861 | 
            -
                case 2:
         | 
| 1862 | 
            -
                  var value = /** @type {!proto.gitpod.v1.PrebuildStatus.Result} */ (reader.readEnum());
         | 
| 1863 | 
            -
                  msg.setResult(value);
         | 
| 1864 | 
            -
                  break;
         | 
| 1865 | 
            -
                case 3:
         | 
| 1866 | 
            -
                  var value = /** @type {string} */ (reader.readString());
         | 
| 1867 | 
            -
                  msg.setResultMessage(value);
         | 
| 1868 | 
            -
                  break;
         | 
| 1869 | 
            -
                default:
         | 
| 1870 | 
            -
                  reader.skipField();
         | 
| 1871 | 
            -
                  break;
         | 
| 351 | 
            +
                static fromBinary(bytes, options) {
         | 
| 352 | 
            +
                    return new PrebuildStatus().fromBinary(bytes, options);
         | 
| 1872 353 | 
             
                }
         | 
| 1873 | 
            -
             | 
| 1874 | 
            -
             | 
| 1875 | 
            -
            } | 
| 1876 | 
            -
             | 
| 1877 | 
            -
             | 
| 1878 | 
            -
             | 
| 1879 | 
            -
              | 
| 1880 | 
            -
              | 
| 1881 | 
            -
             | 
| 1882 | 
            -
             | 
| 1883 | 
            -
             | 
| 1884 | 
            -
             | 
| 1885 | 
            -
             | 
| 1886 | 
            -
             | 
| 1887 | 
            -
             | 
| 1888 | 
            -
             | 
| 1889 | 
            -
             | 
| 1890 | 
            -
             | 
| 1891 | 
            -
             | 
| 1892 | 
            -
             * @ | 
| 1893 | 
            -
              | 
| 1894 | 
            -
              | 
| 1895 | 
            -
              | 
| 1896 | 
            -
             | 
| 1897 | 
            -
             | 
| 1898 | 
            -
             | 
| 1899 | 
            -
             | 
| 1900 | 
            -
                 | 
| 1901 | 
            -
             | 
| 1902 | 
            -
             | 
| 1903 | 
            -
                 | 
| 1904 | 
            -
             | 
| 1905 | 
            -
             | 
| 1906 | 
            -
             | 
| 1907 | 
            -
                 | 
| 1908 | 
            -
             | 
| 1909 | 
            -
             | 
| 1910 | 
            -
             | 
| 1911 | 
            -
             | 
| 1912 | 
            -
             | 
| 1913 | 
            -
             | 
| 1914 | 
            -
             | 
| 1915 | 
            -
             | 
| 1916 | 
            -
             | 
| 1917 | 
            -
                 | 
| 1918 | 
            -
             | 
| 1919 | 
            -
             | 
| 1920 | 
            -
             | 
| 1921 | 
            -
             | 
| 1922 | 
            -
             | 
| 1923 | 
            -
              | 
| 1924 | 
            -
              | 
| 1925 | 
            -
             | 
| 1926 | 
            -
             | 
| 1927 | 
            -
             | 
| 1928 | 
            -
             | 
| 1929 | 
            -
             | 
| 1930 | 
            -
             | 
| 1931 | 
            -
             | 
| 1932 | 
            -
             | 
| 1933 | 
            -
             | 
| 1934 | 
            -
              | 
| 1935 | 
            -
             | 
| 1936 | 
            -
             | 
| 1937 | 
            -
             | 
| 1938 | 
            -
             | 
| 1939 | 
            -
             | 
| 1940 | 
            -
             | 
| 1941 | 
            -
             | 
| 1942 | 
            -
             | 
| 1943 | 
            -
             | 
| 1944 | 
            -
              | 
| 1945 | 
            -
              | 
| 1946 | 
            -
              | 
| 1947 | 
            -
             | 
| 1948 | 
            -
             | 
| 1949 | 
            -
            } | 
| 1950 | 
            -
             | 
| 1951 | 
            -
             | 
| 1952 | 
            -
             | 
| 1953 | 
            -
             | 
| 1954 | 
            -
              | 
| 1955 | 
            -
             */
         | 
| 1956 | 
            -
            proto.gitpod.v1.PrebuildStatus.prototype.setPhase = function(value) {
         | 
| 1957 | 
            -
              return jspb.Message.setProto3EnumField(this, 1, value);
         | 
| 1958 | 
            -
            };
         | 
| 1959 | 
            -
             | 
| 1960 | 
            -
             | 
| 1961 | 
            -
            /**
         | 
| 1962 | 
            -
             * optional Result result = 2;
         | 
| 1963 | 
            -
             * @return {!proto.gitpod.v1.PrebuildStatus.Result}
         | 
| 1964 | 
            -
             */
         | 
| 1965 | 
            -
            proto.gitpod.v1.PrebuildStatus.prototype.getResult = function() {
         | 
| 1966 | 
            -
              return /** @type {!proto.gitpod.v1.PrebuildStatus.Result} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
         | 
| 1967 | 
            -
            };
         | 
| 1968 | 
            -
             | 
| 1969 | 
            -
             | 
| 1970 | 
            -
            /**
         | 
| 1971 | 
            -
             * @param {!proto.gitpod.v1.PrebuildStatus.Result} value
         | 
| 1972 | 
            -
             * @return {!proto.gitpod.v1.PrebuildStatus} returns this
         | 
| 1973 | 
            -
             */
         | 
| 1974 | 
            -
            proto.gitpod.v1.PrebuildStatus.prototype.setResult = function(value) {
         | 
| 1975 | 
            -
              return jspb.Message.setProto3EnumField(this, 2, value);
         | 
| 1976 | 
            -
            };
         | 
| 1977 | 
            -
             | 
| 1978 | 
            -
             | 
| 1979 | 
            -
            /**
         | 
| 1980 | 
            -
             * optional string result_message = 3;
         | 
| 1981 | 
            -
             * @return {string}
         | 
| 1982 | 
            -
             */
         | 
| 1983 | 
            -
            proto.gitpod.v1.PrebuildStatus.prototype.getResultMessage = function() {
         | 
| 1984 | 
            -
              return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
         | 
| 1985 | 
            -
            };
         | 
| 1986 | 
            -
             | 
| 1987 | 
            -
             | 
| 1988 | 
            -
            /**
         | 
| 1989 | 
            -
             * @param {string} value
         | 
| 1990 | 
            -
             * @return {!proto.gitpod.v1.PrebuildStatus} returns this
         | 
| 1991 | 
            -
             */
         | 
| 1992 | 
            -
            proto.gitpod.v1.PrebuildStatus.prototype.setResultMessage = function(value) {
         | 
| 1993 | 
            -
              return jspb.Message.setProto3StringField(this, 3, value);
         | 
| 1994 | 
            -
            };
         | 
| 1995 | 
            -
             | 
| 1996 | 
            -
             | 
| 1997 | 
            -
            goog.object.extend(exports, proto.gitpod.v1);
         | 
| 354 | 
            +
                static fromJson(jsonValue, options) {
         | 
| 355 | 
            +
                    return new PrebuildStatus().fromJson(jsonValue, options);
         | 
| 356 | 
            +
                }
         | 
| 357 | 
            +
                static fromJsonString(jsonString, options) {
         | 
| 358 | 
            +
                    return new PrebuildStatus().fromJsonString(jsonString, options);
         | 
| 359 | 
            +
                }
         | 
| 360 | 
            +
                static equals(a, b) {
         | 
| 361 | 
            +
                    return protobuf_1.proto3.util.equals(PrebuildStatus, a, b);
         | 
| 362 | 
            +
                }
         | 
| 363 | 
            +
            }
         | 
| 364 | 
            +
            exports.PrebuildStatus = PrebuildStatus;
         | 
| 365 | 
            +
            PrebuildStatus.runtime = protobuf_1.proto3;
         | 
| 366 | 
            +
            PrebuildStatus.typeName = "gitpod.v1.PrebuildStatus";
         | 
| 367 | 
            +
            PrebuildStatus.fields = protobuf_1.proto3.util.newFieldList(() => [
         | 
| 368 | 
            +
                { no: 1, name: "phase", kind: "enum", T: protobuf_1.proto3.getEnumType(PrebuildStatus_Phase) },
         | 
| 369 | 
            +
                { no: 2, name: "result", kind: "enum", T: protobuf_1.proto3.getEnumType(PrebuildStatus_Result) },
         | 
| 370 | 
            +
                { no: 3, name: "result_message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
         | 
| 371 | 
            +
            ]);
         | 
| 372 | 
            +
            /**
         | 
| 373 | 
            +
             * @generated from enum gitpod.v1.PrebuildStatus.Phase
         | 
| 374 | 
            +
             */
         | 
| 375 | 
            +
            var PrebuildStatus_Phase;
         | 
| 376 | 
            +
            (function (PrebuildStatus_Phase) {
         | 
| 377 | 
            +
                /**
         | 
| 378 | 
            +
                 * @generated from enum value: PHASE_UNSPECIFIED = 0;
         | 
| 379 | 
            +
                 */
         | 
| 380 | 
            +
                PrebuildStatus_Phase[PrebuildStatus_Phase["UNSPECIFIED"] = 0] = "UNSPECIFIED";
         | 
| 381 | 
            +
                /**
         | 
| 382 | 
            +
                 * @generated from enum value: PHASE_PENDING = 1;
         | 
| 383 | 
            +
                 */
         | 
| 384 | 
            +
                PrebuildStatus_Phase[PrebuildStatus_Phase["PENDING"] = 1] = "PENDING";
         | 
| 385 | 
            +
                /**
         | 
| 386 | 
            +
                 * @generated from enum value: PHASE_RUNNING = 2;
         | 
| 387 | 
            +
                 */
         | 
| 388 | 
            +
                PrebuildStatus_Phase[PrebuildStatus_Phase["RUNNING"] = 2] = "RUNNING";
         | 
| 389 | 
            +
                /**
         | 
| 390 | 
            +
                 * @generated from enum value: PHASE_DONE = 3;
         | 
| 391 | 
            +
                 */
         | 
| 392 | 
            +
                PrebuildStatus_Phase[PrebuildStatus_Phase["DONE"] = 3] = "DONE";
         | 
| 393 | 
            +
            })(PrebuildStatus_Phase = exports.PrebuildStatus_Phase || (exports.PrebuildStatus_Phase = {}));
         | 
| 394 | 
            +
            // Retrieve enum metadata with: proto3.getEnumType(PrebuildStatus_Phase)
         | 
| 395 | 
            +
            protobuf_1.proto3.util.setEnumType(PrebuildStatus_Phase, "gitpod.v1.PrebuildStatus.Phase", [
         | 
| 396 | 
            +
                { no: 0, name: "PHASE_UNSPECIFIED" },
         | 
| 397 | 
            +
                { no: 1, name: "PHASE_PENDING" },
         | 
| 398 | 
            +
                { no: 2, name: "PHASE_RUNNING" },
         | 
| 399 | 
            +
                { no: 3, name: "PHASE_DONE" },
         | 
| 400 | 
            +
            ]);
         | 
| 401 | 
            +
            /**
         | 
| 402 | 
            +
             * @generated from enum gitpod.v1.PrebuildStatus.Result
         | 
| 403 | 
            +
             */
         | 
| 404 | 
            +
            var PrebuildStatus_Result;
         | 
| 405 | 
            +
            (function (PrebuildStatus_Result) {
         | 
| 406 | 
            +
                /**
         | 
| 407 | 
            +
                 * @generated from enum value: RESULT_UNSPECIFIED = 0;
         | 
| 408 | 
            +
                 */
         | 
| 409 | 
            +
                PrebuildStatus_Result[PrebuildStatus_Result["UNSPECIFIED"] = 0] = "UNSPECIFIED";
         | 
| 410 | 
            +
                /**
         | 
| 411 | 
            +
                 * @generated from enum value: RESULT_SUCCESS = 1;
         | 
| 412 | 
            +
                 */
         | 
| 413 | 
            +
                PrebuildStatus_Result[PrebuildStatus_Result["SUCCESS"] = 1] = "SUCCESS";
         | 
| 414 | 
            +
                /**
         | 
| 415 | 
            +
                 * @generated from enum value: RESULT_USER_CANCELED = 2;
         | 
| 416 | 
            +
                 */
         | 
| 417 | 
            +
                PrebuildStatus_Result[PrebuildStatus_Result["USER_CANCELED"] = 2] = "USER_CANCELED";
         | 
| 418 | 
            +
                /**
         | 
| 419 | 
            +
                 * @generated from enum value: RESULT_SYSTEM_FAILURE = 3;
         | 
| 420 | 
            +
                 */
         | 
| 421 | 
            +
                PrebuildStatus_Result[PrebuildStatus_Result["SYSTEM_FAILURE"] = 3] = "SYSTEM_FAILURE";
         | 
| 422 | 
            +
                /**
         | 
| 423 | 
            +
                 * @generated from enum value: RESULT_TASK_FAILURE = 4;
         | 
| 424 | 
            +
                 */
         | 
| 425 | 
            +
                PrebuildStatus_Result[PrebuildStatus_Result["TASK_FAILURE"] = 4] = "TASK_FAILURE";
         | 
| 426 | 
            +
            })(PrebuildStatus_Result = exports.PrebuildStatus_Result || (exports.PrebuildStatus_Result = {}));
         | 
| 427 | 
            +
            // Retrieve enum metadata with: proto3.getEnumType(PrebuildStatus_Result)
         | 
| 428 | 
            +
            protobuf_1.proto3.util.setEnumType(PrebuildStatus_Result, "gitpod.v1.PrebuildStatus.Result", [
         | 
| 429 | 
            +
                { no: 0, name: "RESULT_UNSPECIFIED" },
         | 
| 430 | 
            +
                { no: 1, name: "RESULT_SUCCESS" },
         | 
| 431 | 
            +
                { no: 2, name: "RESULT_USER_CANCELED" },
         | 
| 432 | 
            +
                { no: 3, name: "RESULT_SYSTEM_FAILURE" },
         | 
| 433 | 
            +
                { no: 4, name: "RESULT_TASK_FAILURE" },
         | 
| 434 | 
            +
            ]);
         | 
| 435 | 
            +
            //# sourceMappingURL=prebuilds_pb.js.map
         |