modal 0.6.0 → 0.6.1
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/dist/index.cjs +1535 -569
- package/dist/index.d.cts +142 -60
- package/dist/index.d.ts +142 -60
- package/dist/index.js +1535 -569
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2655,6 +2655,36 @@ function cloudBucketMount_BucketTypeToJSON(object) {
|
|
|
2655
2655
|
return "UNRECOGNIZED";
|
|
2656
2656
|
}
|
|
2657
2657
|
}
|
|
2658
|
+
function cloudBucketMount_MetadataTTLTypeFromJSON(object) {
|
|
2659
|
+
switch (object) {
|
|
2660
|
+
case 0:
|
|
2661
|
+
case "METADATA_TTL_TYPE_UNSPECIFIED":
|
|
2662
|
+
return 0 /* METADATA_TTL_TYPE_UNSPECIFIED */;
|
|
2663
|
+
case 1:
|
|
2664
|
+
case "METADATA_TTL_TYPE_MINIMAL":
|
|
2665
|
+
return 1 /* METADATA_TTL_TYPE_MINIMAL */;
|
|
2666
|
+
case 2:
|
|
2667
|
+
case "METADATA_TTL_TYPE_INDEFINITE":
|
|
2668
|
+
return 2 /* METADATA_TTL_TYPE_INDEFINITE */;
|
|
2669
|
+
case -1:
|
|
2670
|
+
case "UNRECOGNIZED":
|
|
2671
|
+
default:
|
|
2672
|
+
return -1 /* UNRECOGNIZED */;
|
|
2673
|
+
}
|
|
2674
|
+
}
|
|
2675
|
+
function cloudBucketMount_MetadataTTLTypeToJSON(object) {
|
|
2676
|
+
switch (object) {
|
|
2677
|
+
case 0 /* METADATA_TTL_TYPE_UNSPECIFIED */:
|
|
2678
|
+
return "METADATA_TTL_TYPE_UNSPECIFIED";
|
|
2679
|
+
case 1 /* METADATA_TTL_TYPE_MINIMAL */:
|
|
2680
|
+
return "METADATA_TTL_TYPE_MINIMAL";
|
|
2681
|
+
case 2 /* METADATA_TTL_TYPE_INDEFINITE */:
|
|
2682
|
+
return "METADATA_TTL_TYPE_INDEFINITE";
|
|
2683
|
+
case -1 /* UNRECOGNIZED */:
|
|
2684
|
+
default:
|
|
2685
|
+
return "UNRECOGNIZED";
|
|
2686
|
+
}
|
|
2687
|
+
}
|
|
2658
2688
|
function fileEntry_FileTypeFromJSON(object) {
|
|
2659
2689
|
switch (object) {
|
|
2660
2690
|
case 0:
|
|
@@ -3054,7 +3084,7 @@ var AppClientDisconnectRequest = {
|
|
|
3054
3084
|
}
|
|
3055
3085
|
};
|
|
3056
3086
|
function createBaseAppCreateRequest() {
|
|
3057
|
-
return { clientId: "", description: "", environmentName: "", appState: 0 };
|
|
3087
|
+
return { clientId: "", description: "", environmentName: "", appState: 0, tags: {} };
|
|
3058
3088
|
}
|
|
3059
3089
|
var AppCreateRequest = {
|
|
3060
3090
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -3070,6 +3100,9 @@ var AppCreateRequest = {
|
|
|
3070
3100
|
if (message.appState !== 0) {
|
|
3071
3101
|
writer.uint32(48).int32(message.appState);
|
|
3072
3102
|
}
|
|
3103
|
+
Object.entries(message.tags).forEach(([key, value]) => {
|
|
3104
|
+
AppCreateRequest_TagsEntry.encode({ key, value }, writer.uint32(58).fork()).join();
|
|
3105
|
+
});
|
|
3073
3106
|
return writer;
|
|
3074
3107
|
},
|
|
3075
3108
|
decode(input, length) {
|
|
@@ -3107,6 +3140,16 @@ var AppCreateRequest = {
|
|
|
3107
3140
|
message.appState = reader.int32();
|
|
3108
3141
|
continue;
|
|
3109
3142
|
}
|
|
3143
|
+
case 7: {
|
|
3144
|
+
if (tag !== 58) {
|
|
3145
|
+
break;
|
|
3146
|
+
}
|
|
3147
|
+
const entry7 = AppCreateRequest_TagsEntry.decode(reader, reader.uint32());
|
|
3148
|
+
if (entry7.value !== void 0) {
|
|
3149
|
+
message.tags[entry7.key] = entry7.value;
|
|
3150
|
+
}
|
|
3151
|
+
continue;
|
|
3152
|
+
}
|
|
3110
3153
|
}
|
|
3111
3154
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3112
3155
|
break;
|
|
@@ -3120,7 +3163,11 @@ var AppCreateRequest = {
|
|
|
3120
3163
|
clientId: isSet4(object.clientId) ? globalThis.String(object.clientId) : "",
|
|
3121
3164
|
description: isSet4(object.description) ? globalThis.String(object.description) : "",
|
|
3122
3165
|
environmentName: isSet4(object.environmentName) ? globalThis.String(object.environmentName) : "",
|
|
3123
|
-
appState: isSet4(object.appState) ? appStateFromJSON(object.appState) : 0
|
|
3166
|
+
appState: isSet4(object.appState) ? appStateFromJSON(object.appState) : 0,
|
|
3167
|
+
tags: isObject2(object.tags) ? Object.entries(object.tags).reduce((acc, [key, value]) => {
|
|
3168
|
+
acc[key] = String(value);
|
|
3169
|
+
return acc;
|
|
3170
|
+
}, {}) : {}
|
|
3124
3171
|
};
|
|
3125
3172
|
},
|
|
3126
3173
|
toJSON(message) {
|
|
@@ -3137,6 +3184,15 @@ var AppCreateRequest = {
|
|
|
3137
3184
|
if (message.appState !== 0) {
|
|
3138
3185
|
obj.appState = appStateToJSON(message.appState);
|
|
3139
3186
|
}
|
|
3187
|
+
if (message.tags) {
|
|
3188
|
+
const entries = Object.entries(message.tags);
|
|
3189
|
+
if (entries.length > 0) {
|
|
3190
|
+
obj.tags = {};
|
|
3191
|
+
entries.forEach(([k, v]) => {
|
|
3192
|
+
obj.tags[k] = v;
|
|
3193
|
+
});
|
|
3194
|
+
}
|
|
3195
|
+
}
|
|
3140
3196
|
return obj;
|
|
3141
3197
|
},
|
|
3142
3198
|
create(base) {
|
|
@@ -3148,6 +3204,80 @@ var AppCreateRequest = {
|
|
|
3148
3204
|
message.description = object.description ?? "";
|
|
3149
3205
|
message.environmentName = object.environmentName ?? "";
|
|
3150
3206
|
message.appState = object.appState ?? 0;
|
|
3207
|
+
message.tags = Object.entries(object.tags ?? {}).reduce((acc, [key, value]) => {
|
|
3208
|
+
if (value !== void 0) {
|
|
3209
|
+
acc[key] = globalThis.String(value);
|
|
3210
|
+
}
|
|
3211
|
+
return acc;
|
|
3212
|
+
}, {});
|
|
3213
|
+
return message;
|
|
3214
|
+
}
|
|
3215
|
+
};
|
|
3216
|
+
function createBaseAppCreateRequest_TagsEntry() {
|
|
3217
|
+
return { key: "", value: "" };
|
|
3218
|
+
}
|
|
3219
|
+
var AppCreateRequest_TagsEntry = {
|
|
3220
|
+
encode(message, writer = new BinaryWriter()) {
|
|
3221
|
+
if (message.key !== "") {
|
|
3222
|
+
writer.uint32(10).string(message.key);
|
|
3223
|
+
}
|
|
3224
|
+
if (message.value !== "") {
|
|
3225
|
+
writer.uint32(18).string(message.value);
|
|
3226
|
+
}
|
|
3227
|
+
return writer;
|
|
3228
|
+
},
|
|
3229
|
+
decode(input, length) {
|
|
3230
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3231
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3232
|
+
const message = createBaseAppCreateRequest_TagsEntry();
|
|
3233
|
+
while (reader.pos < end) {
|
|
3234
|
+
const tag = reader.uint32();
|
|
3235
|
+
switch (tag >>> 3) {
|
|
3236
|
+
case 1: {
|
|
3237
|
+
if (tag !== 10) {
|
|
3238
|
+
break;
|
|
3239
|
+
}
|
|
3240
|
+
message.key = reader.string();
|
|
3241
|
+
continue;
|
|
3242
|
+
}
|
|
3243
|
+
case 2: {
|
|
3244
|
+
if (tag !== 18) {
|
|
3245
|
+
break;
|
|
3246
|
+
}
|
|
3247
|
+
message.value = reader.string();
|
|
3248
|
+
continue;
|
|
3249
|
+
}
|
|
3250
|
+
}
|
|
3251
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3252
|
+
break;
|
|
3253
|
+
}
|
|
3254
|
+
reader.skip(tag & 7);
|
|
3255
|
+
}
|
|
3256
|
+
return message;
|
|
3257
|
+
},
|
|
3258
|
+
fromJSON(object) {
|
|
3259
|
+
return {
|
|
3260
|
+
key: isSet4(object.key) ? globalThis.String(object.key) : "",
|
|
3261
|
+
value: isSet4(object.value) ? globalThis.String(object.value) : ""
|
|
3262
|
+
};
|
|
3263
|
+
},
|
|
3264
|
+
toJSON(message) {
|
|
3265
|
+
const obj = {};
|
|
3266
|
+
if (message.key !== "") {
|
|
3267
|
+
obj.key = message.key;
|
|
3268
|
+
}
|
|
3269
|
+
if (message.value !== "") {
|
|
3270
|
+
obj.value = message.value;
|
|
3271
|
+
}
|
|
3272
|
+
return obj;
|
|
3273
|
+
},
|
|
3274
|
+
create(base) {
|
|
3275
|
+
return AppCreateRequest_TagsEntry.fromPartial(base ?? {});
|
|
3276
|
+
},
|
|
3277
|
+
fromPartial(object) {
|
|
3278
|
+
const message = createBaseAppCreateRequest_TagsEntry();
|
|
3279
|
+
message.key = object.key ?? "";
|
|
3280
|
+
message.value = object.value ?? "";
|
|
3151
3281
|
return message;
|
|
3152
3282
|
}
|
|
3153
3283
|
};
|
|
@@ -3928,6 +4058,7 @@ function createBaseAppGetLogsRequest() {
|
|
|
3928
4058
|
timeout: 0,
|
|
3929
4059
|
lastEntryId: "",
|
|
3930
4060
|
functionId: "",
|
|
4061
|
+
parametrizedFunctionId: "",
|
|
3931
4062
|
inputId: "",
|
|
3932
4063
|
taskId: "",
|
|
3933
4064
|
functionCallId: "",
|
|
@@ -3949,6 +4080,9 @@ var AppGetLogsRequest = {
|
|
|
3949
4080
|
if (message.functionId !== "") {
|
|
3950
4081
|
writer.uint32(42).string(message.functionId);
|
|
3951
4082
|
}
|
|
4083
|
+
if (message.parametrizedFunctionId !== "") {
|
|
4084
|
+
writer.uint32(90).string(message.parametrizedFunctionId);
|
|
4085
|
+
}
|
|
3952
4086
|
if (message.inputId !== "") {
|
|
3953
4087
|
writer.uint32(50).string(message.inputId);
|
|
3954
4088
|
}
|
|
@@ -4001,6 +4135,13 @@ var AppGetLogsRequest = {
|
|
|
4001
4135
|
message.functionId = reader.string();
|
|
4002
4136
|
continue;
|
|
4003
4137
|
}
|
|
4138
|
+
case 11: {
|
|
4139
|
+
if (tag !== 90) {
|
|
4140
|
+
break;
|
|
4141
|
+
}
|
|
4142
|
+
message.parametrizedFunctionId = reader.string();
|
|
4143
|
+
continue;
|
|
4144
|
+
}
|
|
4004
4145
|
case 6: {
|
|
4005
4146
|
if (tag !== 50) {
|
|
4006
4147
|
break;
|
|
@@ -4050,6 +4191,7 @@ var AppGetLogsRequest = {
|
|
|
4050
4191
|
timeout: isSet4(object.timeout) ? globalThis.Number(object.timeout) : 0,
|
|
4051
4192
|
lastEntryId: isSet4(object.lastEntryId) ? globalThis.String(object.lastEntryId) : "",
|
|
4052
4193
|
functionId: isSet4(object.functionId) ? globalThis.String(object.functionId) : "",
|
|
4194
|
+
parametrizedFunctionId: isSet4(object.parametrizedFunctionId) ? globalThis.String(object.parametrizedFunctionId) : "",
|
|
4053
4195
|
inputId: isSet4(object.inputId) ? globalThis.String(object.inputId) : "",
|
|
4054
4196
|
taskId: isSet4(object.taskId) ? globalThis.String(object.taskId) : "",
|
|
4055
4197
|
functionCallId: isSet4(object.functionCallId) ? globalThis.String(object.functionCallId) : "",
|
|
@@ -4071,6 +4213,9 @@ var AppGetLogsRequest = {
|
|
|
4071
4213
|
if (message.functionId !== "") {
|
|
4072
4214
|
obj.functionId = message.functionId;
|
|
4073
4215
|
}
|
|
4216
|
+
if (message.parametrizedFunctionId !== "") {
|
|
4217
|
+
obj.parametrizedFunctionId = message.parametrizedFunctionId;
|
|
4218
|
+
}
|
|
4074
4219
|
if (message.inputId !== "") {
|
|
4075
4220
|
obj.inputId = message.inputId;
|
|
4076
4221
|
}
|
|
@@ -4097,6 +4242,7 @@ var AppGetLogsRequest = {
|
|
|
4097
4242
|
message.timeout = object.timeout ?? 0;
|
|
4098
4243
|
message.lastEntryId = object.lastEntryId ?? "";
|
|
4099
4244
|
message.functionId = object.functionId ?? "";
|
|
4245
|
+
message.parametrizedFunctionId = object.parametrizedFunctionId ?? "";
|
|
4100
4246
|
message.inputId = object.inputId ?? "";
|
|
4101
4247
|
message.taskId = object.taskId ?? "";
|
|
4102
4248
|
message.functionCallId = object.functionCallId ?? "";
|
|
@@ -7065,104 +7211,6 @@ var AutoscalerSettings = {
|
|
|
7065
7211
|
return message;
|
|
7066
7212
|
}
|
|
7067
7213
|
};
|
|
7068
|
-
function createBaseAutoscalingMetrics() {
|
|
7069
|
-
return { cpuUsagePercent: 0, memoryUsagePercent: 0, concurrentRequests: 0, timestamp: 0 };
|
|
7070
|
-
}
|
|
7071
|
-
var AutoscalingMetrics = {
|
|
7072
|
-
encode(message, writer = new BinaryWriter()) {
|
|
7073
|
-
if (message.cpuUsagePercent !== 0) {
|
|
7074
|
-
writer.uint32(9).double(message.cpuUsagePercent);
|
|
7075
|
-
}
|
|
7076
|
-
if (message.memoryUsagePercent !== 0) {
|
|
7077
|
-
writer.uint32(17).double(message.memoryUsagePercent);
|
|
7078
|
-
}
|
|
7079
|
-
if (message.concurrentRequests !== 0) {
|
|
7080
|
-
writer.uint32(24).uint32(message.concurrentRequests);
|
|
7081
|
-
}
|
|
7082
|
-
if (message.timestamp !== 0) {
|
|
7083
|
-
writer.uint32(33).double(message.timestamp);
|
|
7084
|
-
}
|
|
7085
|
-
return writer;
|
|
7086
|
-
},
|
|
7087
|
-
decode(input, length) {
|
|
7088
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
7089
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
7090
|
-
const message = createBaseAutoscalingMetrics();
|
|
7091
|
-
while (reader.pos < end) {
|
|
7092
|
-
const tag = reader.uint32();
|
|
7093
|
-
switch (tag >>> 3) {
|
|
7094
|
-
case 1: {
|
|
7095
|
-
if (tag !== 9) {
|
|
7096
|
-
break;
|
|
7097
|
-
}
|
|
7098
|
-
message.cpuUsagePercent = reader.double();
|
|
7099
|
-
continue;
|
|
7100
|
-
}
|
|
7101
|
-
case 2: {
|
|
7102
|
-
if (tag !== 17) {
|
|
7103
|
-
break;
|
|
7104
|
-
}
|
|
7105
|
-
message.memoryUsagePercent = reader.double();
|
|
7106
|
-
continue;
|
|
7107
|
-
}
|
|
7108
|
-
case 3: {
|
|
7109
|
-
if (tag !== 24) {
|
|
7110
|
-
break;
|
|
7111
|
-
}
|
|
7112
|
-
message.concurrentRequests = reader.uint32();
|
|
7113
|
-
continue;
|
|
7114
|
-
}
|
|
7115
|
-
case 4: {
|
|
7116
|
-
if (tag !== 33) {
|
|
7117
|
-
break;
|
|
7118
|
-
}
|
|
7119
|
-
message.timestamp = reader.double();
|
|
7120
|
-
continue;
|
|
7121
|
-
}
|
|
7122
|
-
}
|
|
7123
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
7124
|
-
break;
|
|
7125
|
-
}
|
|
7126
|
-
reader.skip(tag & 7);
|
|
7127
|
-
}
|
|
7128
|
-
return message;
|
|
7129
|
-
},
|
|
7130
|
-
fromJSON(object) {
|
|
7131
|
-
return {
|
|
7132
|
-
cpuUsagePercent: isSet4(object.cpuUsagePercent) ? globalThis.Number(object.cpuUsagePercent) : 0,
|
|
7133
|
-
memoryUsagePercent: isSet4(object.memoryUsagePercent) ? globalThis.Number(object.memoryUsagePercent) : 0,
|
|
7134
|
-
concurrentRequests: isSet4(object.concurrentRequests) ? globalThis.Number(object.concurrentRequests) : 0,
|
|
7135
|
-
timestamp: isSet4(object.timestamp) ? globalThis.Number(object.timestamp) : 0
|
|
7136
|
-
};
|
|
7137
|
-
},
|
|
7138
|
-
toJSON(message) {
|
|
7139
|
-
const obj = {};
|
|
7140
|
-
if (message.cpuUsagePercent !== 0) {
|
|
7141
|
-
obj.cpuUsagePercent = message.cpuUsagePercent;
|
|
7142
|
-
}
|
|
7143
|
-
if (message.memoryUsagePercent !== 0) {
|
|
7144
|
-
obj.memoryUsagePercent = message.memoryUsagePercent;
|
|
7145
|
-
}
|
|
7146
|
-
if (message.concurrentRequests !== 0) {
|
|
7147
|
-
obj.concurrentRequests = Math.round(message.concurrentRequests);
|
|
7148
|
-
}
|
|
7149
|
-
if (message.timestamp !== 0) {
|
|
7150
|
-
obj.timestamp = message.timestamp;
|
|
7151
|
-
}
|
|
7152
|
-
return obj;
|
|
7153
|
-
},
|
|
7154
|
-
create(base) {
|
|
7155
|
-
return AutoscalingMetrics.fromPartial(base ?? {});
|
|
7156
|
-
},
|
|
7157
|
-
fromPartial(object) {
|
|
7158
|
-
const message = createBaseAutoscalingMetrics();
|
|
7159
|
-
message.cpuUsagePercent = object.cpuUsagePercent ?? 0;
|
|
7160
|
-
message.memoryUsagePercent = object.memoryUsagePercent ?? 0;
|
|
7161
|
-
message.concurrentRequests = object.concurrentRequests ?? 0;
|
|
7162
|
-
message.timestamp = object.timestamp ?? 0;
|
|
7163
|
-
return message;
|
|
7164
|
-
}
|
|
7165
|
-
};
|
|
7166
7214
|
function createBaseBaseImage() {
|
|
7167
7215
|
return { imageId: "", dockerTag: "" };
|
|
7168
7216
|
}
|
|
@@ -7635,7 +7683,7 @@ var BuildFunction = {
|
|
|
7635
7683
|
}
|
|
7636
7684
|
};
|
|
7637
7685
|
function createBaseCancelInputEvent() {
|
|
7638
|
-
return { inputIds: [], terminateContainers: false };
|
|
7686
|
+
return { inputIds: [], terminateContainers: false, cancellationReason: "" };
|
|
7639
7687
|
}
|
|
7640
7688
|
var CancelInputEvent = {
|
|
7641
7689
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -7645,6 +7693,9 @@ var CancelInputEvent = {
|
|
|
7645
7693
|
if (message.terminateContainers !== false) {
|
|
7646
7694
|
writer.uint32(16).bool(message.terminateContainers);
|
|
7647
7695
|
}
|
|
7696
|
+
if (message.cancellationReason !== "") {
|
|
7697
|
+
writer.uint32(26).string(message.cancellationReason);
|
|
7698
|
+
}
|
|
7648
7699
|
return writer;
|
|
7649
7700
|
},
|
|
7650
7701
|
decode(input, length) {
|
|
@@ -7668,6 +7719,13 @@ var CancelInputEvent = {
|
|
|
7668
7719
|
message.terminateContainers = reader.bool();
|
|
7669
7720
|
continue;
|
|
7670
7721
|
}
|
|
7722
|
+
case 3: {
|
|
7723
|
+
if (tag !== 26) {
|
|
7724
|
+
break;
|
|
7725
|
+
}
|
|
7726
|
+
message.cancellationReason = reader.string();
|
|
7727
|
+
continue;
|
|
7728
|
+
}
|
|
7671
7729
|
}
|
|
7672
7730
|
if ((tag & 7) === 4 || tag === 0) {
|
|
7673
7731
|
break;
|
|
@@ -7679,7 +7737,8 @@ var CancelInputEvent = {
|
|
|
7679
7737
|
fromJSON(object) {
|
|
7680
7738
|
return {
|
|
7681
7739
|
inputIds: globalThis.Array.isArray(object?.inputIds) ? object.inputIds.map((e) => globalThis.String(e)) : [],
|
|
7682
|
-
terminateContainers: isSet4(object.terminateContainers) ? globalThis.Boolean(object.terminateContainers) : false
|
|
7740
|
+
terminateContainers: isSet4(object.terminateContainers) ? globalThis.Boolean(object.terminateContainers) : false,
|
|
7741
|
+
cancellationReason: isSet4(object.cancellationReason) ? globalThis.String(object.cancellationReason) : ""
|
|
7683
7742
|
};
|
|
7684
7743
|
},
|
|
7685
7744
|
toJSON(message) {
|
|
@@ -7690,6 +7749,9 @@ var CancelInputEvent = {
|
|
|
7690
7749
|
if (message.terminateContainers !== false) {
|
|
7691
7750
|
obj.terminateContainers = message.terminateContainers;
|
|
7692
7751
|
}
|
|
7752
|
+
if (message.cancellationReason !== "") {
|
|
7753
|
+
obj.cancellationReason = message.cancellationReason;
|
|
7754
|
+
}
|
|
7693
7755
|
return obj;
|
|
7694
7756
|
},
|
|
7695
7757
|
create(base) {
|
|
@@ -7699,6 +7761,7 @@ var CancelInputEvent = {
|
|
|
7699
7761
|
const message = createBaseCancelInputEvent();
|
|
7700
7762
|
message.inputIds = object.inputIds?.map((e) => e) || [];
|
|
7701
7763
|
message.terminateContainers = object.terminateContainers ?? false;
|
|
7764
|
+
message.cancellationReason = object.cancellationReason ?? "";
|
|
7702
7765
|
return message;
|
|
7703
7766
|
}
|
|
7704
7767
|
};
|
|
@@ -8930,7 +8993,10 @@ function createBaseCloudBucketMount() {
|
|
|
8930
8993
|
requesterPays: false,
|
|
8931
8994
|
bucketEndpointUrl: void 0,
|
|
8932
8995
|
keyPrefix: void 0,
|
|
8933
|
-
oidcAuthRoleArn: void 0
|
|
8996
|
+
oidcAuthRoleArn: void 0,
|
|
8997
|
+
forcePathStyle: false,
|
|
8998
|
+
metadataTtlType: void 0,
|
|
8999
|
+
metadataTtlSeconds: void 0
|
|
8934
9000
|
};
|
|
8935
9001
|
}
|
|
8936
9002
|
var CloudBucketMount = {
|
|
@@ -8962,6 +9028,15 @@ var CloudBucketMount = {
|
|
|
8962
9028
|
if (message.oidcAuthRoleArn !== void 0) {
|
|
8963
9029
|
writer.uint32(74).string(message.oidcAuthRoleArn);
|
|
8964
9030
|
}
|
|
9031
|
+
if (message.forcePathStyle !== false) {
|
|
9032
|
+
writer.uint32(80).bool(message.forcePathStyle);
|
|
9033
|
+
}
|
|
9034
|
+
if (message.metadataTtlType !== void 0) {
|
|
9035
|
+
writer.uint32(88).int32(message.metadataTtlType);
|
|
9036
|
+
}
|
|
9037
|
+
if (message.metadataTtlSeconds !== void 0) {
|
|
9038
|
+
writer.uint32(96).uint64(message.metadataTtlSeconds);
|
|
9039
|
+
}
|
|
8965
9040
|
return writer;
|
|
8966
9041
|
},
|
|
8967
9042
|
decode(input, length) {
|
|
@@ -9034,6 +9109,27 @@ var CloudBucketMount = {
|
|
|
9034
9109
|
message.oidcAuthRoleArn = reader.string();
|
|
9035
9110
|
continue;
|
|
9036
9111
|
}
|
|
9112
|
+
case 10: {
|
|
9113
|
+
if (tag !== 80) {
|
|
9114
|
+
break;
|
|
9115
|
+
}
|
|
9116
|
+
message.forcePathStyle = reader.bool();
|
|
9117
|
+
continue;
|
|
9118
|
+
}
|
|
9119
|
+
case 11: {
|
|
9120
|
+
if (tag !== 88) {
|
|
9121
|
+
break;
|
|
9122
|
+
}
|
|
9123
|
+
message.metadataTtlType = reader.int32();
|
|
9124
|
+
continue;
|
|
9125
|
+
}
|
|
9126
|
+
case 12: {
|
|
9127
|
+
if (tag !== 96) {
|
|
9128
|
+
break;
|
|
9129
|
+
}
|
|
9130
|
+
message.metadataTtlSeconds = longToNumber2(reader.uint64());
|
|
9131
|
+
continue;
|
|
9132
|
+
}
|
|
9037
9133
|
}
|
|
9038
9134
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9039
9135
|
break;
|
|
@@ -9052,7 +9148,10 @@ var CloudBucketMount = {
|
|
|
9052
9148
|
requesterPays: isSet4(object.requesterPays) ? globalThis.Boolean(object.requesterPays) : false,
|
|
9053
9149
|
bucketEndpointUrl: isSet4(object.bucketEndpointUrl) ? globalThis.String(object.bucketEndpointUrl) : void 0,
|
|
9054
9150
|
keyPrefix: isSet4(object.keyPrefix) ? globalThis.String(object.keyPrefix) : void 0,
|
|
9055
|
-
oidcAuthRoleArn: isSet4(object.oidcAuthRoleArn) ? globalThis.String(object.oidcAuthRoleArn) : void 0
|
|
9151
|
+
oidcAuthRoleArn: isSet4(object.oidcAuthRoleArn) ? globalThis.String(object.oidcAuthRoleArn) : void 0,
|
|
9152
|
+
forcePathStyle: isSet4(object.forcePathStyle) ? globalThis.Boolean(object.forcePathStyle) : false,
|
|
9153
|
+
metadataTtlType: isSet4(object.metadataTtlType) ? cloudBucketMount_MetadataTTLTypeFromJSON(object.metadataTtlType) : void 0,
|
|
9154
|
+
metadataTtlSeconds: isSet4(object.metadataTtlSeconds) ? globalThis.Number(object.metadataTtlSeconds) : void 0
|
|
9056
9155
|
};
|
|
9057
9156
|
},
|
|
9058
9157
|
toJSON(message) {
|
|
@@ -9084,6 +9183,15 @@ var CloudBucketMount = {
|
|
|
9084
9183
|
if (message.oidcAuthRoleArn !== void 0) {
|
|
9085
9184
|
obj.oidcAuthRoleArn = message.oidcAuthRoleArn;
|
|
9086
9185
|
}
|
|
9186
|
+
if (message.forcePathStyle !== false) {
|
|
9187
|
+
obj.forcePathStyle = message.forcePathStyle;
|
|
9188
|
+
}
|
|
9189
|
+
if (message.metadataTtlType !== void 0) {
|
|
9190
|
+
obj.metadataTtlType = cloudBucketMount_MetadataTTLTypeToJSON(message.metadataTtlType);
|
|
9191
|
+
}
|
|
9192
|
+
if (message.metadataTtlSeconds !== void 0) {
|
|
9193
|
+
obj.metadataTtlSeconds = Math.round(message.metadataTtlSeconds);
|
|
9194
|
+
}
|
|
9087
9195
|
return obj;
|
|
9088
9196
|
},
|
|
9089
9197
|
create(base) {
|
|
@@ -9100,6 +9208,9 @@ var CloudBucketMount = {
|
|
|
9100
9208
|
message.bucketEndpointUrl = object.bucketEndpointUrl ?? void 0;
|
|
9101
9209
|
message.keyPrefix = object.keyPrefix ?? void 0;
|
|
9102
9210
|
message.oidcAuthRoleArn = object.oidcAuthRoleArn ?? void 0;
|
|
9211
|
+
message.forcePathStyle = object.forcePathStyle ?? false;
|
|
9212
|
+
message.metadataTtlType = object.metadataTtlType ?? void 0;
|
|
9213
|
+
message.metadataTtlSeconds = object.metadataTtlSeconds ?? void 0;
|
|
9103
9214
|
return message;
|
|
9104
9215
|
}
|
|
9105
9216
|
};
|
|
@@ -14260,7 +14371,18 @@ var EnvironmentGetOrCreateResponse = {
|
|
|
14260
14371
|
}
|
|
14261
14372
|
};
|
|
14262
14373
|
function createBaseEnvironmentListItem() {
|
|
14263
|
-
return {
|
|
14374
|
+
return {
|
|
14375
|
+
name: "",
|
|
14376
|
+
webhookSuffix: "",
|
|
14377
|
+
createdAt: 0,
|
|
14378
|
+
default: false,
|
|
14379
|
+
isManaged: false,
|
|
14380
|
+
environmentId: "",
|
|
14381
|
+
maxConcurrentTasks: void 0,
|
|
14382
|
+
maxConcurrentGpus: void 0,
|
|
14383
|
+
currentConcurrentTasks: 0,
|
|
14384
|
+
currentConcurrentGpus: 0
|
|
14385
|
+
};
|
|
14264
14386
|
}
|
|
14265
14387
|
var EnvironmentListItem = {
|
|
14266
14388
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -14282,6 +14404,18 @@ var EnvironmentListItem = {
|
|
|
14282
14404
|
if (message.environmentId !== "") {
|
|
14283
14405
|
writer.uint32(50).string(message.environmentId);
|
|
14284
14406
|
}
|
|
14407
|
+
if (message.maxConcurrentTasks !== void 0) {
|
|
14408
|
+
writer.uint32(56).int32(message.maxConcurrentTasks);
|
|
14409
|
+
}
|
|
14410
|
+
if (message.maxConcurrentGpus !== void 0) {
|
|
14411
|
+
writer.uint32(64).int32(message.maxConcurrentGpus);
|
|
14412
|
+
}
|
|
14413
|
+
if (message.currentConcurrentTasks !== 0) {
|
|
14414
|
+
writer.uint32(72).int32(message.currentConcurrentTasks);
|
|
14415
|
+
}
|
|
14416
|
+
if (message.currentConcurrentGpus !== 0) {
|
|
14417
|
+
writer.uint32(80).int32(message.currentConcurrentGpus);
|
|
14418
|
+
}
|
|
14285
14419
|
return writer;
|
|
14286
14420
|
},
|
|
14287
14421
|
decode(input, length) {
|
|
@@ -14333,6 +14467,34 @@ var EnvironmentListItem = {
|
|
|
14333
14467
|
message.environmentId = reader.string();
|
|
14334
14468
|
continue;
|
|
14335
14469
|
}
|
|
14470
|
+
case 7: {
|
|
14471
|
+
if (tag !== 56) {
|
|
14472
|
+
break;
|
|
14473
|
+
}
|
|
14474
|
+
message.maxConcurrentTasks = reader.int32();
|
|
14475
|
+
continue;
|
|
14476
|
+
}
|
|
14477
|
+
case 8: {
|
|
14478
|
+
if (tag !== 64) {
|
|
14479
|
+
break;
|
|
14480
|
+
}
|
|
14481
|
+
message.maxConcurrentGpus = reader.int32();
|
|
14482
|
+
continue;
|
|
14483
|
+
}
|
|
14484
|
+
case 9: {
|
|
14485
|
+
if (tag !== 72) {
|
|
14486
|
+
break;
|
|
14487
|
+
}
|
|
14488
|
+
message.currentConcurrentTasks = reader.int32();
|
|
14489
|
+
continue;
|
|
14490
|
+
}
|
|
14491
|
+
case 10: {
|
|
14492
|
+
if (tag !== 80) {
|
|
14493
|
+
break;
|
|
14494
|
+
}
|
|
14495
|
+
message.currentConcurrentGpus = reader.int32();
|
|
14496
|
+
continue;
|
|
14497
|
+
}
|
|
14336
14498
|
}
|
|
14337
14499
|
if ((tag & 7) === 4 || tag === 0) {
|
|
14338
14500
|
break;
|
|
@@ -14348,7 +14510,11 @@ var EnvironmentListItem = {
|
|
|
14348
14510
|
createdAt: isSet4(object.createdAt) ? globalThis.Number(object.createdAt) : 0,
|
|
14349
14511
|
default: isSet4(object.default) ? globalThis.Boolean(object.default) : false,
|
|
14350
14512
|
isManaged: isSet4(object.isManaged) ? globalThis.Boolean(object.isManaged) : false,
|
|
14351
|
-
environmentId: isSet4(object.environmentId) ? globalThis.String(object.environmentId) : ""
|
|
14513
|
+
environmentId: isSet4(object.environmentId) ? globalThis.String(object.environmentId) : "",
|
|
14514
|
+
maxConcurrentTasks: isSet4(object.maxConcurrentTasks) ? globalThis.Number(object.maxConcurrentTasks) : void 0,
|
|
14515
|
+
maxConcurrentGpus: isSet4(object.maxConcurrentGpus) ? globalThis.Number(object.maxConcurrentGpus) : void 0,
|
|
14516
|
+
currentConcurrentTasks: isSet4(object.currentConcurrentTasks) ? globalThis.Number(object.currentConcurrentTasks) : 0,
|
|
14517
|
+
currentConcurrentGpus: isSet4(object.currentConcurrentGpus) ? globalThis.Number(object.currentConcurrentGpus) : 0
|
|
14352
14518
|
};
|
|
14353
14519
|
},
|
|
14354
14520
|
toJSON(message) {
|
|
@@ -14371,6 +14537,18 @@ var EnvironmentListItem = {
|
|
|
14371
14537
|
if (message.environmentId !== "") {
|
|
14372
14538
|
obj.environmentId = message.environmentId;
|
|
14373
14539
|
}
|
|
14540
|
+
if (message.maxConcurrentTasks !== void 0) {
|
|
14541
|
+
obj.maxConcurrentTasks = Math.round(message.maxConcurrentTasks);
|
|
14542
|
+
}
|
|
14543
|
+
if (message.maxConcurrentGpus !== void 0) {
|
|
14544
|
+
obj.maxConcurrentGpus = Math.round(message.maxConcurrentGpus);
|
|
14545
|
+
}
|
|
14546
|
+
if (message.currentConcurrentTasks !== 0) {
|
|
14547
|
+
obj.currentConcurrentTasks = Math.round(message.currentConcurrentTasks);
|
|
14548
|
+
}
|
|
14549
|
+
if (message.currentConcurrentGpus !== 0) {
|
|
14550
|
+
obj.currentConcurrentGpus = Math.round(message.currentConcurrentGpus);
|
|
14551
|
+
}
|
|
14374
14552
|
return obj;
|
|
14375
14553
|
},
|
|
14376
14554
|
create(base) {
|
|
@@ -14384,6 +14562,10 @@ var EnvironmentListItem = {
|
|
|
14384
14562
|
message.default = object.default ?? false;
|
|
14385
14563
|
message.isManaged = object.isManaged ?? false;
|
|
14386
14564
|
message.environmentId = object.environmentId ?? "";
|
|
14565
|
+
message.maxConcurrentTasks = object.maxConcurrentTasks ?? void 0;
|
|
14566
|
+
message.maxConcurrentGpus = object.maxConcurrentGpus ?? void 0;
|
|
14567
|
+
message.currentConcurrentTasks = object.currentConcurrentTasks ?? 0;
|
|
14568
|
+
message.currentConcurrentGpus = object.currentConcurrentGpus ?? 0;
|
|
14387
14569
|
return message;
|
|
14388
14570
|
}
|
|
14389
14571
|
};
|
|
@@ -14577,7 +14759,13 @@ var EnvironmentSettings = {
|
|
|
14577
14759
|
}
|
|
14578
14760
|
};
|
|
14579
14761
|
function createBaseEnvironmentUpdateRequest() {
|
|
14580
|
-
return {
|
|
14762
|
+
return {
|
|
14763
|
+
currentName: "",
|
|
14764
|
+
name: void 0,
|
|
14765
|
+
webSuffix: void 0,
|
|
14766
|
+
maxConcurrentTasks: void 0,
|
|
14767
|
+
maxConcurrentGpus: void 0
|
|
14768
|
+
};
|
|
14581
14769
|
}
|
|
14582
14770
|
var EnvironmentUpdateRequest = {
|
|
14583
14771
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -14590,6 +14778,12 @@ var EnvironmentUpdateRequest = {
|
|
|
14590
14778
|
if (message.webSuffix !== void 0) {
|
|
14591
14779
|
StringValue.encode({ value: message.webSuffix }, writer.uint32(26).fork()).join();
|
|
14592
14780
|
}
|
|
14781
|
+
if (message.maxConcurrentTasks !== void 0) {
|
|
14782
|
+
writer.uint32(32).int32(message.maxConcurrentTasks);
|
|
14783
|
+
}
|
|
14784
|
+
if (message.maxConcurrentGpus !== void 0) {
|
|
14785
|
+
writer.uint32(40).int32(message.maxConcurrentGpus);
|
|
14786
|
+
}
|
|
14593
14787
|
return writer;
|
|
14594
14788
|
},
|
|
14595
14789
|
decode(input, length) {
|
|
@@ -14620,6 +14814,20 @@ var EnvironmentUpdateRequest = {
|
|
|
14620
14814
|
message.webSuffix = StringValue.decode(reader, reader.uint32()).value;
|
|
14621
14815
|
continue;
|
|
14622
14816
|
}
|
|
14817
|
+
case 4: {
|
|
14818
|
+
if (tag !== 32) {
|
|
14819
|
+
break;
|
|
14820
|
+
}
|
|
14821
|
+
message.maxConcurrentTasks = reader.int32();
|
|
14822
|
+
continue;
|
|
14823
|
+
}
|
|
14824
|
+
case 5: {
|
|
14825
|
+
if (tag !== 40) {
|
|
14826
|
+
break;
|
|
14827
|
+
}
|
|
14828
|
+
message.maxConcurrentGpus = reader.int32();
|
|
14829
|
+
continue;
|
|
14830
|
+
}
|
|
14623
14831
|
}
|
|
14624
14832
|
if ((tag & 7) === 4 || tag === 0) {
|
|
14625
14833
|
break;
|
|
@@ -14632,7 +14840,9 @@ var EnvironmentUpdateRequest = {
|
|
|
14632
14840
|
return {
|
|
14633
14841
|
currentName: isSet4(object.currentName) ? globalThis.String(object.currentName) : "",
|
|
14634
14842
|
name: isSet4(object.name) ? String(object.name) : void 0,
|
|
14635
|
-
webSuffix: isSet4(object.webSuffix) ? String(object.webSuffix) : void 0
|
|
14843
|
+
webSuffix: isSet4(object.webSuffix) ? String(object.webSuffix) : void 0,
|
|
14844
|
+
maxConcurrentTasks: isSet4(object.maxConcurrentTasks) ? globalThis.Number(object.maxConcurrentTasks) : void 0,
|
|
14845
|
+
maxConcurrentGpus: isSet4(object.maxConcurrentGpus) ? globalThis.Number(object.maxConcurrentGpus) : void 0
|
|
14636
14846
|
};
|
|
14637
14847
|
},
|
|
14638
14848
|
toJSON(message) {
|
|
@@ -14646,6 +14856,12 @@ var EnvironmentUpdateRequest = {
|
|
|
14646
14856
|
if (message.webSuffix !== void 0) {
|
|
14647
14857
|
obj.webSuffix = message.webSuffix;
|
|
14648
14858
|
}
|
|
14859
|
+
if (message.maxConcurrentTasks !== void 0) {
|
|
14860
|
+
obj.maxConcurrentTasks = Math.round(message.maxConcurrentTasks);
|
|
14861
|
+
}
|
|
14862
|
+
if (message.maxConcurrentGpus !== void 0) {
|
|
14863
|
+
obj.maxConcurrentGpus = Math.round(message.maxConcurrentGpus);
|
|
14864
|
+
}
|
|
14649
14865
|
return obj;
|
|
14650
14866
|
},
|
|
14651
14867
|
create(base) {
|
|
@@ -14656,6 +14872,8 @@ var EnvironmentUpdateRequest = {
|
|
|
14656
14872
|
message.currentName = object.currentName ?? "";
|
|
14657
14873
|
message.name = object.name ?? void 0;
|
|
14658
14874
|
message.webSuffix = object.webSuffix ?? void 0;
|
|
14875
|
+
message.maxConcurrentTasks = object.maxConcurrentTasks ?? void 0;
|
|
14876
|
+
message.maxConcurrentGpus = object.maxConcurrentGpus ?? void 0;
|
|
14659
14877
|
return message;
|
|
14660
14878
|
}
|
|
14661
14879
|
};
|
|
@@ -15438,7 +15656,11 @@ function createBaseFunctionMessage() {
|
|
|
15438
15656
|
enableGpuSnapshot: false,
|
|
15439
15657
|
startupTimeoutSecs: 0,
|
|
15440
15658
|
supportedInputFormats: [],
|
|
15441
|
-
supportedOutputFormats: []
|
|
15659
|
+
supportedOutputFormats: [],
|
|
15660
|
+
httpConfig: void 0,
|
|
15661
|
+
implementationName: "",
|
|
15662
|
+
singleUseContainers: false,
|
|
15663
|
+
isServer: false
|
|
15442
15664
|
};
|
|
15443
15665
|
}
|
|
15444
15666
|
var FunctionMessage = {
|
|
@@ -15672,6 +15894,18 @@ var FunctionMessage = {
|
|
|
15672
15894
|
writer.int32(v);
|
|
15673
15895
|
}
|
|
15674
15896
|
writer.join();
|
|
15897
|
+
if (message.httpConfig !== void 0) {
|
|
15898
|
+
HTTPConfig.encode(message.httpConfig, writer.uint32(714).fork()).join();
|
|
15899
|
+
}
|
|
15900
|
+
if (message.implementationName !== "") {
|
|
15901
|
+
writer.uint32(722).string(message.implementationName);
|
|
15902
|
+
}
|
|
15903
|
+
if (message.singleUseContainers !== false) {
|
|
15904
|
+
writer.uint32(728).bool(message.singleUseContainers);
|
|
15905
|
+
}
|
|
15906
|
+
if (message.isServer !== false) {
|
|
15907
|
+
writer.uint32(736).bool(message.isServer);
|
|
15908
|
+
}
|
|
15675
15909
|
return writer;
|
|
15676
15910
|
},
|
|
15677
15911
|
decode(input, length) {
|
|
@@ -16226,6 +16460,34 @@ var FunctionMessage = {
|
|
|
16226
16460
|
}
|
|
16227
16461
|
break;
|
|
16228
16462
|
}
|
|
16463
|
+
case 89: {
|
|
16464
|
+
if (tag !== 714) {
|
|
16465
|
+
break;
|
|
16466
|
+
}
|
|
16467
|
+
message.httpConfig = HTTPConfig.decode(reader, reader.uint32());
|
|
16468
|
+
continue;
|
|
16469
|
+
}
|
|
16470
|
+
case 90: {
|
|
16471
|
+
if (tag !== 722) {
|
|
16472
|
+
break;
|
|
16473
|
+
}
|
|
16474
|
+
message.implementationName = reader.string();
|
|
16475
|
+
continue;
|
|
16476
|
+
}
|
|
16477
|
+
case 91: {
|
|
16478
|
+
if (tag !== 728) {
|
|
16479
|
+
break;
|
|
16480
|
+
}
|
|
16481
|
+
message.singleUseContainers = reader.bool();
|
|
16482
|
+
continue;
|
|
16483
|
+
}
|
|
16484
|
+
case 92: {
|
|
16485
|
+
if (tag !== 736) {
|
|
16486
|
+
break;
|
|
16487
|
+
}
|
|
16488
|
+
message.isServer = reader.bool();
|
|
16489
|
+
continue;
|
|
16490
|
+
}
|
|
16229
16491
|
}
|
|
16230
16492
|
if ((tag & 7) === 4 || tag === 0) {
|
|
16231
16493
|
break;
|
|
@@ -16316,7 +16578,11 @@ var FunctionMessage = {
|
|
|
16316
16578
|
enableGpuSnapshot: isSet4(object.enableGpuSnapshot) ? globalThis.Boolean(object.enableGpuSnapshot) : false,
|
|
16317
16579
|
startupTimeoutSecs: isSet4(object.startupTimeoutSecs) ? globalThis.Number(object.startupTimeoutSecs) : 0,
|
|
16318
16580
|
supportedInputFormats: globalThis.Array.isArray(object?.supportedInputFormats) ? object.supportedInputFormats.map((e) => dataFormatFromJSON(e)) : [],
|
|
16319
|
-
supportedOutputFormats: globalThis.Array.isArray(object?.supportedOutputFormats) ? object.supportedOutputFormats.map((e) => dataFormatFromJSON(e)) : []
|
|
16581
|
+
supportedOutputFormats: globalThis.Array.isArray(object?.supportedOutputFormats) ? object.supportedOutputFormats.map((e) => dataFormatFromJSON(e)) : [],
|
|
16582
|
+
httpConfig: isSet4(object.httpConfig) ? HTTPConfig.fromJSON(object.httpConfig) : void 0,
|
|
16583
|
+
implementationName: isSet4(object.implementationName) ? globalThis.String(object.implementationName) : "",
|
|
16584
|
+
singleUseContainers: isSet4(object.singleUseContainers) ? globalThis.Boolean(object.singleUseContainers) : false,
|
|
16585
|
+
isServer: isSet4(object.isServer) ? globalThis.Boolean(object.isServer) : false
|
|
16320
16586
|
};
|
|
16321
16587
|
},
|
|
16322
16588
|
toJSON(message) {
|
|
@@ -16558,6 +16824,18 @@ var FunctionMessage = {
|
|
|
16558
16824
|
if (message.supportedOutputFormats?.length) {
|
|
16559
16825
|
obj.supportedOutputFormats = message.supportedOutputFormats.map((e) => dataFormatToJSON(e));
|
|
16560
16826
|
}
|
|
16827
|
+
if (message.httpConfig !== void 0) {
|
|
16828
|
+
obj.httpConfig = HTTPConfig.toJSON(message.httpConfig);
|
|
16829
|
+
}
|
|
16830
|
+
if (message.implementationName !== "") {
|
|
16831
|
+
obj.implementationName = message.implementationName;
|
|
16832
|
+
}
|
|
16833
|
+
if (message.singleUseContainers !== false) {
|
|
16834
|
+
obj.singleUseContainers = message.singleUseContainers;
|
|
16835
|
+
}
|
|
16836
|
+
if (message.isServer !== false) {
|
|
16837
|
+
obj.isServer = message.isServer;
|
|
16838
|
+
}
|
|
16561
16839
|
return obj;
|
|
16562
16840
|
},
|
|
16563
16841
|
create(base) {
|
|
@@ -16653,6 +16931,10 @@ var FunctionMessage = {
|
|
|
16653
16931
|
message.startupTimeoutSecs = object.startupTimeoutSecs ?? 0;
|
|
16654
16932
|
message.supportedInputFormats = object.supportedInputFormats?.map((e) => e) || [];
|
|
16655
16933
|
message.supportedOutputFormats = object.supportedOutputFormats?.map((e) => e) || [];
|
|
16934
|
+
message.httpConfig = object.httpConfig !== void 0 && object.httpConfig !== null ? HTTPConfig.fromPartial(object.httpConfig) : void 0;
|
|
16935
|
+
message.implementationName = object.implementationName ?? "";
|
|
16936
|
+
message.singleUseContainers = object.singleUseContainers ?? false;
|
|
16937
|
+
message.isServer = object.isServer ?? false;
|
|
16656
16938
|
return message;
|
|
16657
16939
|
}
|
|
16658
16940
|
};
|
|
@@ -17431,7 +17713,7 @@ var FunctionCallFromIdResponse = {
|
|
|
17431
17713
|
}
|
|
17432
17714
|
};
|
|
17433
17715
|
function createBaseFunctionCallGetDataRequest() {
|
|
17434
|
-
return { functionCallId: void 0, attemptToken: void 0, lastIndex: 0 };
|
|
17716
|
+
return { functionCallId: void 0, attemptToken: void 0, lastIndex: 0, useGaplessRead: false };
|
|
17435
17717
|
}
|
|
17436
17718
|
var FunctionCallGetDataRequest = {
|
|
17437
17719
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -17444,6 +17726,9 @@ var FunctionCallGetDataRequest = {
|
|
|
17444
17726
|
if (message.lastIndex !== 0) {
|
|
17445
17727
|
writer.uint32(16).uint64(message.lastIndex);
|
|
17446
17728
|
}
|
|
17729
|
+
if (message.useGaplessRead !== false) {
|
|
17730
|
+
writer.uint32(32).bool(message.useGaplessRead);
|
|
17731
|
+
}
|
|
17447
17732
|
return writer;
|
|
17448
17733
|
},
|
|
17449
17734
|
decode(input, length) {
|
|
@@ -17474,6 +17759,13 @@ var FunctionCallGetDataRequest = {
|
|
|
17474
17759
|
message.lastIndex = longToNumber2(reader.uint64());
|
|
17475
17760
|
continue;
|
|
17476
17761
|
}
|
|
17762
|
+
case 4: {
|
|
17763
|
+
if (tag !== 32) {
|
|
17764
|
+
break;
|
|
17765
|
+
}
|
|
17766
|
+
message.useGaplessRead = reader.bool();
|
|
17767
|
+
continue;
|
|
17768
|
+
}
|
|
17477
17769
|
}
|
|
17478
17770
|
if ((tag & 7) === 4 || tag === 0) {
|
|
17479
17771
|
break;
|
|
@@ -17486,7 +17778,8 @@ var FunctionCallGetDataRequest = {
|
|
|
17486
17778
|
return {
|
|
17487
17779
|
functionCallId: isSet4(object.functionCallId) ? globalThis.String(object.functionCallId) : void 0,
|
|
17488
17780
|
attemptToken: isSet4(object.attemptToken) ? globalThis.String(object.attemptToken) : void 0,
|
|
17489
|
-
lastIndex: isSet4(object.lastIndex) ? globalThis.Number(object.lastIndex) : 0
|
|
17781
|
+
lastIndex: isSet4(object.lastIndex) ? globalThis.Number(object.lastIndex) : 0,
|
|
17782
|
+
useGaplessRead: isSet4(object.useGaplessRead) ? globalThis.Boolean(object.useGaplessRead) : false
|
|
17490
17783
|
};
|
|
17491
17784
|
},
|
|
17492
17785
|
toJSON(message) {
|
|
@@ -17500,6 +17793,9 @@ var FunctionCallGetDataRequest = {
|
|
|
17500
17793
|
if (message.lastIndex !== 0) {
|
|
17501
17794
|
obj.lastIndex = Math.round(message.lastIndex);
|
|
17502
17795
|
}
|
|
17796
|
+
if (message.useGaplessRead !== false) {
|
|
17797
|
+
obj.useGaplessRead = message.useGaplessRead;
|
|
17798
|
+
}
|
|
17503
17799
|
return obj;
|
|
17504
17800
|
},
|
|
17505
17801
|
create(base) {
|
|
@@ -17510,6 +17806,7 @@ var FunctionCallGetDataRequest = {
|
|
|
17510
17806
|
message.functionCallId = object.functionCallId ?? void 0;
|
|
17511
17807
|
message.attemptToken = object.attemptToken ?? void 0;
|
|
17512
17808
|
message.lastIndex = object.lastIndex ?? 0;
|
|
17809
|
+
message.useGaplessRead = object.useGaplessRead ?? false;
|
|
17513
17810
|
return message;
|
|
17514
17811
|
}
|
|
17515
17812
|
};
|
|
@@ -18163,7 +18460,10 @@ function createBaseFunctionData() {
|
|
|
18163
18460
|
flashServiceLabel: "",
|
|
18164
18461
|
startupTimeoutSecs: 0,
|
|
18165
18462
|
supportedInputFormats: [],
|
|
18166
|
-
supportedOutputFormats: []
|
|
18463
|
+
supportedOutputFormats: [],
|
|
18464
|
+
httpConfig: void 0,
|
|
18465
|
+
implementationName: "",
|
|
18466
|
+
isServer: false
|
|
18167
18467
|
};
|
|
18168
18468
|
}
|
|
18169
18469
|
var FunctionData = {
|
|
@@ -18283,6 +18583,15 @@ var FunctionData = {
|
|
|
18283
18583
|
writer.int32(v);
|
|
18284
18584
|
}
|
|
18285
18585
|
writer.join();
|
|
18586
|
+
if (message.httpConfig !== void 0) {
|
|
18587
|
+
HTTPConfig.encode(message.httpConfig, writer.uint32(314).fork()).join();
|
|
18588
|
+
}
|
|
18589
|
+
if (message.implementationName !== "") {
|
|
18590
|
+
writer.uint32(322).string(message.implementationName);
|
|
18591
|
+
}
|
|
18592
|
+
if (message.isServer !== false) {
|
|
18593
|
+
writer.uint32(328).bool(message.isServer);
|
|
18594
|
+
}
|
|
18286
18595
|
return writer;
|
|
18287
18596
|
},
|
|
18288
18597
|
decode(input, length) {
|
|
@@ -18571,6 +18880,27 @@ var FunctionData = {
|
|
|
18571
18880
|
}
|
|
18572
18881
|
break;
|
|
18573
18882
|
}
|
|
18883
|
+
case 39: {
|
|
18884
|
+
if (tag !== 314) {
|
|
18885
|
+
break;
|
|
18886
|
+
}
|
|
18887
|
+
message.httpConfig = HTTPConfig.decode(reader, reader.uint32());
|
|
18888
|
+
continue;
|
|
18889
|
+
}
|
|
18890
|
+
case 40: {
|
|
18891
|
+
if (tag !== 322) {
|
|
18892
|
+
break;
|
|
18893
|
+
}
|
|
18894
|
+
message.implementationName = reader.string();
|
|
18895
|
+
continue;
|
|
18896
|
+
}
|
|
18897
|
+
case 41: {
|
|
18898
|
+
if (tag !== 328) {
|
|
18899
|
+
break;
|
|
18900
|
+
}
|
|
18901
|
+
message.isServer = reader.bool();
|
|
18902
|
+
continue;
|
|
18903
|
+
}
|
|
18574
18904
|
}
|
|
18575
18905
|
if ((tag & 7) === 4 || tag === 0) {
|
|
18576
18906
|
break;
|
|
@@ -18623,7 +18953,10 @@ var FunctionData = {
|
|
|
18623
18953
|
flashServiceLabel: isSet4(object.flashServiceLabel) ? globalThis.String(object.flashServiceLabel) : "",
|
|
18624
18954
|
startupTimeoutSecs: isSet4(object.startupTimeoutSecs) ? globalThis.Number(object.startupTimeoutSecs) : 0,
|
|
18625
18955
|
supportedInputFormats: globalThis.Array.isArray(object?.supportedInputFormats) ? object.supportedInputFormats.map((e) => dataFormatFromJSON(e)) : [],
|
|
18626
|
-
supportedOutputFormats: globalThis.Array.isArray(object?.supportedOutputFormats) ? object.supportedOutputFormats.map((e) => dataFormatFromJSON(e)) : []
|
|
18956
|
+
supportedOutputFormats: globalThis.Array.isArray(object?.supportedOutputFormats) ? object.supportedOutputFormats.map((e) => dataFormatFromJSON(e)) : [],
|
|
18957
|
+
httpConfig: isSet4(object.httpConfig) ? HTTPConfig.fromJSON(object.httpConfig) : void 0,
|
|
18958
|
+
implementationName: isSet4(object.implementationName) ? globalThis.String(object.implementationName) : "",
|
|
18959
|
+
isServer: isSet4(object.isServer) ? globalThis.Boolean(object.isServer) : false
|
|
18627
18960
|
};
|
|
18628
18961
|
},
|
|
18629
18962
|
toJSON(message) {
|
|
@@ -18751,6 +19084,15 @@ var FunctionData = {
|
|
|
18751
19084
|
if (message.supportedOutputFormats?.length) {
|
|
18752
19085
|
obj.supportedOutputFormats = message.supportedOutputFormats.map((e) => dataFormatToJSON(e));
|
|
18753
19086
|
}
|
|
19087
|
+
if (message.httpConfig !== void 0) {
|
|
19088
|
+
obj.httpConfig = HTTPConfig.toJSON(message.httpConfig);
|
|
19089
|
+
}
|
|
19090
|
+
if (message.implementationName !== "") {
|
|
19091
|
+
obj.implementationName = message.implementationName;
|
|
19092
|
+
}
|
|
19093
|
+
if (message.isServer !== false) {
|
|
19094
|
+
obj.isServer = message.isServer;
|
|
19095
|
+
}
|
|
18754
19096
|
return obj;
|
|
18755
19097
|
},
|
|
18756
19098
|
create(base) {
|
|
@@ -18808,6 +19150,9 @@ var FunctionData = {
|
|
|
18808
19150
|
message.startupTimeoutSecs = object.startupTimeoutSecs ?? 0;
|
|
18809
19151
|
message.supportedInputFormats = object.supportedInputFormats?.map((e) => e) || [];
|
|
18810
19152
|
message.supportedOutputFormats = object.supportedOutputFormats?.map((e) => e) || [];
|
|
19153
|
+
message.httpConfig = object.httpConfig !== void 0 && object.httpConfig !== null ? HTTPConfig.fromPartial(object.httpConfig) : void 0;
|
|
19154
|
+
message.implementationName = object.implementationName ?? "";
|
|
19155
|
+
message.isServer = object.isServer ?? false;
|
|
18811
19156
|
return message;
|
|
18812
19157
|
}
|
|
18813
19158
|
};
|
|
@@ -23578,6 +23923,134 @@ var GenericResult = {
|
|
|
23578
23923
|
return message;
|
|
23579
23924
|
}
|
|
23580
23925
|
};
|
|
23926
|
+
function createBaseHTTPConfig() {
|
|
23927
|
+
return { port: 0, proxyRegions: [], startupTimeout: 0, exitGracePeriod: 0, h2Enabled: false, targetConcurrency: 0 };
|
|
23928
|
+
}
|
|
23929
|
+
var HTTPConfig = {
|
|
23930
|
+
encode(message, writer = new BinaryWriter()) {
|
|
23931
|
+
if (message.port !== 0) {
|
|
23932
|
+
writer.uint32(8).uint32(message.port);
|
|
23933
|
+
}
|
|
23934
|
+
for (const v of message.proxyRegions) {
|
|
23935
|
+
writer.uint32(18).string(v);
|
|
23936
|
+
}
|
|
23937
|
+
if (message.startupTimeout !== 0) {
|
|
23938
|
+
writer.uint32(24).uint32(message.startupTimeout);
|
|
23939
|
+
}
|
|
23940
|
+
if (message.exitGracePeriod !== 0) {
|
|
23941
|
+
writer.uint32(32).uint32(message.exitGracePeriod);
|
|
23942
|
+
}
|
|
23943
|
+
if (message.h2Enabled !== false) {
|
|
23944
|
+
writer.uint32(40).bool(message.h2Enabled);
|
|
23945
|
+
}
|
|
23946
|
+
if (message.targetConcurrency !== 0) {
|
|
23947
|
+
writer.uint32(48).uint32(message.targetConcurrency);
|
|
23948
|
+
}
|
|
23949
|
+
return writer;
|
|
23950
|
+
},
|
|
23951
|
+
decode(input, length) {
|
|
23952
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
23953
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
23954
|
+
const message = createBaseHTTPConfig();
|
|
23955
|
+
while (reader.pos < end) {
|
|
23956
|
+
const tag = reader.uint32();
|
|
23957
|
+
switch (tag >>> 3) {
|
|
23958
|
+
case 1: {
|
|
23959
|
+
if (tag !== 8) {
|
|
23960
|
+
break;
|
|
23961
|
+
}
|
|
23962
|
+
message.port = reader.uint32();
|
|
23963
|
+
continue;
|
|
23964
|
+
}
|
|
23965
|
+
case 2: {
|
|
23966
|
+
if (tag !== 18) {
|
|
23967
|
+
break;
|
|
23968
|
+
}
|
|
23969
|
+
message.proxyRegions.push(reader.string());
|
|
23970
|
+
continue;
|
|
23971
|
+
}
|
|
23972
|
+
case 3: {
|
|
23973
|
+
if (tag !== 24) {
|
|
23974
|
+
break;
|
|
23975
|
+
}
|
|
23976
|
+
message.startupTimeout = reader.uint32();
|
|
23977
|
+
continue;
|
|
23978
|
+
}
|
|
23979
|
+
case 4: {
|
|
23980
|
+
if (tag !== 32) {
|
|
23981
|
+
break;
|
|
23982
|
+
}
|
|
23983
|
+
message.exitGracePeriod = reader.uint32();
|
|
23984
|
+
continue;
|
|
23985
|
+
}
|
|
23986
|
+
case 5: {
|
|
23987
|
+
if (tag !== 40) {
|
|
23988
|
+
break;
|
|
23989
|
+
}
|
|
23990
|
+
message.h2Enabled = reader.bool();
|
|
23991
|
+
continue;
|
|
23992
|
+
}
|
|
23993
|
+
case 6: {
|
|
23994
|
+
if (tag !== 48) {
|
|
23995
|
+
break;
|
|
23996
|
+
}
|
|
23997
|
+
message.targetConcurrency = reader.uint32();
|
|
23998
|
+
continue;
|
|
23999
|
+
}
|
|
24000
|
+
}
|
|
24001
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
24002
|
+
break;
|
|
24003
|
+
}
|
|
24004
|
+
reader.skip(tag & 7);
|
|
24005
|
+
}
|
|
24006
|
+
return message;
|
|
24007
|
+
},
|
|
24008
|
+
fromJSON(object) {
|
|
24009
|
+
return {
|
|
24010
|
+
port: isSet4(object.port) ? globalThis.Number(object.port) : 0,
|
|
24011
|
+
proxyRegions: globalThis.Array.isArray(object?.proxyRegions) ? object.proxyRegions.map((e) => globalThis.String(e)) : [],
|
|
24012
|
+
startupTimeout: isSet4(object.startupTimeout) ? globalThis.Number(object.startupTimeout) : 0,
|
|
24013
|
+
exitGracePeriod: isSet4(object.exitGracePeriod) ? globalThis.Number(object.exitGracePeriod) : 0,
|
|
24014
|
+
h2Enabled: isSet4(object.h2Enabled) ? globalThis.Boolean(object.h2Enabled) : false,
|
|
24015
|
+
targetConcurrency: isSet4(object.targetConcurrency) ? globalThis.Number(object.targetConcurrency) : 0
|
|
24016
|
+
};
|
|
24017
|
+
},
|
|
24018
|
+
toJSON(message) {
|
|
24019
|
+
const obj = {};
|
|
24020
|
+
if (message.port !== 0) {
|
|
24021
|
+
obj.port = Math.round(message.port);
|
|
24022
|
+
}
|
|
24023
|
+
if (message.proxyRegions?.length) {
|
|
24024
|
+
obj.proxyRegions = message.proxyRegions;
|
|
24025
|
+
}
|
|
24026
|
+
if (message.startupTimeout !== 0) {
|
|
24027
|
+
obj.startupTimeout = Math.round(message.startupTimeout);
|
|
24028
|
+
}
|
|
24029
|
+
if (message.exitGracePeriod !== 0) {
|
|
24030
|
+
obj.exitGracePeriod = Math.round(message.exitGracePeriod);
|
|
24031
|
+
}
|
|
24032
|
+
if (message.h2Enabled !== false) {
|
|
24033
|
+
obj.h2Enabled = message.h2Enabled;
|
|
24034
|
+
}
|
|
24035
|
+
if (message.targetConcurrency !== 0) {
|
|
24036
|
+
obj.targetConcurrency = Math.round(message.targetConcurrency);
|
|
24037
|
+
}
|
|
24038
|
+
return obj;
|
|
24039
|
+
},
|
|
24040
|
+
create(base) {
|
|
24041
|
+
return HTTPConfig.fromPartial(base ?? {});
|
|
24042
|
+
},
|
|
24043
|
+
fromPartial(object) {
|
|
24044
|
+
const message = createBaseHTTPConfig();
|
|
24045
|
+
message.port = object.port ?? 0;
|
|
24046
|
+
message.proxyRegions = object.proxyRegions?.map((e) => e) || [];
|
|
24047
|
+
message.startupTimeout = object.startupTimeout ?? 0;
|
|
24048
|
+
message.exitGracePeriod = object.exitGracePeriod ?? 0;
|
|
24049
|
+
message.h2Enabled = object.h2Enabled ?? false;
|
|
24050
|
+
message.targetConcurrency = object.targetConcurrency ?? 0;
|
|
24051
|
+
return message;
|
|
24052
|
+
}
|
|
24053
|
+
};
|
|
23581
24054
|
function createBaseImage() {
|
|
23582
24055
|
return {
|
|
23583
24056
|
baseImages: [],
|
|
@@ -27990,7 +28463,7 @@ var PortSpecs = {
|
|
|
27990
28463
|
}
|
|
27991
28464
|
};
|
|
27992
28465
|
function createBaseProxy() {
|
|
27993
|
-
return { name: "", createdAt: 0, environmentName: "", proxyId: "",
|
|
28466
|
+
return { name: "", createdAt: 0, environmentName: "", proxyIps: [], proxyId: "", region: "" };
|
|
27994
28467
|
}
|
|
27995
28468
|
var Proxy2 = {
|
|
27996
28469
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -28003,11 +28476,14 @@ var Proxy2 = {
|
|
|
28003
28476
|
if (message.environmentName !== "") {
|
|
28004
28477
|
writer.uint32(26).string(message.environmentName);
|
|
28005
28478
|
}
|
|
28479
|
+
for (const v of message.proxyIps) {
|
|
28480
|
+
ProxyIp.encode(v, writer.uint32(34).fork()).join();
|
|
28481
|
+
}
|
|
28006
28482
|
if (message.proxyId !== "") {
|
|
28007
28483
|
writer.uint32(42).string(message.proxyId);
|
|
28008
28484
|
}
|
|
28009
|
-
|
|
28010
|
-
|
|
28485
|
+
if (message.region !== "") {
|
|
28486
|
+
writer.uint32(50).string(message.region);
|
|
28011
28487
|
}
|
|
28012
28488
|
return writer;
|
|
28013
28489
|
},
|
|
@@ -28039,6 +28515,13 @@ var Proxy2 = {
|
|
|
28039
28515
|
message.environmentName = reader.string();
|
|
28040
28516
|
continue;
|
|
28041
28517
|
}
|
|
28518
|
+
case 4: {
|
|
28519
|
+
if (tag !== 34) {
|
|
28520
|
+
break;
|
|
28521
|
+
}
|
|
28522
|
+
message.proxyIps.push(ProxyIp.decode(reader, reader.uint32()));
|
|
28523
|
+
continue;
|
|
28524
|
+
}
|
|
28042
28525
|
case 5: {
|
|
28043
28526
|
if (tag !== 42) {
|
|
28044
28527
|
break;
|
|
@@ -28046,11 +28529,11 @@ var Proxy2 = {
|
|
|
28046
28529
|
message.proxyId = reader.string();
|
|
28047
28530
|
continue;
|
|
28048
28531
|
}
|
|
28049
|
-
case
|
|
28050
|
-
if (tag !==
|
|
28532
|
+
case 6: {
|
|
28533
|
+
if (tag !== 50) {
|
|
28051
28534
|
break;
|
|
28052
28535
|
}
|
|
28053
|
-
message.
|
|
28536
|
+
message.region = reader.string();
|
|
28054
28537
|
continue;
|
|
28055
28538
|
}
|
|
28056
28539
|
}
|
|
@@ -28066,8 +28549,9 @@ var Proxy2 = {
|
|
|
28066
28549
|
name: isSet4(object.name) ? globalThis.String(object.name) : "",
|
|
28067
28550
|
createdAt: isSet4(object.createdAt) ? globalThis.Number(object.createdAt) : 0,
|
|
28068
28551
|
environmentName: isSet4(object.environmentName) ? globalThis.String(object.environmentName) : "",
|
|
28552
|
+
proxyIps: globalThis.Array.isArray(object?.proxyIps) ? object.proxyIps.map((e) => ProxyIp.fromJSON(e)) : [],
|
|
28069
28553
|
proxyId: isSet4(object.proxyId) ? globalThis.String(object.proxyId) : "",
|
|
28070
|
-
|
|
28554
|
+
region: isSet4(object.region) ? globalThis.String(object.region) : ""
|
|
28071
28555
|
};
|
|
28072
28556
|
},
|
|
28073
28557
|
toJSON(message) {
|
|
@@ -28081,11 +28565,14 @@ var Proxy2 = {
|
|
|
28081
28565
|
if (message.environmentName !== "") {
|
|
28082
28566
|
obj.environmentName = message.environmentName;
|
|
28083
28567
|
}
|
|
28568
|
+
if (message.proxyIps?.length) {
|
|
28569
|
+
obj.proxyIps = message.proxyIps.map((e) => ProxyIp.toJSON(e));
|
|
28570
|
+
}
|
|
28084
28571
|
if (message.proxyId !== "") {
|
|
28085
28572
|
obj.proxyId = message.proxyId;
|
|
28086
28573
|
}
|
|
28087
|
-
if (message.
|
|
28088
|
-
obj.
|
|
28574
|
+
if (message.region !== "") {
|
|
28575
|
+
obj.region = message.region;
|
|
28089
28576
|
}
|
|
28090
28577
|
return obj;
|
|
28091
28578
|
},
|
|
@@ -28097,8 +28584,9 @@ var Proxy2 = {
|
|
|
28097
28584
|
message.name = object.name ?? "";
|
|
28098
28585
|
message.createdAt = object.createdAt ?? 0;
|
|
28099
28586
|
message.environmentName = object.environmentName ?? "";
|
|
28100
|
-
message.proxyId = object.proxyId ?? "";
|
|
28101
28587
|
message.proxyIps = object.proxyIps?.map((e) => ProxyIp.fromPartial(e)) || [];
|
|
28588
|
+
message.proxyId = object.proxyId ?? "";
|
|
28589
|
+
message.region = object.region ?? "";
|
|
28102
28590
|
return message;
|
|
28103
28591
|
}
|
|
28104
28592
|
};
|
|
@@ -28205,7 +28693,7 @@ var ProxyAddIpResponse = {
|
|
|
28205
28693
|
}
|
|
28206
28694
|
};
|
|
28207
28695
|
function createBaseProxyCreateRequest() {
|
|
28208
|
-
return { name: "", environmentName: "" };
|
|
28696
|
+
return { name: "", environmentName: "", region: "" };
|
|
28209
28697
|
}
|
|
28210
28698
|
var ProxyCreateRequest = {
|
|
28211
28699
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -28215,6 +28703,9 @@ var ProxyCreateRequest = {
|
|
|
28215
28703
|
if (message.environmentName !== "") {
|
|
28216
28704
|
writer.uint32(18).string(message.environmentName);
|
|
28217
28705
|
}
|
|
28706
|
+
if (message.region !== "") {
|
|
28707
|
+
writer.uint32(26).string(message.region);
|
|
28708
|
+
}
|
|
28218
28709
|
return writer;
|
|
28219
28710
|
},
|
|
28220
28711
|
decode(input, length) {
|
|
@@ -28238,6 +28729,13 @@ var ProxyCreateRequest = {
|
|
|
28238
28729
|
message.environmentName = reader.string();
|
|
28239
28730
|
continue;
|
|
28240
28731
|
}
|
|
28732
|
+
case 3: {
|
|
28733
|
+
if (tag !== 26) {
|
|
28734
|
+
break;
|
|
28735
|
+
}
|
|
28736
|
+
message.region = reader.string();
|
|
28737
|
+
continue;
|
|
28738
|
+
}
|
|
28241
28739
|
}
|
|
28242
28740
|
if ((tag & 7) === 4 || tag === 0) {
|
|
28243
28741
|
break;
|
|
@@ -28249,7 +28747,8 @@ var ProxyCreateRequest = {
|
|
|
28249
28747
|
fromJSON(object) {
|
|
28250
28748
|
return {
|
|
28251
28749
|
name: isSet4(object.name) ? globalThis.String(object.name) : "",
|
|
28252
|
-
environmentName: isSet4(object.environmentName) ? globalThis.String(object.environmentName) : ""
|
|
28750
|
+
environmentName: isSet4(object.environmentName) ? globalThis.String(object.environmentName) : "",
|
|
28751
|
+
region: isSet4(object.region) ? globalThis.String(object.region) : ""
|
|
28253
28752
|
};
|
|
28254
28753
|
},
|
|
28255
28754
|
toJSON(message) {
|
|
@@ -28260,6 +28759,9 @@ var ProxyCreateRequest = {
|
|
|
28260
28759
|
if (message.environmentName !== "") {
|
|
28261
28760
|
obj.environmentName = message.environmentName;
|
|
28262
28761
|
}
|
|
28762
|
+
if (message.region !== "") {
|
|
28763
|
+
obj.region = message.region;
|
|
28764
|
+
}
|
|
28263
28765
|
return obj;
|
|
28264
28766
|
},
|
|
28265
28767
|
create(base) {
|
|
@@ -28269,6 +28771,7 @@ var ProxyCreateRequest = {
|
|
|
28269
28771
|
const message = createBaseProxyCreateRequest();
|
|
28270
28772
|
message.name = object.name ?? "";
|
|
28271
28773
|
message.environmentName = object.environmentName ?? "";
|
|
28774
|
+
message.region = object.region ?? "";
|
|
28272
28775
|
return message;
|
|
28273
28776
|
}
|
|
28274
28777
|
};
|
|
@@ -30182,6 +30685,202 @@ var RateLimit = {
|
|
|
30182
30685
|
return message;
|
|
30183
30686
|
}
|
|
30184
30687
|
};
|
|
30688
|
+
function createBaseResourceInfo() {
|
|
30689
|
+
return { memoryMb: void 0, milliCpu: void 0, gpuType: "", memoryMbMax: 0, ephemeralDiskMb: 0, milliCpuMax: 0 };
|
|
30690
|
+
}
|
|
30691
|
+
var ResourceInfo = {
|
|
30692
|
+
encode(message, writer = new BinaryWriter()) {
|
|
30693
|
+
if (message.memoryMb !== void 0) {
|
|
30694
|
+
ResourceInfo_ResourceValue.encode(message.memoryMb, writer.uint32(10).fork()).join();
|
|
30695
|
+
}
|
|
30696
|
+
if (message.milliCpu !== void 0) {
|
|
30697
|
+
ResourceInfo_ResourceValue.encode(message.milliCpu, writer.uint32(18).fork()).join();
|
|
30698
|
+
}
|
|
30699
|
+
if (message.gpuType !== "") {
|
|
30700
|
+
writer.uint32(26).string(message.gpuType);
|
|
30701
|
+
}
|
|
30702
|
+
if (message.memoryMbMax !== 0) {
|
|
30703
|
+
writer.uint32(32).uint32(message.memoryMbMax);
|
|
30704
|
+
}
|
|
30705
|
+
if (message.ephemeralDiskMb !== 0) {
|
|
30706
|
+
writer.uint32(40).uint32(message.ephemeralDiskMb);
|
|
30707
|
+
}
|
|
30708
|
+
if (message.milliCpuMax !== 0) {
|
|
30709
|
+
writer.uint32(48).uint32(message.milliCpuMax);
|
|
30710
|
+
}
|
|
30711
|
+
return writer;
|
|
30712
|
+
},
|
|
30713
|
+
decode(input, length) {
|
|
30714
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
30715
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
30716
|
+
const message = createBaseResourceInfo();
|
|
30717
|
+
while (reader.pos < end) {
|
|
30718
|
+
const tag = reader.uint32();
|
|
30719
|
+
switch (tag >>> 3) {
|
|
30720
|
+
case 1: {
|
|
30721
|
+
if (tag !== 10) {
|
|
30722
|
+
break;
|
|
30723
|
+
}
|
|
30724
|
+
message.memoryMb = ResourceInfo_ResourceValue.decode(reader, reader.uint32());
|
|
30725
|
+
continue;
|
|
30726
|
+
}
|
|
30727
|
+
case 2: {
|
|
30728
|
+
if (tag !== 18) {
|
|
30729
|
+
break;
|
|
30730
|
+
}
|
|
30731
|
+
message.milliCpu = ResourceInfo_ResourceValue.decode(reader, reader.uint32());
|
|
30732
|
+
continue;
|
|
30733
|
+
}
|
|
30734
|
+
case 3: {
|
|
30735
|
+
if (tag !== 26) {
|
|
30736
|
+
break;
|
|
30737
|
+
}
|
|
30738
|
+
message.gpuType = reader.string();
|
|
30739
|
+
continue;
|
|
30740
|
+
}
|
|
30741
|
+
case 4: {
|
|
30742
|
+
if (tag !== 32) {
|
|
30743
|
+
break;
|
|
30744
|
+
}
|
|
30745
|
+
message.memoryMbMax = reader.uint32();
|
|
30746
|
+
continue;
|
|
30747
|
+
}
|
|
30748
|
+
case 5: {
|
|
30749
|
+
if (tag !== 40) {
|
|
30750
|
+
break;
|
|
30751
|
+
}
|
|
30752
|
+
message.ephemeralDiskMb = reader.uint32();
|
|
30753
|
+
continue;
|
|
30754
|
+
}
|
|
30755
|
+
case 6: {
|
|
30756
|
+
if (tag !== 48) {
|
|
30757
|
+
break;
|
|
30758
|
+
}
|
|
30759
|
+
message.milliCpuMax = reader.uint32();
|
|
30760
|
+
continue;
|
|
30761
|
+
}
|
|
30762
|
+
}
|
|
30763
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
30764
|
+
break;
|
|
30765
|
+
}
|
|
30766
|
+
reader.skip(tag & 7);
|
|
30767
|
+
}
|
|
30768
|
+
return message;
|
|
30769
|
+
},
|
|
30770
|
+
fromJSON(object) {
|
|
30771
|
+
return {
|
|
30772
|
+
memoryMb: isSet4(object.memoryMb) ? ResourceInfo_ResourceValue.fromJSON(object.memoryMb) : void 0,
|
|
30773
|
+
milliCpu: isSet4(object.milliCpu) ? ResourceInfo_ResourceValue.fromJSON(object.milliCpu) : void 0,
|
|
30774
|
+
gpuType: isSet4(object.gpuType) ? globalThis.String(object.gpuType) : "",
|
|
30775
|
+
memoryMbMax: isSet4(object.memoryMbMax) ? globalThis.Number(object.memoryMbMax) : 0,
|
|
30776
|
+
ephemeralDiskMb: isSet4(object.ephemeralDiskMb) ? globalThis.Number(object.ephemeralDiskMb) : 0,
|
|
30777
|
+
milliCpuMax: isSet4(object.milliCpuMax) ? globalThis.Number(object.milliCpuMax) : 0
|
|
30778
|
+
};
|
|
30779
|
+
},
|
|
30780
|
+
toJSON(message) {
|
|
30781
|
+
const obj = {};
|
|
30782
|
+
if (message.memoryMb !== void 0) {
|
|
30783
|
+
obj.memoryMb = ResourceInfo_ResourceValue.toJSON(message.memoryMb);
|
|
30784
|
+
}
|
|
30785
|
+
if (message.milliCpu !== void 0) {
|
|
30786
|
+
obj.milliCpu = ResourceInfo_ResourceValue.toJSON(message.milliCpu);
|
|
30787
|
+
}
|
|
30788
|
+
if (message.gpuType !== "") {
|
|
30789
|
+
obj.gpuType = message.gpuType;
|
|
30790
|
+
}
|
|
30791
|
+
if (message.memoryMbMax !== 0) {
|
|
30792
|
+
obj.memoryMbMax = Math.round(message.memoryMbMax);
|
|
30793
|
+
}
|
|
30794
|
+
if (message.ephemeralDiskMb !== 0) {
|
|
30795
|
+
obj.ephemeralDiskMb = Math.round(message.ephemeralDiskMb);
|
|
30796
|
+
}
|
|
30797
|
+
if (message.milliCpuMax !== 0) {
|
|
30798
|
+
obj.milliCpuMax = Math.round(message.milliCpuMax);
|
|
30799
|
+
}
|
|
30800
|
+
return obj;
|
|
30801
|
+
},
|
|
30802
|
+
create(base) {
|
|
30803
|
+
return ResourceInfo.fromPartial(base ?? {});
|
|
30804
|
+
},
|
|
30805
|
+
fromPartial(object) {
|
|
30806
|
+
const message = createBaseResourceInfo();
|
|
30807
|
+
message.memoryMb = object.memoryMb !== void 0 && object.memoryMb !== null ? ResourceInfo_ResourceValue.fromPartial(object.memoryMb) : void 0;
|
|
30808
|
+
message.milliCpu = object.milliCpu !== void 0 && object.milliCpu !== null ? ResourceInfo_ResourceValue.fromPartial(object.milliCpu) : void 0;
|
|
30809
|
+
message.gpuType = object.gpuType ?? "";
|
|
30810
|
+
message.memoryMbMax = object.memoryMbMax ?? 0;
|
|
30811
|
+
message.ephemeralDiskMb = object.ephemeralDiskMb ?? 0;
|
|
30812
|
+
message.milliCpuMax = object.milliCpuMax ?? 0;
|
|
30813
|
+
return message;
|
|
30814
|
+
}
|
|
30815
|
+
};
|
|
30816
|
+
function createBaseResourceInfo_ResourceValue() {
|
|
30817
|
+
return { value: 0, isDefault: false };
|
|
30818
|
+
}
|
|
30819
|
+
var ResourceInfo_ResourceValue = {
|
|
30820
|
+
encode(message, writer = new BinaryWriter()) {
|
|
30821
|
+
if (message.value !== 0) {
|
|
30822
|
+
writer.uint32(8).uint32(message.value);
|
|
30823
|
+
}
|
|
30824
|
+
if (message.isDefault !== false) {
|
|
30825
|
+
writer.uint32(16).bool(message.isDefault);
|
|
30826
|
+
}
|
|
30827
|
+
return writer;
|
|
30828
|
+
},
|
|
30829
|
+
decode(input, length) {
|
|
30830
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
30831
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
30832
|
+
const message = createBaseResourceInfo_ResourceValue();
|
|
30833
|
+
while (reader.pos < end) {
|
|
30834
|
+
const tag = reader.uint32();
|
|
30835
|
+
switch (tag >>> 3) {
|
|
30836
|
+
case 1: {
|
|
30837
|
+
if (tag !== 8) {
|
|
30838
|
+
break;
|
|
30839
|
+
}
|
|
30840
|
+
message.value = reader.uint32();
|
|
30841
|
+
continue;
|
|
30842
|
+
}
|
|
30843
|
+
case 2: {
|
|
30844
|
+
if (tag !== 16) {
|
|
30845
|
+
break;
|
|
30846
|
+
}
|
|
30847
|
+
message.isDefault = reader.bool();
|
|
30848
|
+
continue;
|
|
30849
|
+
}
|
|
30850
|
+
}
|
|
30851
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
30852
|
+
break;
|
|
30853
|
+
}
|
|
30854
|
+
reader.skip(tag & 7);
|
|
30855
|
+
}
|
|
30856
|
+
return message;
|
|
30857
|
+
},
|
|
30858
|
+
fromJSON(object) {
|
|
30859
|
+
return {
|
|
30860
|
+
value: isSet4(object.value) ? globalThis.Number(object.value) : 0,
|
|
30861
|
+
isDefault: isSet4(object.isDefault) ? globalThis.Boolean(object.isDefault) : false
|
|
30862
|
+
};
|
|
30863
|
+
},
|
|
30864
|
+
toJSON(message) {
|
|
30865
|
+
const obj = {};
|
|
30866
|
+
if (message.value !== 0) {
|
|
30867
|
+
obj.value = Math.round(message.value);
|
|
30868
|
+
}
|
|
30869
|
+
if (message.isDefault !== false) {
|
|
30870
|
+
obj.isDefault = message.isDefault;
|
|
30871
|
+
}
|
|
30872
|
+
return obj;
|
|
30873
|
+
},
|
|
30874
|
+
create(base) {
|
|
30875
|
+
return ResourceInfo_ResourceValue.fromPartial(base ?? {});
|
|
30876
|
+
},
|
|
30877
|
+
fromPartial(object) {
|
|
30878
|
+
const message = createBaseResourceInfo_ResourceValue();
|
|
30879
|
+
message.value = object.value ?? 0;
|
|
30880
|
+
message.isDefault = object.isDefault ?? false;
|
|
30881
|
+
return message;
|
|
30882
|
+
}
|
|
30883
|
+
};
|
|
30185
30884
|
function createBaseResources() {
|
|
30186
30885
|
return {
|
|
30187
30886
|
memoryMb: 0,
|
|
@@ -30758,7 +31457,9 @@ function createBaseSandbox() {
|
|
|
30758
31457
|
experimentalOptions: {},
|
|
30759
31458
|
preloadPathPrefixes: [],
|
|
30760
31459
|
idleTimeoutSecs: void 0,
|
|
30761
|
-
directSandboxCommandsEnabled: false
|
|
31460
|
+
directSandboxCommandsEnabled: false,
|
|
31461
|
+
RestoreInstanceType: "",
|
|
31462
|
+
customDomain: ""
|
|
30762
31463
|
};
|
|
30763
31464
|
}
|
|
30764
31465
|
var Sandbox = {
|
|
@@ -30859,6 +31560,12 @@ var Sandbox = {
|
|
|
30859
31560
|
if (message.directSandboxCommandsEnabled !== false) {
|
|
30860
31561
|
writer.uint32(272).bool(message.directSandboxCommandsEnabled);
|
|
30861
31562
|
}
|
|
31563
|
+
if (message.RestoreInstanceType !== "") {
|
|
31564
|
+
writer.uint32(282).string(message.RestoreInstanceType);
|
|
31565
|
+
}
|
|
31566
|
+
if (message.customDomain !== "") {
|
|
31567
|
+
writer.uint32(290).string(message.customDomain);
|
|
31568
|
+
}
|
|
30862
31569
|
return writer;
|
|
30863
31570
|
},
|
|
30864
31571
|
decode(input, length) {
|
|
@@ -31095,6 +31802,20 @@ var Sandbox = {
|
|
|
31095
31802
|
message.directSandboxCommandsEnabled = reader.bool();
|
|
31096
31803
|
continue;
|
|
31097
31804
|
}
|
|
31805
|
+
case 35: {
|
|
31806
|
+
if (tag !== 282) {
|
|
31807
|
+
break;
|
|
31808
|
+
}
|
|
31809
|
+
message.RestoreInstanceType = reader.string();
|
|
31810
|
+
continue;
|
|
31811
|
+
}
|
|
31812
|
+
case 36: {
|
|
31813
|
+
if (tag !== 290) {
|
|
31814
|
+
break;
|
|
31815
|
+
}
|
|
31816
|
+
message.customDomain = reader.string();
|
|
31817
|
+
continue;
|
|
31818
|
+
}
|
|
31098
31819
|
}
|
|
31099
31820
|
if ((tag & 7) === 4 || tag === 0) {
|
|
31100
31821
|
break;
|
|
@@ -31139,7 +31860,9 @@ var Sandbox = {
|
|
|
31139
31860
|
}, {}) : {},
|
|
31140
31861
|
preloadPathPrefixes: globalThis.Array.isArray(object?.preloadPathPrefixes) ? object.preloadPathPrefixes.map((e) => globalThis.String(e)) : [],
|
|
31141
31862
|
idleTimeoutSecs: isSet4(object.idleTimeoutSecs) ? globalThis.Number(object.idleTimeoutSecs) : void 0,
|
|
31142
|
-
directSandboxCommandsEnabled: isSet4(object.directSandboxCommandsEnabled) ? globalThis.Boolean(object.directSandboxCommandsEnabled) : false
|
|
31863
|
+
directSandboxCommandsEnabled: isSet4(object.directSandboxCommandsEnabled) ? globalThis.Boolean(object.directSandboxCommandsEnabled) : false,
|
|
31864
|
+
RestoreInstanceType: isSet4(object.RestoreInstanceType) ? globalThis.String(object.RestoreInstanceType) : "",
|
|
31865
|
+
customDomain: isSet4(object.customDomain) ? globalThis.String(object.customDomain) : ""
|
|
31143
31866
|
};
|
|
31144
31867
|
},
|
|
31145
31868
|
toJSON(message) {
|
|
@@ -31246,6 +31969,12 @@ var Sandbox = {
|
|
|
31246
31969
|
if (message.directSandboxCommandsEnabled !== false) {
|
|
31247
31970
|
obj.directSandboxCommandsEnabled = message.directSandboxCommandsEnabled;
|
|
31248
31971
|
}
|
|
31972
|
+
if (message.RestoreInstanceType !== "") {
|
|
31973
|
+
obj.RestoreInstanceType = message.RestoreInstanceType;
|
|
31974
|
+
}
|
|
31975
|
+
if (message.customDomain !== "") {
|
|
31976
|
+
obj.customDomain = message.customDomain;
|
|
31977
|
+
}
|
|
31249
31978
|
return obj;
|
|
31250
31979
|
},
|
|
31251
31980
|
create(base) {
|
|
@@ -31293,6 +32022,8 @@ var Sandbox = {
|
|
|
31293
32022
|
message.preloadPathPrefixes = object.preloadPathPrefixes?.map((e) => e) || [];
|
|
31294
32023
|
message.idleTimeoutSecs = object.idleTimeoutSecs ?? void 0;
|
|
31295
32024
|
message.directSandboxCommandsEnabled = object.directSandboxCommandsEnabled ?? false;
|
|
32025
|
+
message.RestoreInstanceType = object.RestoreInstanceType ?? "";
|
|
32026
|
+
message.customDomain = object.customDomain ?? "";
|
|
31296
32027
|
return message;
|
|
31297
32028
|
}
|
|
31298
32029
|
};
|
|
@@ -31626,133 +32357,14 @@ var SandboxCreateResponse = {
|
|
|
31626
32357
|
return obj;
|
|
31627
32358
|
},
|
|
31628
32359
|
create(base) {
|
|
31629
|
-
return SandboxCreateResponse.fromPartial(base ?? {});
|
|
31630
|
-
},
|
|
31631
|
-
fromPartial(object) {
|
|
31632
|
-
const message = createBaseSandboxCreateResponse();
|
|
31633
|
-
message.sandboxId = object.sandboxId ?? "";
|
|
31634
|
-
return message;
|
|
31635
|
-
}
|
|
31636
|
-
};
|
|
31637
|
-
function createBaseSandboxGetCommandRouterAccessRequest() {
|
|
31638
|
-
return { sandboxId: "" };
|
|
31639
|
-
}
|
|
31640
|
-
var SandboxGetCommandRouterAccessRequest = {
|
|
31641
|
-
encode(message, writer = new BinaryWriter()) {
|
|
31642
|
-
if (message.sandboxId !== "") {
|
|
31643
|
-
writer.uint32(10).string(message.sandboxId);
|
|
31644
|
-
}
|
|
31645
|
-
return writer;
|
|
31646
|
-
},
|
|
31647
|
-
decode(input, length) {
|
|
31648
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
31649
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
31650
|
-
const message = createBaseSandboxGetCommandRouterAccessRequest();
|
|
31651
|
-
while (reader.pos < end) {
|
|
31652
|
-
const tag = reader.uint32();
|
|
31653
|
-
switch (tag >>> 3) {
|
|
31654
|
-
case 1: {
|
|
31655
|
-
if (tag !== 10) {
|
|
31656
|
-
break;
|
|
31657
|
-
}
|
|
31658
|
-
message.sandboxId = reader.string();
|
|
31659
|
-
continue;
|
|
31660
|
-
}
|
|
31661
|
-
}
|
|
31662
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
31663
|
-
break;
|
|
31664
|
-
}
|
|
31665
|
-
reader.skip(tag & 7);
|
|
31666
|
-
}
|
|
31667
|
-
return message;
|
|
31668
|
-
},
|
|
31669
|
-
fromJSON(object) {
|
|
31670
|
-
return { sandboxId: isSet4(object.sandboxId) ? globalThis.String(object.sandboxId) : "" };
|
|
31671
|
-
},
|
|
31672
|
-
toJSON(message) {
|
|
31673
|
-
const obj = {};
|
|
31674
|
-
if (message.sandboxId !== "") {
|
|
31675
|
-
obj.sandboxId = message.sandboxId;
|
|
31676
|
-
}
|
|
31677
|
-
return obj;
|
|
31678
|
-
},
|
|
31679
|
-
create(base) {
|
|
31680
|
-
return SandboxGetCommandRouterAccessRequest.fromPartial(base ?? {});
|
|
32360
|
+
return SandboxCreateResponse.fromPartial(base ?? {});
|
|
31681
32361
|
},
|
|
31682
32362
|
fromPartial(object) {
|
|
31683
|
-
const message =
|
|
32363
|
+
const message = createBaseSandboxCreateResponse();
|
|
31684
32364
|
message.sandboxId = object.sandboxId ?? "";
|
|
31685
32365
|
return message;
|
|
31686
32366
|
}
|
|
31687
32367
|
};
|
|
31688
|
-
function createBaseSandboxGetCommandRouterAccessResponse() {
|
|
31689
|
-
return { jwt: "", url: "" };
|
|
31690
|
-
}
|
|
31691
|
-
var SandboxGetCommandRouterAccessResponse = {
|
|
31692
|
-
encode(message, writer = new BinaryWriter()) {
|
|
31693
|
-
if (message.jwt !== "") {
|
|
31694
|
-
writer.uint32(10).string(message.jwt);
|
|
31695
|
-
}
|
|
31696
|
-
if (message.url !== "") {
|
|
31697
|
-
writer.uint32(18).string(message.url);
|
|
31698
|
-
}
|
|
31699
|
-
return writer;
|
|
31700
|
-
},
|
|
31701
|
-
decode(input, length) {
|
|
31702
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
31703
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
31704
|
-
const message = createBaseSandboxGetCommandRouterAccessResponse();
|
|
31705
|
-
while (reader.pos < end) {
|
|
31706
|
-
const tag = reader.uint32();
|
|
31707
|
-
switch (tag >>> 3) {
|
|
31708
|
-
case 1: {
|
|
31709
|
-
if (tag !== 10) {
|
|
31710
|
-
break;
|
|
31711
|
-
}
|
|
31712
|
-
message.jwt = reader.string();
|
|
31713
|
-
continue;
|
|
31714
|
-
}
|
|
31715
|
-
case 2: {
|
|
31716
|
-
if (tag !== 18) {
|
|
31717
|
-
break;
|
|
31718
|
-
}
|
|
31719
|
-
message.url = reader.string();
|
|
31720
|
-
continue;
|
|
31721
|
-
}
|
|
31722
|
-
}
|
|
31723
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
31724
|
-
break;
|
|
31725
|
-
}
|
|
31726
|
-
reader.skip(tag & 7);
|
|
31727
|
-
}
|
|
31728
|
-
return message;
|
|
31729
|
-
},
|
|
31730
|
-
fromJSON(object) {
|
|
31731
|
-
return {
|
|
31732
|
-
jwt: isSet4(object.jwt) ? globalThis.String(object.jwt) : "",
|
|
31733
|
-
url: isSet4(object.url) ? globalThis.String(object.url) : ""
|
|
31734
|
-
};
|
|
31735
|
-
},
|
|
31736
|
-
toJSON(message) {
|
|
31737
|
-
const obj = {};
|
|
31738
|
-
if (message.jwt !== "") {
|
|
31739
|
-
obj.jwt = message.jwt;
|
|
31740
|
-
}
|
|
31741
|
-
if (message.url !== "") {
|
|
31742
|
-
obj.url = message.url;
|
|
31743
|
-
}
|
|
31744
|
-
return obj;
|
|
31745
|
-
},
|
|
31746
|
-
create(base) {
|
|
31747
|
-
return SandboxGetCommandRouterAccessResponse.fromPartial(base ?? {});
|
|
31748
|
-
},
|
|
31749
|
-
fromPartial(object) {
|
|
31750
|
-
const message = createBaseSandboxGetCommandRouterAccessResponse();
|
|
31751
|
-
message.jwt = object.jwt ?? "";
|
|
31752
|
-
message.url = object.url ?? "";
|
|
31753
|
-
return message;
|
|
31754
|
-
}
|
|
31755
|
-
};
|
|
31756
32368
|
function createBaseSandboxGetFromNameRequest() {
|
|
31757
32369
|
return { sandboxName: "", environmentName: "", appName: "" };
|
|
31758
32370
|
}
|
|
@@ -32473,7 +33085,19 @@ var SandboxHandleMetadata = {
|
|
|
32473
33085
|
}
|
|
32474
33086
|
};
|
|
32475
33087
|
function createBaseSandboxInfo() {
|
|
32476
|
-
return {
|
|
33088
|
+
return {
|
|
33089
|
+
id: "",
|
|
33090
|
+
createdAt: 0,
|
|
33091
|
+
taskInfo: void 0,
|
|
33092
|
+
appId: "",
|
|
33093
|
+
tags: [],
|
|
33094
|
+
name: "",
|
|
33095
|
+
imageId: "",
|
|
33096
|
+
resourceInfo: void 0,
|
|
33097
|
+
regions: [],
|
|
33098
|
+
timeoutSecs: 0,
|
|
33099
|
+
idleTimeoutSecs: void 0
|
|
33100
|
+
};
|
|
32477
33101
|
}
|
|
32478
33102
|
var SandboxInfo = {
|
|
32479
33103
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -32495,6 +33119,21 @@ var SandboxInfo = {
|
|
|
32495
33119
|
if (message.name !== "") {
|
|
32496
33120
|
writer.uint32(58).string(message.name);
|
|
32497
33121
|
}
|
|
33122
|
+
if (message.imageId !== "") {
|
|
33123
|
+
writer.uint32(66).string(message.imageId);
|
|
33124
|
+
}
|
|
33125
|
+
if (message.resourceInfo !== void 0) {
|
|
33126
|
+
ResourceInfo.encode(message.resourceInfo, writer.uint32(74).fork()).join();
|
|
33127
|
+
}
|
|
33128
|
+
for (const v of message.regions) {
|
|
33129
|
+
writer.uint32(82).string(v);
|
|
33130
|
+
}
|
|
33131
|
+
if (message.timeoutSecs !== 0) {
|
|
33132
|
+
writer.uint32(88).uint32(message.timeoutSecs);
|
|
33133
|
+
}
|
|
33134
|
+
if (message.idleTimeoutSecs !== void 0) {
|
|
33135
|
+
writer.uint32(96).uint32(message.idleTimeoutSecs);
|
|
33136
|
+
}
|
|
32498
33137
|
return writer;
|
|
32499
33138
|
},
|
|
32500
33139
|
decode(input, length) {
|
|
@@ -32546,6 +33185,41 @@ var SandboxInfo = {
|
|
|
32546
33185
|
message.name = reader.string();
|
|
32547
33186
|
continue;
|
|
32548
33187
|
}
|
|
33188
|
+
case 8: {
|
|
33189
|
+
if (tag !== 66) {
|
|
33190
|
+
break;
|
|
33191
|
+
}
|
|
33192
|
+
message.imageId = reader.string();
|
|
33193
|
+
continue;
|
|
33194
|
+
}
|
|
33195
|
+
case 9: {
|
|
33196
|
+
if (tag !== 74) {
|
|
33197
|
+
break;
|
|
33198
|
+
}
|
|
33199
|
+
message.resourceInfo = ResourceInfo.decode(reader, reader.uint32());
|
|
33200
|
+
continue;
|
|
33201
|
+
}
|
|
33202
|
+
case 10: {
|
|
33203
|
+
if (tag !== 82) {
|
|
33204
|
+
break;
|
|
33205
|
+
}
|
|
33206
|
+
message.regions.push(reader.string());
|
|
33207
|
+
continue;
|
|
33208
|
+
}
|
|
33209
|
+
case 11: {
|
|
33210
|
+
if (tag !== 88) {
|
|
33211
|
+
break;
|
|
33212
|
+
}
|
|
33213
|
+
message.timeoutSecs = reader.uint32();
|
|
33214
|
+
continue;
|
|
33215
|
+
}
|
|
33216
|
+
case 12: {
|
|
33217
|
+
if (tag !== 96) {
|
|
33218
|
+
break;
|
|
33219
|
+
}
|
|
33220
|
+
message.idleTimeoutSecs = reader.uint32();
|
|
33221
|
+
continue;
|
|
33222
|
+
}
|
|
32549
33223
|
}
|
|
32550
33224
|
if ((tag & 7) === 4 || tag === 0) {
|
|
32551
33225
|
break;
|
|
@@ -32561,7 +33235,12 @@ var SandboxInfo = {
|
|
|
32561
33235
|
taskInfo: isSet4(object.taskInfo) ? TaskInfo.fromJSON(object.taskInfo) : void 0,
|
|
32562
33236
|
appId: isSet4(object.appId) ? globalThis.String(object.appId) : "",
|
|
32563
33237
|
tags: globalThis.Array.isArray(object?.tags) ? object.tags.map((e) => SandboxTag.fromJSON(e)) : [],
|
|
32564
|
-
name: isSet4(object.name) ? globalThis.String(object.name) : ""
|
|
33238
|
+
name: isSet4(object.name) ? globalThis.String(object.name) : "",
|
|
33239
|
+
imageId: isSet4(object.imageId) ? globalThis.String(object.imageId) : "",
|
|
33240
|
+
resourceInfo: isSet4(object.resourceInfo) ? ResourceInfo.fromJSON(object.resourceInfo) : void 0,
|
|
33241
|
+
regions: globalThis.Array.isArray(object?.regions) ? object.regions.map((e) => globalThis.String(e)) : [],
|
|
33242
|
+
timeoutSecs: isSet4(object.timeoutSecs) ? globalThis.Number(object.timeoutSecs) : 0,
|
|
33243
|
+
idleTimeoutSecs: isSet4(object.idleTimeoutSecs) ? globalThis.Number(object.idleTimeoutSecs) : void 0
|
|
32565
33244
|
};
|
|
32566
33245
|
},
|
|
32567
33246
|
toJSON(message) {
|
|
@@ -32584,6 +33263,21 @@ var SandboxInfo = {
|
|
|
32584
33263
|
if (message.name !== "") {
|
|
32585
33264
|
obj.name = message.name;
|
|
32586
33265
|
}
|
|
33266
|
+
if (message.imageId !== "") {
|
|
33267
|
+
obj.imageId = message.imageId;
|
|
33268
|
+
}
|
|
33269
|
+
if (message.resourceInfo !== void 0) {
|
|
33270
|
+
obj.resourceInfo = ResourceInfo.toJSON(message.resourceInfo);
|
|
33271
|
+
}
|
|
33272
|
+
if (message.regions?.length) {
|
|
33273
|
+
obj.regions = message.regions;
|
|
33274
|
+
}
|
|
33275
|
+
if (message.timeoutSecs !== 0) {
|
|
33276
|
+
obj.timeoutSecs = Math.round(message.timeoutSecs);
|
|
33277
|
+
}
|
|
33278
|
+
if (message.idleTimeoutSecs !== void 0) {
|
|
33279
|
+
obj.idleTimeoutSecs = Math.round(message.idleTimeoutSecs);
|
|
33280
|
+
}
|
|
32587
33281
|
return obj;
|
|
32588
33282
|
},
|
|
32589
33283
|
create(base) {
|
|
@@ -32597,6 +33291,11 @@ var SandboxInfo = {
|
|
|
32597
33291
|
message.appId = object.appId ?? "";
|
|
32598
33292
|
message.tags = object.tags?.map((e) => SandboxTag.fromPartial(e)) || [];
|
|
32599
33293
|
message.name = object.name ?? "";
|
|
33294
|
+
message.imageId = object.imageId ?? "";
|
|
33295
|
+
message.resourceInfo = object.resourceInfo !== void 0 && object.resourceInfo !== null ? ResourceInfo.fromPartial(object.resourceInfo) : void 0;
|
|
33296
|
+
message.regions = object.regions?.map((e) => e) || [];
|
|
33297
|
+
message.timeoutSecs = object.timeoutSecs ?? 0;
|
|
33298
|
+
message.idleTimeoutSecs = object.idleTimeoutSecs ?? void 0;
|
|
32600
33299
|
return message;
|
|
32601
33300
|
}
|
|
32602
33301
|
};
|
|
@@ -34435,7 +35134,7 @@ var Schedule_Period = {
|
|
|
34435
35134
|
}
|
|
34436
35135
|
};
|
|
34437
35136
|
function createBaseSchedulerPlacement() {
|
|
34438
|
-
return { regions: [], Zone: void 0, Lifecycle: void 0, InstanceTypes: [] };
|
|
35137
|
+
return { regions: [], Zone: void 0, Lifecycle: void 0, InstanceTypes: [], nonpreemptible: false };
|
|
34439
35138
|
}
|
|
34440
35139
|
var SchedulerPlacement = {
|
|
34441
35140
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -34451,6 +35150,9 @@ var SchedulerPlacement = {
|
|
|
34451
35150
|
for (const v of message.InstanceTypes) {
|
|
34452
35151
|
writer.uint32(42).string(v);
|
|
34453
35152
|
}
|
|
35153
|
+
if (message.nonpreemptible !== false) {
|
|
35154
|
+
writer.uint32(48).bool(message.nonpreemptible);
|
|
35155
|
+
}
|
|
34454
35156
|
return writer;
|
|
34455
35157
|
},
|
|
34456
35158
|
decode(input, length) {
|
|
@@ -34488,6 +35190,13 @@ var SchedulerPlacement = {
|
|
|
34488
35190
|
message.InstanceTypes.push(reader.string());
|
|
34489
35191
|
continue;
|
|
34490
35192
|
}
|
|
35193
|
+
case 6: {
|
|
35194
|
+
if (tag !== 48) {
|
|
35195
|
+
break;
|
|
35196
|
+
}
|
|
35197
|
+
message.nonpreemptible = reader.bool();
|
|
35198
|
+
continue;
|
|
35199
|
+
}
|
|
34491
35200
|
}
|
|
34492
35201
|
if ((tag & 7) === 4 || tag === 0) {
|
|
34493
35202
|
break;
|
|
@@ -34501,7 +35210,8 @@ var SchedulerPlacement = {
|
|
|
34501
35210
|
regions: globalThis.Array.isArray(object?.regions) ? object.regions.map((e) => globalThis.String(e)) : [],
|
|
34502
35211
|
Zone: isSet4(object.Zone) ? globalThis.String(object.Zone) : void 0,
|
|
34503
35212
|
Lifecycle: isSet4(object.Lifecycle) ? globalThis.String(object.Lifecycle) : void 0,
|
|
34504
|
-
InstanceTypes: globalThis.Array.isArray(object?.InstanceTypes) ? object.InstanceTypes.map((e) => globalThis.String(e)) : []
|
|
35213
|
+
InstanceTypes: globalThis.Array.isArray(object?.InstanceTypes) ? object.InstanceTypes.map((e) => globalThis.String(e)) : [],
|
|
35214
|
+
nonpreemptible: isSet4(object.nonpreemptible) ? globalThis.Boolean(object.nonpreemptible) : false
|
|
34505
35215
|
};
|
|
34506
35216
|
},
|
|
34507
35217
|
toJSON(message) {
|
|
@@ -34518,6 +35228,9 @@ var SchedulerPlacement = {
|
|
|
34518
35228
|
if (message.InstanceTypes?.length) {
|
|
34519
35229
|
obj.InstanceTypes = message.InstanceTypes;
|
|
34520
35230
|
}
|
|
35231
|
+
if (message.nonpreemptible !== false) {
|
|
35232
|
+
obj.nonpreemptible = message.nonpreemptible;
|
|
35233
|
+
}
|
|
34521
35234
|
return obj;
|
|
34522
35235
|
},
|
|
34523
35236
|
create(base) {
|
|
@@ -34529,6 +35242,7 @@ var SchedulerPlacement = {
|
|
|
34529
35242
|
message.Zone = object.Zone ?? void 0;
|
|
34530
35243
|
message.Lifecycle = object.Lifecycle ?? void 0;
|
|
34531
35244
|
message.InstanceTypes = object.InstanceTypes?.map((e) => e) || [];
|
|
35245
|
+
message.nonpreemptible = object.nonpreemptible ?? false;
|
|
34532
35246
|
return message;
|
|
34533
35247
|
}
|
|
34534
35248
|
};
|
|
@@ -35196,6 +35910,89 @@ var SecretMetadata = {
|
|
|
35196
35910
|
return message;
|
|
35197
35911
|
}
|
|
35198
35912
|
};
|
|
35913
|
+
function createBaseServiceUserIdentity() {
|
|
35914
|
+
return { serviceUserId: "", serviceUserName: "", createdBy: void 0 };
|
|
35915
|
+
}
|
|
35916
|
+
var ServiceUserIdentity = {
|
|
35917
|
+
encode(message, writer = new BinaryWriter()) {
|
|
35918
|
+
if (message.serviceUserId !== "") {
|
|
35919
|
+
writer.uint32(10).string(message.serviceUserId);
|
|
35920
|
+
}
|
|
35921
|
+
if (message.serviceUserName !== "") {
|
|
35922
|
+
writer.uint32(18).string(message.serviceUserName);
|
|
35923
|
+
}
|
|
35924
|
+
if (message.createdBy !== void 0) {
|
|
35925
|
+
UserIdentity.encode(message.createdBy, writer.uint32(26).fork()).join();
|
|
35926
|
+
}
|
|
35927
|
+
return writer;
|
|
35928
|
+
},
|
|
35929
|
+
decode(input, length) {
|
|
35930
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
35931
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
35932
|
+
const message = createBaseServiceUserIdentity();
|
|
35933
|
+
while (reader.pos < end) {
|
|
35934
|
+
const tag = reader.uint32();
|
|
35935
|
+
switch (tag >>> 3) {
|
|
35936
|
+
case 1: {
|
|
35937
|
+
if (tag !== 10) {
|
|
35938
|
+
break;
|
|
35939
|
+
}
|
|
35940
|
+
message.serviceUserId = reader.string();
|
|
35941
|
+
continue;
|
|
35942
|
+
}
|
|
35943
|
+
case 2: {
|
|
35944
|
+
if (tag !== 18) {
|
|
35945
|
+
break;
|
|
35946
|
+
}
|
|
35947
|
+
message.serviceUserName = reader.string();
|
|
35948
|
+
continue;
|
|
35949
|
+
}
|
|
35950
|
+
case 3: {
|
|
35951
|
+
if (tag !== 26) {
|
|
35952
|
+
break;
|
|
35953
|
+
}
|
|
35954
|
+
message.createdBy = UserIdentity.decode(reader, reader.uint32());
|
|
35955
|
+
continue;
|
|
35956
|
+
}
|
|
35957
|
+
}
|
|
35958
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
35959
|
+
break;
|
|
35960
|
+
}
|
|
35961
|
+
reader.skip(tag & 7);
|
|
35962
|
+
}
|
|
35963
|
+
return message;
|
|
35964
|
+
},
|
|
35965
|
+
fromJSON(object) {
|
|
35966
|
+
return {
|
|
35967
|
+
serviceUserId: isSet4(object.serviceUserId) ? globalThis.String(object.serviceUserId) : "",
|
|
35968
|
+
serviceUserName: isSet4(object.serviceUserName) ? globalThis.String(object.serviceUserName) : "",
|
|
35969
|
+
createdBy: isSet4(object.createdBy) ? UserIdentity.fromJSON(object.createdBy) : void 0
|
|
35970
|
+
};
|
|
35971
|
+
},
|
|
35972
|
+
toJSON(message) {
|
|
35973
|
+
const obj = {};
|
|
35974
|
+
if (message.serviceUserId !== "") {
|
|
35975
|
+
obj.serviceUserId = message.serviceUserId;
|
|
35976
|
+
}
|
|
35977
|
+
if (message.serviceUserName !== "") {
|
|
35978
|
+
obj.serviceUserName = message.serviceUserName;
|
|
35979
|
+
}
|
|
35980
|
+
if (message.createdBy !== void 0) {
|
|
35981
|
+
obj.createdBy = UserIdentity.toJSON(message.createdBy);
|
|
35982
|
+
}
|
|
35983
|
+
return obj;
|
|
35984
|
+
},
|
|
35985
|
+
create(base) {
|
|
35986
|
+
return ServiceUserIdentity.fromPartial(base ?? {});
|
|
35987
|
+
},
|
|
35988
|
+
fromPartial(object) {
|
|
35989
|
+
const message = createBaseServiceUserIdentity();
|
|
35990
|
+
message.serviceUserId = object.serviceUserId ?? "";
|
|
35991
|
+
message.serviceUserName = object.serviceUserName ?? "";
|
|
35992
|
+
message.createdBy = object.createdBy !== void 0 && object.createdBy !== null ? UserIdentity.fromPartial(object.createdBy) : void 0;
|
|
35993
|
+
return message;
|
|
35994
|
+
}
|
|
35995
|
+
};
|
|
35199
35996
|
function createBaseSharedVolumeDeleteRequest() {
|
|
35200
35997
|
return { sharedVolumeId: "" };
|
|
35201
35998
|
}
|
|
@@ -36553,108 +37350,6 @@ var TaskCurrentInputsResponse = {
|
|
|
36553
37350
|
return message;
|
|
36554
37351
|
}
|
|
36555
37352
|
};
|
|
36556
|
-
function createBaseTaskGetAutoscalingMetricsRequest() {
|
|
36557
|
-
return { taskId: "" };
|
|
36558
|
-
}
|
|
36559
|
-
var TaskGetAutoscalingMetricsRequest = {
|
|
36560
|
-
encode(message, writer = new BinaryWriter()) {
|
|
36561
|
-
if (message.taskId !== "") {
|
|
36562
|
-
writer.uint32(10).string(message.taskId);
|
|
36563
|
-
}
|
|
36564
|
-
return writer;
|
|
36565
|
-
},
|
|
36566
|
-
decode(input, length) {
|
|
36567
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
36568
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
36569
|
-
const message = createBaseTaskGetAutoscalingMetricsRequest();
|
|
36570
|
-
while (reader.pos < end) {
|
|
36571
|
-
const tag = reader.uint32();
|
|
36572
|
-
switch (tag >>> 3) {
|
|
36573
|
-
case 1: {
|
|
36574
|
-
if (tag !== 10) {
|
|
36575
|
-
break;
|
|
36576
|
-
}
|
|
36577
|
-
message.taskId = reader.string();
|
|
36578
|
-
continue;
|
|
36579
|
-
}
|
|
36580
|
-
}
|
|
36581
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
36582
|
-
break;
|
|
36583
|
-
}
|
|
36584
|
-
reader.skip(tag & 7);
|
|
36585
|
-
}
|
|
36586
|
-
return message;
|
|
36587
|
-
},
|
|
36588
|
-
fromJSON(object) {
|
|
36589
|
-
return { taskId: isSet4(object.taskId) ? globalThis.String(object.taskId) : "" };
|
|
36590
|
-
},
|
|
36591
|
-
toJSON(message) {
|
|
36592
|
-
const obj = {};
|
|
36593
|
-
if (message.taskId !== "") {
|
|
36594
|
-
obj.taskId = message.taskId;
|
|
36595
|
-
}
|
|
36596
|
-
return obj;
|
|
36597
|
-
},
|
|
36598
|
-
create(base) {
|
|
36599
|
-
return TaskGetAutoscalingMetricsRequest.fromPartial(base ?? {});
|
|
36600
|
-
},
|
|
36601
|
-
fromPartial(object) {
|
|
36602
|
-
const message = createBaseTaskGetAutoscalingMetricsRequest();
|
|
36603
|
-
message.taskId = object.taskId ?? "";
|
|
36604
|
-
return message;
|
|
36605
|
-
}
|
|
36606
|
-
};
|
|
36607
|
-
function createBaseTaskGetAutoscalingMetricsResponse() {
|
|
36608
|
-
return { metrics: void 0 };
|
|
36609
|
-
}
|
|
36610
|
-
var TaskGetAutoscalingMetricsResponse = {
|
|
36611
|
-
encode(message, writer = new BinaryWriter()) {
|
|
36612
|
-
if (message.metrics !== void 0) {
|
|
36613
|
-
AutoscalingMetrics.encode(message.metrics, writer.uint32(10).fork()).join();
|
|
36614
|
-
}
|
|
36615
|
-
return writer;
|
|
36616
|
-
},
|
|
36617
|
-
decode(input, length) {
|
|
36618
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
36619
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
36620
|
-
const message = createBaseTaskGetAutoscalingMetricsResponse();
|
|
36621
|
-
while (reader.pos < end) {
|
|
36622
|
-
const tag = reader.uint32();
|
|
36623
|
-
switch (tag >>> 3) {
|
|
36624
|
-
case 1: {
|
|
36625
|
-
if (tag !== 10) {
|
|
36626
|
-
break;
|
|
36627
|
-
}
|
|
36628
|
-
message.metrics = AutoscalingMetrics.decode(reader, reader.uint32());
|
|
36629
|
-
continue;
|
|
36630
|
-
}
|
|
36631
|
-
}
|
|
36632
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
36633
|
-
break;
|
|
36634
|
-
}
|
|
36635
|
-
reader.skip(tag & 7);
|
|
36636
|
-
}
|
|
36637
|
-
return message;
|
|
36638
|
-
},
|
|
36639
|
-
fromJSON(object) {
|
|
36640
|
-
return { metrics: isSet4(object.metrics) ? AutoscalingMetrics.fromJSON(object.metrics) : void 0 };
|
|
36641
|
-
},
|
|
36642
|
-
toJSON(message) {
|
|
36643
|
-
const obj = {};
|
|
36644
|
-
if (message.metrics !== void 0) {
|
|
36645
|
-
obj.metrics = AutoscalingMetrics.toJSON(message.metrics);
|
|
36646
|
-
}
|
|
36647
|
-
return obj;
|
|
36648
|
-
},
|
|
36649
|
-
create(base) {
|
|
36650
|
-
return TaskGetAutoscalingMetricsResponse.fromPartial(base ?? {});
|
|
36651
|
-
},
|
|
36652
|
-
fromPartial(object) {
|
|
36653
|
-
const message = createBaseTaskGetAutoscalingMetricsResponse();
|
|
36654
|
-
message.metrics = object.metrics !== void 0 && object.metrics !== null ? AutoscalingMetrics.fromPartial(object.metrics) : void 0;
|
|
36655
|
-
return message;
|
|
36656
|
-
}
|
|
36657
|
-
};
|
|
36658
37353
|
function createBaseTaskGetCommandRouterAccessRequest() {
|
|
36659
37354
|
return { taskId: "" };
|
|
36660
37355
|
}
|
|
@@ -38165,6 +38860,194 @@ var TokenFlowWaitResponse = {
|
|
|
38165
38860
|
return message;
|
|
38166
38861
|
}
|
|
38167
38862
|
};
|
|
38863
|
+
function createBaseTokenInfoGetRequest() {
|
|
38864
|
+
return {};
|
|
38865
|
+
}
|
|
38866
|
+
var TokenInfoGetRequest = {
|
|
38867
|
+
encode(_, writer = new BinaryWriter()) {
|
|
38868
|
+
return writer;
|
|
38869
|
+
},
|
|
38870
|
+
decode(input, length) {
|
|
38871
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
38872
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
38873
|
+
const message = createBaseTokenInfoGetRequest();
|
|
38874
|
+
while (reader.pos < end) {
|
|
38875
|
+
const tag = reader.uint32();
|
|
38876
|
+
switch (tag >>> 3) {
|
|
38877
|
+
}
|
|
38878
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
38879
|
+
break;
|
|
38880
|
+
}
|
|
38881
|
+
reader.skip(tag & 7);
|
|
38882
|
+
}
|
|
38883
|
+
return message;
|
|
38884
|
+
},
|
|
38885
|
+
fromJSON(_) {
|
|
38886
|
+
return {};
|
|
38887
|
+
},
|
|
38888
|
+
toJSON(_) {
|
|
38889
|
+
const obj = {};
|
|
38890
|
+
return obj;
|
|
38891
|
+
},
|
|
38892
|
+
create(base) {
|
|
38893
|
+
return TokenInfoGetRequest.fromPartial(base ?? {});
|
|
38894
|
+
},
|
|
38895
|
+
fromPartial(_) {
|
|
38896
|
+
const message = createBaseTokenInfoGetRequest();
|
|
38897
|
+
return message;
|
|
38898
|
+
}
|
|
38899
|
+
};
|
|
38900
|
+
function createBaseTokenInfoGetResponse() {
|
|
38901
|
+
return {
|
|
38902
|
+
tokenId: "",
|
|
38903
|
+
workspaceId: "",
|
|
38904
|
+
workspaceName: "",
|
|
38905
|
+
userIdentity: void 0,
|
|
38906
|
+
serviceUserIdentity: void 0,
|
|
38907
|
+
createdAt: void 0,
|
|
38908
|
+
expiresAt: void 0
|
|
38909
|
+
};
|
|
38910
|
+
}
|
|
38911
|
+
var TokenInfoGetResponse = {
|
|
38912
|
+
encode(message, writer = new BinaryWriter()) {
|
|
38913
|
+
if (message.tokenId !== "") {
|
|
38914
|
+
writer.uint32(10).string(message.tokenId);
|
|
38915
|
+
}
|
|
38916
|
+
if (message.workspaceId !== "") {
|
|
38917
|
+
writer.uint32(18).string(message.workspaceId);
|
|
38918
|
+
}
|
|
38919
|
+
if (message.workspaceName !== "") {
|
|
38920
|
+
writer.uint32(26).string(message.workspaceName);
|
|
38921
|
+
}
|
|
38922
|
+
if (message.userIdentity !== void 0) {
|
|
38923
|
+
UserIdentity.encode(message.userIdentity, writer.uint32(34).fork()).join();
|
|
38924
|
+
}
|
|
38925
|
+
if (message.serviceUserIdentity !== void 0) {
|
|
38926
|
+
ServiceUserIdentity.encode(message.serviceUserIdentity, writer.uint32(42).fork()).join();
|
|
38927
|
+
}
|
|
38928
|
+
if (message.createdAt !== void 0) {
|
|
38929
|
+
Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(50).fork()).join();
|
|
38930
|
+
}
|
|
38931
|
+
if (message.expiresAt !== void 0) {
|
|
38932
|
+
Timestamp.encode(toTimestamp(message.expiresAt), writer.uint32(58).fork()).join();
|
|
38933
|
+
}
|
|
38934
|
+
return writer;
|
|
38935
|
+
},
|
|
38936
|
+
decode(input, length) {
|
|
38937
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
38938
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
38939
|
+
const message = createBaseTokenInfoGetResponse();
|
|
38940
|
+
while (reader.pos < end) {
|
|
38941
|
+
const tag = reader.uint32();
|
|
38942
|
+
switch (tag >>> 3) {
|
|
38943
|
+
case 1: {
|
|
38944
|
+
if (tag !== 10) {
|
|
38945
|
+
break;
|
|
38946
|
+
}
|
|
38947
|
+
message.tokenId = reader.string();
|
|
38948
|
+
continue;
|
|
38949
|
+
}
|
|
38950
|
+
case 2: {
|
|
38951
|
+
if (tag !== 18) {
|
|
38952
|
+
break;
|
|
38953
|
+
}
|
|
38954
|
+
message.workspaceId = reader.string();
|
|
38955
|
+
continue;
|
|
38956
|
+
}
|
|
38957
|
+
case 3: {
|
|
38958
|
+
if (tag !== 26) {
|
|
38959
|
+
break;
|
|
38960
|
+
}
|
|
38961
|
+
message.workspaceName = reader.string();
|
|
38962
|
+
continue;
|
|
38963
|
+
}
|
|
38964
|
+
case 4: {
|
|
38965
|
+
if (tag !== 34) {
|
|
38966
|
+
break;
|
|
38967
|
+
}
|
|
38968
|
+
message.userIdentity = UserIdentity.decode(reader, reader.uint32());
|
|
38969
|
+
continue;
|
|
38970
|
+
}
|
|
38971
|
+
case 5: {
|
|
38972
|
+
if (tag !== 42) {
|
|
38973
|
+
break;
|
|
38974
|
+
}
|
|
38975
|
+
message.serviceUserIdentity = ServiceUserIdentity.decode(reader, reader.uint32());
|
|
38976
|
+
continue;
|
|
38977
|
+
}
|
|
38978
|
+
case 6: {
|
|
38979
|
+
if (tag !== 50) {
|
|
38980
|
+
break;
|
|
38981
|
+
}
|
|
38982
|
+
message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
38983
|
+
continue;
|
|
38984
|
+
}
|
|
38985
|
+
case 7: {
|
|
38986
|
+
if (tag !== 58) {
|
|
38987
|
+
break;
|
|
38988
|
+
}
|
|
38989
|
+
message.expiresAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
38990
|
+
continue;
|
|
38991
|
+
}
|
|
38992
|
+
}
|
|
38993
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
38994
|
+
break;
|
|
38995
|
+
}
|
|
38996
|
+
reader.skip(tag & 7);
|
|
38997
|
+
}
|
|
38998
|
+
return message;
|
|
38999
|
+
},
|
|
39000
|
+
fromJSON(object) {
|
|
39001
|
+
return {
|
|
39002
|
+
tokenId: isSet4(object.tokenId) ? globalThis.String(object.tokenId) : "",
|
|
39003
|
+
workspaceId: isSet4(object.workspaceId) ? globalThis.String(object.workspaceId) : "",
|
|
39004
|
+
workspaceName: isSet4(object.workspaceName) ? globalThis.String(object.workspaceName) : "",
|
|
39005
|
+
userIdentity: isSet4(object.userIdentity) ? UserIdentity.fromJSON(object.userIdentity) : void 0,
|
|
39006
|
+
serviceUserIdentity: isSet4(object.serviceUserIdentity) ? ServiceUserIdentity.fromJSON(object.serviceUserIdentity) : void 0,
|
|
39007
|
+
createdAt: isSet4(object.createdAt) ? fromJsonTimestamp(object.createdAt) : void 0,
|
|
39008
|
+
expiresAt: isSet4(object.expiresAt) ? fromJsonTimestamp(object.expiresAt) : void 0
|
|
39009
|
+
};
|
|
39010
|
+
},
|
|
39011
|
+
toJSON(message) {
|
|
39012
|
+
const obj = {};
|
|
39013
|
+
if (message.tokenId !== "") {
|
|
39014
|
+
obj.tokenId = message.tokenId;
|
|
39015
|
+
}
|
|
39016
|
+
if (message.workspaceId !== "") {
|
|
39017
|
+
obj.workspaceId = message.workspaceId;
|
|
39018
|
+
}
|
|
39019
|
+
if (message.workspaceName !== "") {
|
|
39020
|
+
obj.workspaceName = message.workspaceName;
|
|
39021
|
+
}
|
|
39022
|
+
if (message.userIdentity !== void 0) {
|
|
39023
|
+
obj.userIdentity = UserIdentity.toJSON(message.userIdentity);
|
|
39024
|
+
}
|
|
39025
|
+
if (message.serviceUserIdentity !== void 0) {
|
|
39026
|
+
obj.serviceUserIdentity = ServiceUserIdentity.toJSON(message.serviceUserIdentity);
|
|
39027
|
+
}
|
|
39028
|
+
if (message.createdAt !== void 0) {
|
|
39029
|
+
obj.createdAt = message.createdAt.toISOString();
|
|
39030
|
+
}
|
|
39031
|
+
if (message.expiresAt !== void 0) {
|
|
39032
|
+
obj.expiresAt = message.expiresAt.toISOString();
|
|
39033
|
+
}
|
|
39034
|
+
return obj;
|
|
39035
|
+
},
|
|
39036
|
+
create(base) {
|
|
39037
|
+
return TokenInfoGetResponse.fromPartial(base ?? {});
|
|
39038
|
+
},
|
|
39039
|
+
fromPartial(object) {
|
|
39040
|
+
const message = createBaseTokenInfoGetResponse();
|
|
39041
|
+
message.tokenId = object.tokenId ?? "";
|
|
39042
|
+
message.workspaceId = object.workspaceId ?? "";
|
|
39043
|
+
message.workspaceName = object.workspaceName ?? "";
|
|
39044
|
+
message.userIdentity = object.userIdentity !== void 0 && object.userIdentity !== null ? UserIdentity.fromPartial(object.userIdentity) : void 0;
|
|
39045
|
+
message.serviceUserIdentity = object.serviceUserIdentity !== void 0 && object.serviceUserIdentity !== null ? ServiceUserIdentity.fromPartial(object.serviceUserIdentity) : void 0;
|
|
39046
|
+
message.createdAt = object.createdAt ?? void 0;
|
|
39047
|
+
message.expiresAt = object.expiresAt ?? void 0;
|
|
39048
|
+
return message;
|
|
39049
|
+
}
|
|
39050
|
+
};
|
|
38168
39051
|
function createBaseTunnelData() {
|
|
38169
39052
|
return { host: "", port: 0, unencryptedHost: void 0, unencryptedPort: void 0, containerPort: 0 };
|
|
38170
39053
|
}
|
|
@@ -38222,13 +39105,199 @@ var TunnelData = {
|
|
|
38222
39105
|
message.unencryptedPort = reader.uint32();
|
|
38223
39106
|
continue;
|
|
38224
39107
|
}
|
|
38225
|
-
case 5: {
|
|
38226
|
-
if (tag !== 40) {
|
|
38227
|
-
break;
|
|
38228
|
-
}
|
|
38229
|
-
message.containerPort = reader.uint32();
|
|
38230
|
-
continue;
|
|
38231
|
-
}
|
|
39108
|
+
case 5: {
|
|
39109
|
+
if (tag !== 40) {
|
|
39110
|
+
break;
|
|
39111
|
+
}
|
|
39112
|
+
message.containerPort = reader.uint32();
|
|
39113
|
+
continue;
|
|
39114
|
+
}
|
|
39115
|
+
}
|
|
39116
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
39117
|
+
break;
|
|
39118
|
+
}
|
|
39119
|
+
reader.skip(tag & 7);
|
|
39120
|
+
}
|
|
39121
|
+
return message;
|
|
39122
|
+
},
|
|
39123
|
+
fromJSON(object) {
|
|
39124
|
+
return {
|
|
39125
|
+
host: isSet4(object.host) ? globalThis.String(object.host) : "",
|
|
39126
|
+
port: isSet4(object.port) ? globalThis.Number(object.port) : 0,
|
|
39127
|
+
unencryptedHost: isSet4(object.unencryptedHost) ? globalThis.String(object.unencryptedHost) : void 0,
|
|
39128
|
+
unencryptedPort: isSet4(object.unencryptedPort) ? globalThis.Number(object.unencryptedPort) : void 0,
|
|
39129
|
+
containerPort: isSet4(object.containerPort) ? globalThis.Number(object.containerPort) : 0
|
|
39130
|
+
};
|
|
39131
|
+
},
|
|
39132
|
+
toJSON(message) {
|
|
39133
|
+
const obj = {};
|
|
39134
|
+
if (message.host !== "") {
|
|
39135
|
+
obj.host = message.host;
|
|
39136
|
+
}
|
|
39137
|
+
if (message.port !== 0) {
|
|
39138
|
+
obj.port = Math.round(message.port);
|
|
39139
|
+
}
|
|
39140
|
+
if (message.unencryptedHost !== void 0) {
|
|
39141
|
+
obj.unencryptedHost = message.unencryptedHost;
|
|
39142
|
+
}
|
|
39143
|
+
if (message.unencryptedPort !== void 0) {
|
|
39144
|
+
obj.unencryptedPort = Math.round(message.unencryptedPort);
|
|
39145
|
+
}
|
|
39146
|
+
if (message.containerPort !== 0) {
|
|
39147
|
+
obj.containerPort = Math.round(message.containerPort);
|
|
39148
|
+
}
|
|
39149
|
+
return obj;
|
|
39150
|
+
},
|
|
39151
|
+
create(base) {
|
|
39152
|
+
return TunnelData.fromPartial(base ?? {});
|
|
39153
|
+
},
|
|
39154
|
+
fromPartial(object) {
|
|
39155
|
+
const message = createBaseTunnelData();
|
|
39156
|
+
message.host = object.host ?? "";
|
|
39157
|
+
message.port = object.port ?? 0;
|
|
39158
|
+
message.unencryptedHost = object.unencryptedHost ?? void 0;
|
|
39159
|
+
message.unencryptedPort = object.unencryptedPort ?? void 0;
|
|
39160
|
+
message.containerPort = object.containerPort ?? 0;
|
|
39161
|
+
return message;
|
|
39162
|
+
}
|
|
39163
|
+
};
|
|
39164
|
+
function createBaseTunnelStartRequest() {
|
|
39165
|
+
return { port: 0, unencrypted: false, tunnelType: void 0 };
|
|
39166
|
+
}
|
|
39167
|
+
var TunnelStartRequest = {
|
|
39168
|
+
encode(message, writer = new BinaryWriter()) {
|
|
39169
|
+
if (message.port !== 0) {
|
|
39170
|
+
writer.uint32(8).uint32(message.port);
|
|
39171
|
+
}
|
|
39172
|
+
if (message.unencrypted !== false) {
|
|
39173
|
+
writer.uint32(16).bool(message.unencrypted);
|
|
39174
|
+
}
|
|
39175
|
+
if (message.tunnelType !== void 0) {
|
|
39176
|
+
writer.uint32(24).int32(message.tunnelType);
|
|
39177
|
+
}
|
|
39178
|
+
return writer;
|
|
39179
|
+
},
|
|
39180
|
+
decode(input, length) {
|
|
39181
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
39182
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
39183
|
+
const message = createBaseTunnelStartRequest();
|
|
39184
|
+
while (reader.pos < end) {
|
|
39185
|
+
const tag = reader.uint32();
|
|
39186
|
+
switch (tag >>> 3) {
|
|
39187
|
+
case 1: {
|
|
39188
|
+
if (tag !== 8) {
|
|
39189
|
+
break;
|
|
39190
|
+
}
|
|
39191
|
+
message.port = reader.uint32();
|
|
39192
|
+
continue;
|
|
39193
|
+
}
|
|
39194
|
+
case 2: {
|
|
39195
|
+
if (tag !== 16) {
|
|
39196
|
+
break;
|
|
39197
|
+
}
|
|
39198
|
+
message.unencrypted = reader.bool();
|
|
39199
|
+
continue;
|
|
39200
|
+
}
|
|
39201
|
+
case 3: {
|
|
39202
|
+
if (tag !== 24) {
|
|
39203
|
+
break;
|
|
39204
|
+
}
|
|
39205
|
+
message.tunnelType = reader.int32();
|
|
39206
|
+
continue;
|
|
39207
|
+
}
|
|
39208
|
+
}
|
|
39209
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
39210
|
+
break;
|
|
39211
|
+
}
|
|
39212
|
+
reader.skip(tag & 7);
|
|
39213
|
+
}
|
|
39214
|
+
return message;
|
|
39215
|
+
},
|
|
39216
|
+
fromJSON(object) {
|
|
39217
|
+
return {
|
|
39218
|
+
port: isSet4(object.port) ? globalThis.Number(object.port) : 0,
|
|
39219
|
+
unencrypted: isSet4(object.unencrypted) ? globalThis.Boolean(object.unencrypted) : false,
|
|
39220
|
+
tunnelType: isSet4(object.tunnelType) ? tunnelTypeFromJSON(object.tunnelType) : void 0
|
|
39221
|
+
};
|
|
39222
|
+
},
|
|
39223
|
+
toJSON(message) {
|
|
39224
|
+
const obj = {};
|
|
39225
|
+
if (message.port !== 0) {
|
|
39226
|
+
obj.port = Math.round(message.port);
|
|
39227
|
+
}
|
|
39228
|
+
if (message.unencrypted !== false) {
|
|
39229
|
+
obj.unencrypted = message.unencrypted;
|
|
39230
|
+
}
|
|
39231
|
+
if (message.tunnelType !== void 0) {
|
|
39232
|
+
obj.tunnelType = tunnelTypeToJSON(message.tunnelType);
|
|
39233
|
+
}
|
|
39234
|
+
return obj;
|
|
39235
|
+
},
|
|
39236
|
+
create(base) {
|
|
39237
|
+
return TunnelStartRequest.fromPartial(base ?? {});
|
|
39238
|
+
},
|
|
39239
|
+
fromPartial(object) {
|
|
39240
|
+
const message = createBaseTunnelStartRequest();
|
|
39241
|
+
message.port = object.port ?? 0;
|
|
39242
|
+
message.unencrypted = object.unencrypted ?? false;
|
|
39243
|
+
message.tunnelType = object.tunnelType ?? void 0;
|
|
39244
|
+
return message;
|
|
39245
|
+
}
|
|
39246
|
+
};
|
|
39247
|
+
function createBaseTunnelStartResponse() {
|
|
39248
|
+
return { host: "", port: 0, unencryptedHost: void 0, unencryptedPort: void 0 };
|
|
39249
|
+
}
|
|
39250
|
+
var TunnelStartResponse = {
|
|
39251
|
+
encode(message, writer = new BinaryWriter()) {
|
|
39252
|
+
if (message.host !== "") {
|
|
39253
|
+
writer.uint32(10).string(message.host);
|
|
39254
|
+
}
|
|
39255
|
+
if (message.port !== 0) {
|
|
39256
|
+
writer.uint32(16).uint32(message.port);
|
|
39257
|
+
}
|
|
39258
|
+
if (message.unencryptedHost !== void 0) {
|
|
39259
|
+
writer.uint32(26).string(message.unencryptedHost);
|
|
39260
|
+
}
|
|
39261
|
+
if (message.unencryptedPort !== void 0) {
|
|
39262
|
+
writer.uint32(32).uint32(message.unencryptedPort);
|
|
39263
|
+
}
|
|
39264
|
+
return writer;
|
|
39265
|
+
},
|
|
39266
|
+
decode(input, length) {
|
|
39267
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
39268
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
39269
|
+
const message = createBaseTunnelStartResponse();
|
|
39270
|
+
while (reader.pos < end) {
|
|
39271
|
+
const tag = reader.uint32();
|
|
39272
|
+
switch (tag >>> 3) {
|
|
39273
|
+
case 1: {
|
|
39274
|
+
if (tag !== 10) {
|
|
39275
|
+
break;
|
|
39276
|
+
}
|
|
39277
|
+
message.host = reader.string();
|
|
39278
|
+
continue;
|
|
39279
|
+
}
|
|
39280
|
+
case 2: {
|
|
39281
|
+
if (tag !== 16) {
|
|
39282
|
+
break;
|
|
39283
|
+
}
|
|
39284
|
+
message.port = reader.uint32();
|
|
39285
|
+
continue;
|
|
39286
|
+
}
|
|
39287
|
+
case 3: {
|
|
39288
|
+
if (tag !== 26) {
|
|
39289
|
+
break;
|
|
39290
|
+
}
|
|
39291
|
+
message.unencryptedHost = reader.string();
|
|
39292
|
+
continue;
|
|
39293
|
+
}
|
|
39294
|
+
case 4: {
|
|
39295
|
+
if (tag !== 32) {
|
|
39296
|
+
break;
|
|
39297
|
+
}
|
|
39298
|
+
message.unencryptedPort = reader.uint32();
|
|
39299
|
+
continue;
|
|
39300
|
+
}
|
|
38232
39301
|
}
|
|
38233
39302
|
if ((tag & 7) === 4 || tag === 0) {
|
|
38234
39303
|
break;
|
|
@@ -38242,8 +39311,7 @@ var TunnelData = {
|
|
|
38242
39311
|
host: isSet4(object.host) ? globalThis.String(object.host) : "",
|
|
38243
39312
|
port: isSet4(object.port) ? globalThis.Number(object.port) : 0,
|
|
38244
39313
|
unencryptedHost: isSet4(object.unencryptedHost) ? globalThis.String(object.unencryptedHost) : void 0,
|
|
38245
|
-
unencryptedPort: isSet4(object.unencryptedPort) ? globalThis.Number(object.unencryptedPort) : void 0
|
|
38246
|
-
containerPort: isSet4(object.containerPort) ? globalThis.Number(object.containerPort) : 0
|
|
39314
|
+
unencryptedPort: isSet4(object.unencryptedPort) ? globalThis.Number(object.unencryptedPort) : void 0
|
|
38247
39315
|
};
|
|
38248
39316
|
},
|
|
38249
39317
|
toJSON(message) {
|
|
@@ -38260,44 +39328,34 @@ var TunnelData = {
|
|
|
38260
39328
|
if (message.unencryptedPort !== void 0) {
|
|
38261
39329
|
obj.unencryptedPort = Math.round(message.unencryptedPort);
|
|
38262
39330
|
}
|
|
38263
|
-
if (message.containerPort !== 0) {
|
|
38264
|
-
obj.containerPort = Math.round(message.containerPort);
|
|
38265
|
-
}
|
|
38266
39331
|
return obj;
|
|
38267
39332
|
},
|
|
38268
39333
|
create(base) {
|
|
38269
|
-
return
|
|
39334
|
+
return TunnelStartResponse.fromPartial(base ?? {});
|
|
38270
39335
|
},
|
|
38271
39336
|
fromPartial(object) {
|
|
38272
|
-
const message =
|
|
39337
|
+
const message = createBaseTunnelStartResponse();
|
|
38273
39338
|
message.host = object.host ?? "";
|
|
38274
39339
|
message.port = object.port ?? 0;
|
|
38275
39340
|
message.unencryptedHost = object.unencryptedHost ?? void 0;
|
|
38276
39341
|
message.unencryptedPort = object.unencryptedPort ?? void 0;
|
|
38277
|
-
message.containerPort = object.containerPort ?? 0;
|
|
38278
39342
|
return message;
|
|
38279
39343
|
}
|
|
38280
39344
|
};
|
|
38281
|
-
function
|
|
38282
|
-
return { port: 0
|
|
39345
|
+
function createBaseTunnelStopRequest() {
|
|
39346
|
+
return { port: 0 };
|
|
38283
39347
|
}
|
|
38284
|
-
var
|
|
39348
|
+
var TunnelStopRequest = {
|
|
38285
39349
|
encode(message, writer = new BinaryWriter()) {
|
|
38286
39350
|
if (message.port !== 0) {
|
|
38287
39351
|
writer.uint32(8).uint32(message.port);
|
|
38288
39352
|
}
|
|
38289
|
-
if (message.unencrypted !== false) {
|
|
38290
|
-
writer.uint32(16).bool(message.unencrypted);
|
|
38291
|
-
}
|
|
38292
|
-
if (message.tunnelType !== void 0) {
|
|
38293
|
-
writer.uint32(24).int32(message.tunnelType);
|
|
38294
|
-
}
|
|
38295
39353
|
return writer;
|
|
38296
39354
|
},
|
|
38297
39355
|
decode(input, length) {
|
|
38298
39356
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
38299
39357
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
38300
|
-
const message =
|
|
39358
|
+
const message = createBaseTunnelStopRequest();
|
|
38301
39359
|
while (reader.pos < end) {
|
|
38302
39360
|
const tag = reader.uint32();
|
|
38303
39361
|
switch (tag >>> 3) {
|
|
@@ -38308,20 +39366,6 @@ var TunnelStartRequest = {
|
|
|
38308
39366
|
message.port = reader.uint32();
|
|
38309
39367
|
continue;
|
|
38310
39368
|
}
|
|
38311
|
-
case 2: {
|
|
38312
|
-
if (tag !== 16) {
|
|
38313
|
-
break;
|
|
38314
|
-
}
|
|
38315
|
-
message.unencrypted = reader.bool();
|
|
38316
|
-
continue;
|
|
38317
|
-
}
|
|
38318
|
-
case 3: {
|
|
38319
|
-
if (tag !== 24) {
|
|
38320
|
-
break;
|
|
38321
|
-
}
|
|
38322
|
-
message.tunnelType = reader.int32();
|
|
38323
|
-
continue;
|
|
38324
|
-
}
|
|
38325
39369
|
}
|
|
38326
39370
|
if ((tag & 7) === 4 || tag === 0) {
|
|
38327
39371
|
break;
|
|
@@ -38331,88 +39375,46 @@ var TunnelStartRequest = {
|
|
|
38331
39375
|
return message;
|
|
38332
39376
|
},
|
|
38333
39377
|
fromJSON(object) {
|
|
38334
|
-
return {
|
|
38335
|
-
port: isSet4(object.port) ? globalThis.Number(object.port) : 0,
|
|
38336
|
-
unencrypted: isSet4(object.unencrypted) ? globalThis.Boolean(object.unencrypted) : false,
|
|
38337
|
-
tunnelType: isSet4(object.tunnelType) ? tunnelTypeFromJSON(object.tunnelType) : void 0
|
|
38338
|
-
};
|
|
39378
|
+
return { port: isSet4(object.port) ? globalThis.Number(object.port) : 0 };
|
|
38339
39379
|
},
|
|
38340
39380
|
toJSON(message) {
|
|
38341
39381
|
const obj = {};
|
|
38342
39382
|
if (message.port !== 0) {
|
|
38343
39383
|
obj.port = Math.round(message.port);
|
|
38344
39384
|
}
|
|
38345
|
-
if (message.unencrypted !== false) {
|
|
38346
|
-
obj.unencrypted = message.unencrypted;
|
|
38347
|
-
}
|
|
38348
|
-
if (message.tunnelType !== void 0) {
|
|
38349
|
-
obj.tunnelType = tunnelTypeToJSON(message.tunnelType);
|
|
38350
|
-
}
|
|
38351
39385
|
return obj;
|
|
38352
39386
|
},
|
|
38353
39387
|
create(base) {
|
|
38354
|
-
return
|
|
39388
|
+
return TunnelStopRequest.fromPartial(base ?? {});
|
|
38355
39389
|
},
|
|
38356
39390
|
fromPartial(object) {
|
|
38357
|
-
const message =
|
|
39391
|
+
const message = createBaseTunnelStopRequest();
|
|
38358
39392
|
message.port = object.port ?? 0;
|
|
38359
|
-
message.unencrypted = object.unencrypted ?? false;
|
|
38360
|
-
message.tunnelType = object.tunnelType ?? void 0;
|
|
38361
39393
|
return message;
|
|
38362
39394
|
}
|
|
38363
39395
|
};
|
|
38364
|
-
function
|
|
38365
|
-
return {
|
|
39396
|
+
function createBaseTunnelStopResponse() {
|
|
39397
|
+
return { exists: false };
|
|
38366
39398
|
}
|
|
38367
|
-
var
|
|
39399
|
+
var TunnelStopResponse = {
|
|
38368
39400
|
encode(message, writer = new BinaryWriter()) {
|
|
38369
|
-
if (message.
|
|
38370
|
-
writer.uint32(
|
|
38371
|
-
}
|
|
38372
|
-
if (message.port !== 0) {
|
|
38373
|
-
writer.uint32(16).uint32(message.port);
|
|
38374
|
-
}
|
|
38375
|
-
if (message.unencryptedHost !== void 0) {
|
|
38376
|
-
writer.uint32(26).string(message.unencryptedHost);
|
|
38377
|
-
}
|
|
38378
|
-
if (message.unencryptedPort !== void 0) {
|
|
38379
|
-
writer.uint32(32).uint32(message.unencryptedPort);
|
|
39401
|
+
if (message.exists !== false) {
|
|
39402
|
+
writer.uint32(8).bool(message.exists);
|
|
38380
39403
|
}
|
|
38381
39404
|
return writer;
|
|
38382
39405
|
},
|
|
38383
39406
|
decode(input, length) {
|
|
38384
39407
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
38385
39408
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
38386
|
-
const message =
|
|
39409
|
+
const message = createBaseTunnelStopResponse();
|
|
38387
39410
|
while (reader.pos < end) {
|
|
38388
39411
|
const tag = reader.uint32();
|
|
38389
39412
|
switch (tag >>> 3) {
|
|
38390
39413
|
case 1: {
|
|
38391
|
-
if (tag !==
|
|
38392
|
-
break;
|
|
38393
|
-
}
|
|
38394
|
-
message.host = reader.string();
|
|
38395
|
-
continue;
|
|
38396
|
-
}
|
|
38397
|
-
case 2: {
|
|
38398
|
-
if (tag !== 16) {
|
|
38399
|
-
break;
|
|
38400
|
-
}
|
|
38401
|
-
message.port = reader.uint32();
|
|
38402
|
-
continue;
|
|
38403
|
-
}
|
|
38404
|
-
case 3: {
|
|
38405
|
-
if (tag !== 26) {
|
|
38406
|
-
break;
|
|
38407
|
-
}
|
|
38408
|
-
message.unencryptedHost = reader.string();
|
|
38409
|
-
continue;
|
|
38410
|
-
}
|
|
38411
|
-
case 4: {
|
|
38412
|
-
if (tag !== 32) {
|
|
39414
|
+
if (tag !== 8) {
|
|
38413
39415
|
break;
|
|
38414
39416
|
}
|
|
38415
|
-
message.
|
|
39417
|
+
message.exists = reader.bool();
|
|
38416
39418
|
continue;
|
|
38417
39419
|
}
|
|
38418
39420
|
}
|
|
@@ -38424,63 +39426,46 @@ var TunnelStartResponse = {
|
|
|
38424
39426
|
return message;
|
|
38425
39427
|
},
|
|
38426
39428
|
fromJSON(object) {
|
|
38427
|
-
return {
|
|
38428
|
-
host: isSet4(object.host) ? globalThis.String(object.host) : "",
|
|
38429
|
-
port: isSet4(object.port) ? globalThis.Number(object.port) : 0,
|
|
38430
|
-
unencryptedHost: isSet4(object.unencryptedHost) ? globalThis.String(object.unencryptedHost) : void 0,
|
|
38431
|
-
unencryptedPort: isSet4(object.unencryptedPort) ? globalThis.Number(object.unencryptedPort) : void 0
|
|
38432
|
-
};
|
|
39429
|
+
return { exists: isSet4(object.exists) ? globalThis.Boolean(object.exists) : false };
|
|
38433
39430
|
},
|
|
38434
39431
|
toJSON(message) {
|
|
38435
39432
|
const obj = {};
|
|
38436
|
-
if (message.
|
|
38437
|
-
obj.
|
|
38438
|
-
}
|
|
38439
|
-
if (message.port !== 0) {
|
|
38440
|
-
obj.port = Math.round(message.port);
|
|
38441
|
-
}
|
|
38442
|
-
if (message.unencryptedHost !== void 0) {
|
|
38443
|
-
obj.unencryptedHost = message.unencryptedHost;
|
|
38444
|
-
}
|
|
38445
|
-
if (message.unencryptedPort !== void 0) {
|
|
38446
|
-
obj.unencryptedPort = Math.round(message.unencryptedPort);
|
|
39433
|
+
if (message.exists !== false) {
|
|
39434
|
+
obj.exists = message.exists;
|
|
38447
39435
|
}
|
|
38448
39436
|
return obj;
|
|
38449
39437
|
},
|
|
38450
39438
|
create(base) {
|
|
38451
|
-
return
|
|
39439
|
+
return TunnelStopResponse.fromPartial(base ?? {});
|
|
38452
39440
|
},
|
|
38453
39441
|
fromPartial(object) {
|
|
38454
|
-
const message =
|
|
38455
|
-
message.
|
|
38456
|
-
message.port = object.port ?? 0;
|
|
38457
|
-
message.unencryptedHost = object.unencryptedHost ?? void 0;
|
|
38458
|
-
message.unencryptedPort = object.unencryptedPort ?? void 0;
|
|
39442
|
+
const message = createBaseTunnelStopResponse();
|
|
39443
|
+
message.exists = object.exists ?? false;
|
|
38459
39444
|
return message;
|
|
38460
39445
|
}
|
|
38461
39446
|
};
|
|
38462
|
-
function
|
|
38463
|
-
return {
|
|
39447
|
+
function createBaseUploadUrlList() {
|
|
39448
|
+
return { items: [] };
|
|
38464
39449
|
}
|
|
38465
|
-
var
|
|
39450
|
+
var UploadUrlList = {
|
|
38466
39451
|
encode(message, writer = new BinaryWriter()) {
|
|
38467
|
-
|
|
38468
|
-
writer.uint32(
|
|
39452
|
+
for (const v of message.items) {
|
|
39453
|
+
writer.uint32(10).string(v);
|
|
38469
39454
|
}
|
|
38470
39455
|
return writer;
|
|
38471
39456
|
},
|
|
38472
39457
|
decode(input, length) {
|
|
38473
39458
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
38474
39459
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
38475
|
-
const message =
|
|
39460
|
+
const message = createBaseUploadUrlList();
|
|
38476
39461
|
while (reader.pos < end) {
|
|
38477
39462
|
const tag = reader.uint32();
|
|
38478
39463
|
switch (tag >>> 3) {
|
|
38479
39464
|
case 1: {
|
|
38480
|
-
if (tag !==
|
|
39465
|
+
if (tag !== 10) {
|
|
38481
39466
|
break;
|
|
38482
39467
|
}
|
|
38483
|
-
message.
|
|
39468
|
+
message.items.push(reader.string());
|
|
38484
39469
|
continue;
|
|
38485
39470
|
}
|
|
38486
39471
|
}
|
|
@@ -38492,97 +39477,56 @@ var TunnelStopRequest = {
|
|
|
38492
39477
|
return message;
|
|
38493
39478
|
},
|
|
38494
39479
|
fromJSON(object) {
|
|
38495
|
-
return {
|
|
39480
|
+
return { items: globalThis.Array.isArray(object?.items) ? object.items.map((e) => globalThis.String(e)) : [] };
|
|
38496
39481
|
},
|
|
38497
39482
|
toJSON(message) {
|
|
38498
39483
|
const obj = {};
|
|
38499
|
-
if (message.
|
|
38500
|
-
obj.
|
|
39484
|
+
if (message.items?.length) {
|
|
39485
|
+
obj.items = message.items;
|
|
38501
39486
|
}
|
|
38502
39487
|
return obj;
|
|
38503
39488
|
},
|
|
38504
39489
|
create(base) {
|
|
38505
|
-
return
|
|
39490
|
+
return UploadUrlList.fromPartial(base ?? {});
|
|
38506
39491
|
},
|
|
38507
39492
|
fromPartial(object) {
|
|
38508
|
-
const message =
|
|
38509
|
-
message.
|
|
39493
|
+
const message = createBaseUploadUrlList();
|
|
39494
|
+
message.items = object.items?.map((e) => e) || [];
|
|
38510
39495
|
return message;
|
|
38511
39496
|
}
|
|
38512
39497
|
};
|
|
38513
|
-
function
|
|
38514
|
-
return {
|
|
39498
|
+
function createBaseUserIdentity() {
|
|
39499
|
+
return { userId: "", username: "" };
|
|
38515
39500
|
}
|
|
38516
|
-
var
|
|
39501
|
+
var UserIdentity = {
|
|
38517
39502
|
encode(message, writer = new BinaryWriter()) {
|
|
38518
|
-
if (message.
|
|
38519
|
-
writer.uint32(
|
|
39503
|
+
if (message.userId !== "") {
|
|
39504
|
+
writer.uint32(10).string(message.userId);
|
|
39505
|
+
}
|
|
39506
|
+
if (message.username !== "") {
|
|
39507
|
+
writer.uint32(18).string(message.username);
|
|
38520
39508
|
}
|
|
38521
39509
|
return writer;
|
|
38522
39510
|
},
|
|
38523
39511
|
decode(input, length) {
|
|
38524
39512
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
38525
39513
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
38526
|
-
const message =
|
|
39514
|
+
const message = createBaseUserIdentity();
|
|
38527
39515
|
while (reader.pos < end) {
|
|
38528
39516
|
const tag = reader.uint32();
|
|
38529
39517
|
switch (tag >>> 3) {
|
|
38530
39518
|
case 1: {
|
|
38531
|
-
if (tag !==
|
|
39519
|
+
if (tag !== 10) {
|
|
38532
39520
|
break;
|
|
38533
39521
|
}
|
|
38534
|
-
message.
|
|
39522
|
+
message.userId = reader.string();
|
|
38535
39523
|
continue;
|
|
38536
39524
|
}
|
|
38537
|
-
|
|
38538
|
-
|
|
38539
|
-
break;
|
|
38540
|
-
}
|
|
38541
|
-
reader.skip(tag & 7);
|
|
38542
|
-
}
|
|
38543
|
-
return message;
|
|
38544
|
-
},
|
|
38545
|
-
fromJSON(object) {
|
|
38546
|
-
return { exists: isSet4(object.exists) ? globalThis.Boolean(object.exists) : false };
|
|
38547
|
-
},
|
|
38548
|
-
toJSON(message) {
|
|
38549
|
-
const obj = {};
|
|
38550
|
-
if (message.exists !== false) {
|
|
38551
|
-
obj.exists = message.exists;
|
|
38552
|
-
}
|
|
38553
|
-
return obj;
|
|
38554
|
-
},
|
|
38555
|
-
create(base) {
|
|
38556
|
-
return TunnelStopResponse.fromPartial(base ?? {});
|
|
38557
|
-
},
|
|
38558
|
-
fromPartial(object) {
|
|
38559
|
-
const message = createBaseTunnelStopResponse();
|
|
38560
|
-
message.exists = object.exists ?? false;
|
|
38561
|
-
return message;
|
|
38562
|
-
}
|
|
38563
|
-
};
|
|
38564
|
-
function createBaseUploadUrlList() {
|
|
38565
|
-
return { items: [] };
|
|
38566
|
-
}
|
|
38567
|
-
var UploadUrlList = {
|
|
38568
|
-
encode(message, writer = new BinaryWriter()) {
|
|
38569
|
-
for (const v of message.items) {
|
|
38570
|
-
writer.uint32(10).string(v);
|
|
38571
|
-
}
|
|
38572
|
-
return writer;
|
|
38573
|
-
},
|
|
38574
|
-
decode(input, length) {
|
|
38575
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
38576
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
38577
|
-
const message = createBaseUploadUrlList();
|
|
38578
|
-
while (reader.pos < end) {
|
|
38579
|
-
const tag = reader.uint32();
|
|
38580
|
-
switch (tag >>> 3) {
|
|
38581
|
-
case 1: {
|
|
38582
|
-
if (tag !== 10) {
|
|
39525
|
+
case 2: {
|
|
39526
|
+
if (tag !== 18) {
|
|
38583
39527
|
break;
|
|
38584
39528
|
}
|
|
38585
|
-
message.
|
|
39529
|
+
message.username = reader.string();
|
|
38586
39530
|
continue;
|
|
38587
39531
|
}
|
|
38588
39532
|
}
|
|
@@ -38594,21 +39538,28 @@ var UploadUrlList = {
|
|
|
38594
39538
|
return message;
|
|
38595
39539
|
},
|
|
38596
39540
|
fromJSON(object) {
|
|
38597
|
-
return {
|
|
39541
|
+
return {
|
|
39542
|
+
userId: isSet4(object.userId) ? globalThis.String(object.userId) : "",
|
|
39543
|
+
username: isSet4(object.username) ? globalThis.String(object.username) : ""
|
|
39544
|
+
};
|
|
38598
39545
|
},
|
|
38599
39546
|
toJSON(message) {
|
|
38600
39547
|
const obj = {};
|
|
38601
|
-
if (message.
|
|
38602
|
-
obj.
|
|
39548
|
+
if (message.userId !== "") {
|
|
39549
|
+
obj.userId = message.userId;
|
|
39550
|
+
}
|
|
39551
|
+
if (message.username !== "") {
|
|
39552
|
+
obj.username = message.username;
|
|
38603
39553
|
}
|
|
38604
39554
|
return obj;
|
|
38605
39555
|
},
|
|
38606
39556
|
create(base) {
|
|
38607
|
-
return
|
|
39557
|
+
return UserIdentity.fromPartial(base ?? {});
|
|
38608
39558
|
},
|
|
38609
39559
|
fromPartial(object) {
|
|
38610
|
-
const message =
|
|
38611
|
-
message.
|
|
39560
|
+
const message = createBaseUserIdentity();
|
|
39561
|
+
message.userId = object.userId ?? "";
|
|
39562
|
+
message.username = object.username ?? "";
|
|
38612
39563
|
return message;
|
|
38613
39564
|
}
|
|
38614
39565
|
};
|
|
@@ -41263,7 +42214,8 @@ function createBaseWebhookConfig() {
|
|
|
41263
42214
|
webServerPort: 0,
|
|
41264
42215
|
webServerStartupTimeout: 0,
|
|
41265
42216
|
webEndpointDocs: false,
|
|
41266
|
-
requiresProxyAuth: false
|
|
42217
|
+
requiresProxyAuth: false,
|
|
42218
|
+
ephemeralSuffix: ""
|
|
41267
42219
|
};
|
|
41268
42220
|
}
|
|
41269
42221
|
var WebhookConfig = {
|
|
@@ -41295,6 +42247,9 @@ var WebhookConfig = {
|
|
|
41295
42247
|
if (message.requiresProxyAuth !== false) {
|
|
41296
42248
|
writer.uint32(80).bool(message.requiresProxyAuth);
|
|
41297
42249
|
}
|
|
42250
|
+
if (message.ephemeralSuffix !== "") {
|
|
42251
|
+
writer.uint32(90).string(message.ephemeralSuffix);
|
|
42252
|
+
}
|
|
41298
42253
|
return writer;
|
|
41299
42254
|
},
|
|
41300
42255
|
decode(input, length) {
|
|
@@ -41367,6 +42322,13 @@ var WebhookConfig = {
|
|
|
41367
42322
|
message.requiresProxyAuth = reader.bool();
|
|
41368
42323
|
continue;
|
|
41369
42324
|
}
|
|
42325
|
+
case 11: {
|
|
42326
|
+
if (tag !== 90) {
|
|
42327
|
+
break;
|
|
42328
|
+
}
|
|
42329
|
+
message.ephemeralSuffix = reader.string();
|
|
42330
|
+
continue;
|
|
42331
|
+
}
|
|
41370
42332
|
}
|
|
41371
42333
|
if ((tag & 7) === 4 || tag === 0) {
|
|
41372
42334
|
break;
|
|
@@ -41385,7 +42347,8 @@ var WebhookConfig = {
|
|
|
41385
42347
|
webServerPort: isSet4(object.webServerPort) ? globalThis.Number(object.webServerPort) : 0,
|
|
41386
42348
|
webServerStartupTimeout: isSet4(object.webServerStartupTimeout) ? globalThis.Number(object.webServerStartupTimeout) : 0,
|
|
41387
42349
|
webEndpointDocs: isSet4(object.webEndpointDocs) ? globalThis.Boolean(object.webEndpointDocs) : false,
|
|
41388
|
-
requiresProxyAuth: isSet4(object.requiresProxyAuth) ? globalThis.Boolean(object.requiresProxyAuth) : false
|
|
42350
|
+
requiresProxyAuth: isSet4(object.requiresProxyAuth) ? globalThis.Boolean(object.requiresProxyAuth) : false,
|
|
42351
|
+
ephemeralSuffix: isSet4(object.ephemeralSuffix) ? globalThis.String(object.ephemeralSuffix) : ""
|
|
41389
42352
|
};
|
|
41390
42353
|
},
|
|
41391
42354
|
toJSON(message) {
|
|
@@ -41417,6 +42380,9 @@ var WebhookConfig = {
|
|
|
41417
42380
|
if (message.requiresProxyAuth !== false) {
|
|
41418
42381
|
obj.requiresProxyAuth = message.requiresProxyAuth;
|
|
41419
42382
|
}
|
|
42383
|
+
if (message.ephemeralSuffix !== "") {
|
|
42384
|
+
obj.ephemeralSuffix = message.ephemeralSuffix;
|
|
42385
|
+
}
|
|
41420
42386
|
return obj;
|
|
41421
42387
|
},
|
|
41422
42388
|
create(base) {
|
|
@@ -41433,6 +42399,7 @@ var WebhookConfig = {
|
|
|
41433
42399
|
message.webServerStartupTimeout = object.webServerStartupTimeout ?? 0;
|
|
41434
42400
|
message.webEndpointDocs = object.webEndpointDocs ?? false;
|
|
41435
42401
|
message.requiresProxyAuth = object.requiresProxyAuth ?? false;
|
|
42402
|
+
message.ephemeralSuffix = object.ephemeralSuffix ?? "";
|
|
41436
42403
|
return message;
|
|
41437
42404
|
}
|
|
41438
42405
|
};
|
|
@@ -42771,14 +43738,6 @@ var ModalClientDefinition = {
|
|
|
42771
43738
|
responseStream: false,
|
|
42772
43739
|
options: {}
|
|
42773
43740
|
},
|
|
42774
|
-
sandboxGetCommandRouterAccess: {
|
|
42775
|
-
name: "SandboxGetCommandRouterAccess",
|
|
42776
|
-
requestType: SandboxGetCommandRouterAccessRequest,
|
|
42777
|
-
requestStream: false,
|
|
42778
|
-
responseType: SandboxGetCommandRouterAccessResponse,
|
|
42779
|
-
responseStream: false,
|
|
42780
|
-
options: {}
|
|
42781
|
-
},
|
|
42782
43741
|
sandboxGetFromName: {
|
|
42783
43742
|
name: "SandboxGetFromName",
|
|
42784
43743
|
requestType: SandboxGetFromNameRequest,
|
|
@@ -43039,15 +43998,6 @@ var ModalClientDefinition = {
|
|
|
43039
43998
|
responseStream: false,
|
|
43040
43999
|
options: {}
|
|
43041
44000
|
},
|
|
43042
|
-
/** Used for flash autoscaling */
|
|
43043
|
-
taskGetAutoscalingMetrics: {
|
|
43044
|
-
name: "TaskGetAutoscalingMetrics",
|
|
43045
|
-
requestType: TaskGetAutoscalingMetricsRequest,
|
|
43046
|
-
requestStream: false,
|
|
43047
|
-
responseType: TaskGetAutoscalingMetricsResponse,
|
|
43048
|
-
responseStream: false,
|
|
43049
|
-
options: {}
|
|
43050
|
-
},
|
|
43051
44001
|
taskGetCommandRouterAccess: {
|
|
43052
44002
|
name: "TaskGetCommandRouterAccess",
|
|
43053
44003
|
requestType: TaskGetCommandRouterAccessRequest,
|
|
@@ -43089,6 +44039,14 @@ var ModalClientDefinition = {
|
|
|
43089
44039
|
responseStream: false,
|
|
43090
44040
|
options: {}
|
|
43091
44041
|
},
|
|
44042
|
+
tokenInfoGet: {
|
|
44043
|
+
name: "TokenInfoGet",
|
|
44044
|
+
requestType: TokenInfoGetRequest,
|
|
44045
|
+
requestStream: false,
|
|
44046
|
+
responseType: TokenInfoGetResponse,
|
|
44047
|
+
responseStream: false,
|
|
44048
|
+
options: {}
|
|
44049
|
+
},
|
|
43092
44050
|
/** Tunnels */
|
|
43093
44051
|
tunnelStart: {
|
|
43094
44052
|
name: "TunnelStart",
|
|
@@ -43394,7 +44352,7 @@ var CloudBucketMount2 = class {
|
|
|
43394
44352
|
}
|
|
43395
44353
|
/** @ignore */
|
|
43396
44354
|
toProto(mountPath) {
|
|
43397
|
-
return {
|
|
44355
|
+
return CloudBucketMount.create({
|
|
43398
44356
|
bucketName: this.bucketName,
|
|
43399
44357
|
mountPath,
|
|
43400
44358
|
credentialsSecretId: this.secret?.secretId ?? "",
|
|
@@ -43404,7 +44362,7 @@ var CloudBucketMount2 = class {
|
|
|
43404
44362
|
bucketEndpointUrl: this.bucketEndpointUrl,
|
|
43405
44363
|
keyPrefix: this.keyPrefix,
|
|
43406
44364
|
oidcAuthRoleArn: this.oidcAuthRoleArn
|
|
43407
|
-
};
|
|
44365
|
+
});
|
|
43408
44366
|
}
|
|
43409
44367
|
};
|
|
43410
44368
|
|
|
@@ -44578,7 +45536,14 @@ var ImageService = class {
|
|
|
44578
45536
|
return new Image2(this.#client, "", tag, imageRegistryConfig);
|
|
44579
45537
|
}
|
|
44580
45538
|
/**
|
|
44581
|
-
* Delete an {@link Image} by ID.
|
|
45539
|
+
* Delete an {@link Image} by ID.
|
|
45540
|
+
*
|
|
45541
|
+
* Deletion is irreversible and will prevent Functions/Sandboxes from using the Image.
|
|
45542
|
+
*
|
|
45543
|
+
* Note: When building an Image, each chained method call will create an
|
|
45544
|
+
* intermediate Image layer, each with its own ID. Deleting an Image will not
|
|
45545
|
+
* delete any of its intermediate layers, only the image identified by the
|
|
45546
|
+
* provided ID.
|
|
44582
45547
|
*/
|
|
44583
45548
|
async delete(imageId, _ = {}) {
|
|
44584
45549
|
try {
|
|
@@ -45913,7 +46878,8 @@ async function buildSandboxCreateRequestProto(appId, imageId, params = {}) {
|
|
|
45913
46878
|
verbose: params.verbose ?? false,
|
|
45914
46879
|
proxyId: params.proxy?.proxyId,
|
|
45915
46880
|
name: params.name,
|
|
45916
|
-
experimentalOptions: protoExperimentalOptions
|
|
46881
|
+
experimentalOptions: protoExperimentalOptions,
|
|
46882
|
+
customDomain: params.customDomain
|
|
45917
46883
|
}
|
|
45918
46884
|
});
|
|
45919
46885
|
}
|
|
@@ -46860,7 +47826,7 @@ var AuthTokenManager = class {
|
|
|
46860
47826
|
|
|
46861
47827
|
// src/version.ts
|
|
46862
47828
|
function getSDKVersion() {
|
|
46863
|
-
return true ? "0.6.
|
|
47829
|
+
return true ? "0.6.1" : "0.0.0";
|
|
46864
47830
|
}
|
|
46865
47831
|
|
|
46866
47832
|
// src/logger.ts
|