@superblocksteam/sabs-types-js 0.136.0 → 0.138.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,10 +6,12 @@
|
|
|
6
6
|
|
|
7
7
|
import * as grpc from "@grpc/grpc-js";
|
|
8
8
|
import * as liveedit_v1_service_pb from "../../liveedit/v1/service_pb";
|
|
9
|
+
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
9
10
|
import * as protoc_gen_openapiv2_options_annotations_pb from "../../protoc-gen-openapiv2/options/annotations_pb";
|
|
10
11
|
|
|
11
12
|
interface ILiveEditServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
|
12
13
|
createLiveEdit: ILiveEditServiceService_ICreateLiveEdit;
|
|
14
|
+
terminateLiveEdit: ILiveEditServiceService_ITerminateLiveEdit;
|
|
13
15
|
}
|
|
14
16
|
|
|
15
17
|
interface ILiveEditServiceService_ICreateLiveEdit extends grpc.MethodDefinition<liveedit_v1_service_pb.CreateLiveEditRequest, liveedit_v1_service_pb.CreateLiveEditResponse> {
|
|
@@ -21,17 +23,30 @@ interface ILiveEditServiceService_ICreateLiveEdit extends grpc.MethodDefinition<
|
|
|
21
23
|
responseSerialize: grpc.serialize<liveedit_v1_service_pb.CreateLiveEditResponse>;
|
|
22
24
|
responseDeserialize: grpc.deserialize<liveedit_v1_service_pb.CreateLiveEditResponse>;
|
|
23
25
|
}
|
|
26
|
+
interface ILiveEditServiceService_ITerminateLiveEdit extends grpc.MethodDefinition<liveedit_v1_service_pb.TerminateLiveEditRequest, liveedit_v1_service_pb.TerminateLiveEditResponse> {
|
|
27
|
+
path: "/liveedit.v1.LiveEditService/TerminateLiveEdit";
|
|
28
|
+
requestStream: false;
|
|
29
|
+
responseStream: false;
|
|
30
|
+
requestSerialize: grpc.serialize<liveedit_v1_service_pb.TerminateLiveEditRequest>;
|
|
31
|
+
requestDeserialize: grpc.deserialize<liveedit_v1_service_pb.TerminateLiveEditRequest>;
|
|
32
|
+
responseSerialize: grpc.serialize<liveedit_v1_service_pb.TerminateLiveEditResponse>;
|
|
33
|
+
responseDeserialize: grpc.deserialize<liveedit_v1_service_pb.TerminateLiveEditResponse>;
|
|
34
|
+
}
|
|
24
35
|
|
|
25
36
|
export const LiveEditServiceService: ILiveEditServiceService;
|
|
26
37
|
|
|
27
38
|
export interface ILiveEditServiceServer extends grpc.UntypedServiceImplementation {
|
|
28
39
|
createLiveEdit: grpc.handleUnaryCall<liveedit_v1_service_pb.CreateLiveEditRequest, liveedit_v1_service_pb.CreateLiveEditResponse>;
|
|
40
|
+
terminateLiveEdit: grpc.handleUnaryCall<liveedit_v1_service_pb.TerminateLiveEditRequest, liveedit_v1_service_pb.TerminateLiveEditResponse>;
|
|
29
41
|
}
|
|
30
42
|
|
|
31
43
|
export interface ILiveEditServiceClient {
|
|
32
44
|
createLiveEdit(request: liveedit_v1_service_pb.CreateLiveEditRequest, callback: (error: grpc.ServiceError | null, response: liveedit_v1_service_pb.CreateLiveEditResponse) => void): grpc.ClientUnaryCall;
|
|
33
45
|
createLiveEdit(request: liveedit_v1_service_pb.CreateLiveEditRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: liveedit_v1_service_pb.CreateLiveEditResponse) => void): grpc.ClientUnaryCall;
|
|
34
46
|
createLiveEdit(request: liveedit_v1_service_pb.CreateLiveEditRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: liveedit_v1_service_pb.CreateLiveEditResponse) => void): grpc.ClientUnaryCall;
|
|
47
|
+
terminateLiveEdit(request: liveedit_v1_service_pb.TerminateLiveEditRequest, callback: (error: grpc.ServiceError | null, response: liveedit_v1_service_pb.TerminateLiveEditResponse) => void): grpc.ClientUnaryCall;
|
|
48
|
+
terminateLiveEdit(request: liveedit_v1_service_pb.TerminateLiveEditRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: liveedit_v1_service_pb.TerminateLiveEditResponse) => void): grpc.ClientUnaryCall;
|
|
49
|
+
terminateLiveEdit(request: liveedit_v1_service_pb.TerminateLiveEditRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: liveedit_v1_service_pb.TerminateLiveEditResponse) => void): grpc.ClientUnaryCall;
|
|
35
50
|
}
|
|
36
51
|
|
|
37
52
|
export class LiveEditServiceClient extends grpc.Client implements ILiveEditServiceClient {
|
|
@@ -39,4 +54,7 @@ export class LiveEditServiceClient extends grpc.Client implements ILiveEditServi
|
|
|
39
54
|
public createLiveEdit(request: liveedit_v1_service_pb.CreateLiveEditRequest, callback: (error: grpc.ServiceError | null, response: liveedit_v1_service_pb.CreateLiveEditResponse) => void): grpc.ClientUnaryCall;
|
|
40
55
|
public createLiveEdit(request: liveedit_v1_service_pb.CreateLiveEditRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: liveedit_v1_service_pb.CreateLiveEditResponse) => void): grpc.ClientUnaryCall;
|
|
41
56
|
public createLiveEdit(request: liveedit_v1_service_pb.CreateLiveEditRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: liveedit_v1_service_pb.CreateLiveEditResponse) => void): grpc.ClientUnaryCall;
|
|
57
|
+
public terminateLiveEdit(request: liveedit_v1_service_pb.TerminateLiveEditRequest, callback: (error: grpc.ServiceError | null, response: liveedit_v1_service_pb.TerminateLiveEditResponse) => void): grpc.ClientUnaryCall;
|
|
58
|
+
public terminateLiveEdit(request: liveedit_v1_service_pb.TerminateLiveEditRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: liveedit_v1_service_pb.TerminateLiveEditResponse) => void): grpc.ClientUnaryCall;
|
|
59
|
+
public terminateLiveEdit(request: liveedit_v1_service_pb.TerminateLiveEditRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: liveedit_v1_service_pb.TerminateLiveEditResponse) => void): grpc.ClientUnaryCall;
|
|
42
60
|
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
var grpc = require('@grpc/grpc-js');
|
|
5
5
|
var liveedit_v1_service_pb = require('../../liveedit/v1/service_pb');
|
|
6
6
|
var google_api_annotations_pb = require('../../google/api/annotations_pb');
|
|
7
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb');
|
|
7
8
|
var protoc$gen$openapiv2_options_annotations_pb = require('../../protoc-gen-openapiv2/options/annotations_pb');
|
|
8
9
|
|
|
9
10
|
function serialize_liveedit_v1_CreateLiveEditRequest(arg) {
|
|
@@ -28,6 +29,28 @@ function deserialize_liveedit_v1_CreateLiveEditResponse(buffer_arg) {
|
|
|
28
29
|
return liveedit_v1_service_pb.CreateLiveEditResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
29
30
|
}
|
|
30
31
|
|
|
32
|
+
function serialize_liveedit_v1_TerminateLiveEditRequest(arg) {
|
|
33
|
+
if (!(arg instanceof liveedit_v1_service_pb.TerminateLiveEditRequest)) {
|
|
34
|
+
throw new Error('Expected argument of type liveedit.v1.TerminateLiveEditRequest');
|
|
35
|
+
}
|
|
36
|
+
return Buffer.from(arg.serializeBinary());
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function deserialize_liveedit_v1_TerminateLiveEditRequest(buffer_arg) {
|
|
40
|
+
return liveedit_v1_service_pb.TerminateLiveEditRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function serialize_liveedit_v1_TerminateLiveEditResponse(arg) {
|
|
44
|
+
if (!(arg instanceof liveedit_v1_service_pb.TerminateLiveEditResponse)) {
|
|
45
|
+
throw new Error('Expected argument of type liveedit.v1.TerminateLiveEditResponse');
|
|
46
|
+
}
|
|
47
|
+
return Buffer.from(arg.serializeBinary());
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function deserialize_liveedit_v1_TerminateLiveEditResponse(buffer_arg) {
|
|
51
|
+
return liveedit_v1_service_pb.TerminateLiveEditResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
52
|
+
}
|
|
53
|
+
|
|
31
54
|
|
|
32
55
|
var LiveEditServiceService = exports.LiveEditServiceService = {
|
|
33
56
|
createLiveEdit: {
|
|
@@ -41,6 +64,17 @@ var LiveEditServiceService = exports.LiveEditServiceService = {
|
|
|
41
64
|
responseSerialize: serialize_liveedit_v1_CreateLiveEditResponse,
|
|
42
65
|
responseDeserialize: deserialize_liveedit_v1_CreateLiveEditResponse,
|
|
43
66
|
},
|
|
67
|
+
terminateLiveEdit: {
|
|
68
|
+
path: '/liveedit.v1.LiveEditService/TerminateLiveEdit',
|
|
69
|
+
requestStream: false,
|
|
70
|
+
responseStream: false,
|
|
71
|
+
requestType: liveedit_v1_service_pb.TerminateLiveEditRequest,
|
|
72
|
+
responseType: liveedit_v1_service_pb.TerminateLiveEditResponse,
|
|
73
|
+
requestSerialize: serialize_liveedit_v1_TerminateLiveEditRequest,
|
|
74
|
+
requestDeserialize: deserialize_liveedit_v1_TerminateLiveEditRequest,
|
|
75
|
+
responseSerialize: serialize_liveedit_v1_TerminateLiveEditResponse,
|
|
76
|
+
responseDeserialize: deserialize_liveedit_v1_TerminateLiveEditResponse,
|
|
77
|
+
},
|
|
44
78
|
};
|
|
45
79
|
|
|
46
80
|
exports.LiveEditServiceClient = grpc.makeGenericClientConstructor(LiveEditServiceService);
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
|
|
7
7
|
import * as jspb from "google-protobuf";
|
|
8
|
+
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
8
9
|
import * as protoc_gen_openapiv2_options_annotations_pb from "../../protoc-gen-openapiv2/options/annotations_pb";
|
|
9
10
|
|
|
10
11
|
export class CreateLiveEditRequest extends jspb.Message {
|
|
@@ -72,6 +73,8 @@ export class CreateLiveEditResponse extends jspb.Message {
|
|
|
72
73
|
setApplication(value?: Application): CreateLiveEditResponse;
|
|
73
74
|
getExpiresAt(): number;
|
|
74
75
|
setExpiresAt(value: number): CreateLiveEditResponse;
|
|
76
|
+
getLiveEditId(): string;
|
|
77
|
+
setLiveEditId(value: string): CreateLiveEditResponse;
|
|
75
78
|
|
|
76
79
|
serializeBinary(): Uint8Array;
|
|
77
80
|
toObject(includeInstance?: boolean): CreateLiveEditResponse.AsObject;
|
|
@@ -88,6 +91,68 @@ export namespace CreateLiveEditResponse {
|
|
|
88
91
|
liveEditUrl: string,
|
|
89
92
|
application?: Application.AsObject,
|
|
90
93
|
expiresAt: number,
|
|
94
|
+
liveEditId: string,
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export class TerminateLiveEditRequest extends jspb.Message {
|
|
99
|
+
getLiveEditId(): string;
|
|
100
|
+
setLiveEditId(value: string): TerminateLiveEditRequest;
|
|
101
|
+
|
|
102
|
+
serializeBinary(): Uint8Array;
|
|
103
|
+
toObject(includeInstance?: boolean): TerminateLiveEditRequest.AsObject;
|
|
104
|
+
static toObject(includeInstance: boolean, msg: TerminateLiveEditRequest): TerminateLiveEditRequest.AsObject;
|
|
105
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
106
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
107
|
+
static serializeBinaryToWriter(message: TerminateLiveEditRequest, writer: jspb.BinaryWriter): void;
|
|
108
|
+
static deserializeBinary(bytes: Uint8Array): TerminateLiveEditRequest;
|
|
109
|
+
static deserializeBinaryFromReader(message: TerminateLiveEditRequest, reader: jspb.BinaryReader): TerminateLiveEditRequest;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export namespace TerminateLiveEditRequest {
|
|
113
|
+
export type AsObject = {
|
|
114
|
+
liveEditId: string,
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export class TerminateLiveEditResponse extends jspb.Message {
|
|
119
|
+
getLiveEditId(): string;
|
|
120
|
+
setLiveEditId(value: string): TerminateLiveEditResponse;
|
|
121
|
+
getStatus(): LiveEditStatus;
|
|
122
|
+
setStatus(value: LiveEditStatus): TerminateLiveEditResponse;
|
|
123
|
+
|
|
124
|
+
hasApplication(): boolean;
|
|
125
|
+
clearApplication(): void;
|
|
126
|
+
getApplication(): Application | undefined;
|
|
127
|
+
setApplication(value?: Application): TerminateLiveEditResponse;
|
|
128
|
+
|
|
129
|
+
hasCreated(): boolean;
|
|
130
|
+
clearCreated(): void;
|
|
131
|
+
getCreated(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
132
|
+
setCreated(value?: google_protobuf_timestamp_pb.Timestamp): TerminateLiveEditResponse;
|
|
133
|
+
|
|
134
|
+
hasUpdated(): boolean;
|
|
135
|
+
clearUpdated(): void;
|
|
136
|
+
getUpdated(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
137
|
+
setUpdated(value?: google_protobuf_timestamp_pb.Timestamp): TerminateLiveEditResponse;
|
|
138
|
+
|
|
139
|
+
serializeBinary(): Uint8Array;
|
|
140
|
+
toObject(includeInstance?: boolean): TerminateLiveEditResponse.AsObject;
|
|
141
|
+
static toObject(includeInstance: boolean, msg: TerminateLiveEditResponse): TerminateLiveEditResponse.AsObject;
|
|
142
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
143
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
144
|
+
static serializeBinaryToWriter(message: TerminateLiveEditResponse, writer: jspb.BinaryWriter): void;
|
|
145
|
+
static deserializeBinary(bytes: Uint8Array): TerminateLiveEditResponse;
|
|
146
|
+
static deserializeBinaryFromReader(message: TerminateLiveEditResponse, reader: jspb.BinaryReader): TerminateLiveEditResponse;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export namespace TerminateLiveEditResponse {
|
|
150
|
+
export type AsObject = {
|
|
151
|
+
liveEditId: string,
|
|
152
|
+
status: LiveEditStatus,
|
|
153
|
+
application?: Application.AsObject,
|
|
154
|
+
created?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
155
|
+
updated?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
91
156
|
}
|
|
92
157
|
}
|
|
93
158
|
|
|
@@ -97,4 +162,5 @@ export enum LiveEditStatus {
|
|
|
97
162
|
LIVE_EDIT_STATUS_ACTIVE = 2,
|
|
98
163
|
LIVE_EDIT_STATUS_TERMINATED = 3,
|
|
99
164
|
LIVE_EDIT_STATUS_UNKNOWN = 4,
|
|
165
|
+
LIVE_EDIT_STATUS_TERMINATING = 5,
|
|
100
166
|
}
|
|
@@ -17,12 +17,16 @@ var global = globalThis;
|
|
|
17
17
|
|
|
18
18
|
var google_api_annotations_pb = require('../../google/api/annotations_pb');
|
|
19
19
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
20
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb');
|
|
21
|
+
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
20
22
|
var protoc$gen$openapiv2_options_annotations_pb = require('../../protoc-gen-openapiv2/options/annotations_pb');
|
|
21
23
|
goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb);
|
|
22
24
|
goog.exportSymbol('proto.liveedit.v1.Application', null, global);
|
|
23
25
|
goog.exportSymbol('proto.liveedit.v1.CreateLiveEditRequest', null, global);
|
|
24
26
|
goog.exportSymbol('proto.liveedit.v1.CreateLiveEditResponse', null, global);
|
|
25
27
|
goog.exportSymbol('proto.liveedit.v1.LiveEditStatus', null, global);
|
|
28
|
+
goog.exportSymbol('proto.liveedit.v1.TerminateLiveEditRequest', null, global);
|
|
29
|
+
goog.exportSymbol('proto.liveedit.v1.TerminateLiveEditResponse', null, global);
|
|
26
30
|
/**
|
|
27
31
|
* Generated by JsPbCodeGenerator.
|
|
28
32
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -86,6 +90,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
86
90
|
*/
|
|
87
91
|
proto.liveedit.v1.CreateLiveEditResponse.displayName = 'proto.liveedit.v1.CreateLiveEditResponse';
|
|
88
92
|
}
|
|
93
|
+
/**
|
|
94
|
+
* Generated by JsPbCodeGenerator.
|
|
95
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
96
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
97
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
98
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
99
|
+
* valid.
|
|
100
|
+
* @extends {jspb.Message}
|
|
101
|
+
* @constructor
|
|
102
|
+
*/
|
|
103
|
+
proto.liveedit.v1.TerminateLiveEditRequest = function(opt_data) {
|
|
104
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
105
|
+
};
|
|
106
|
+
goog.inherits(proto.liveedit.v1.TerminateLiveEditRequest, jspb.Message);
|
|
107
|
+
if (goog.DEBUG && !COMPILED) {
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
* @override
|
|
111
|
+
*/
|
|
112
|
+
proto.liveedit.v1.TerminateLiveEditRequest.displayName = 'proto.liveedit.v1.TerminateLiveEditRequest';
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Generated by JsPbCodeGenerator.
|
|
116
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
117
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
118
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
119
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
120
|
+
* valid.
|
|
121
|
+
* @extends {jspb.Message}
|
|
122
|
+
* @constructor
|
|
123
|
+
*/
|
|
124
|
+
proto.liveedit.v1.TerminateLiveEditResponse = function(opt_data) {
|
|
125
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
126
|
+
};
|
|
127
|
+
goog.inherits(proto.liveedit.v1.TerminateLiveEditResponse, jspb.Message);
|
|
128
|
+
if (goog.DEBUG && !COMPILED) {
|
|
129
|
+
/**
|
|
130
|
+
* @public
|
|
131
|
+
* @override
|
|
132
|
+
*/
|
|
133
|
+
proto.liveedit.v1.TerminateLiveEditResponse.displayName = 'proto.liveedit.v1.TerminateLiveEditResponse';
|
|
134
|
+
}
|
|
89
135
|
|
|
90
136
|
|
|
91
137
|
|
|
@@ -521,7 +567,8 @@ proto.liveedit.v1.CreateLiveEditResponse.toObject = function(includeInstance, ms
|
|
|
521
567
|
var f, obj = {
|
|
522
568
|
liveEditUrl: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
523
569
|
application: (f = msg.getApplication()) && proto.liveedit.v1.Application.toObject(includeInstance, f),
|
|
524
|
-
expiresAt: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
570
|
+
expiresAt: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
571
|
+
liveEditId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
525
572
|
};
|
|
526
573
|
|
|
527
574
|
if (includeInstance) {
|
|
@@ -571,6 +618,10 @@ proto.liveedit.v1.CreateLiveEditResponse.deserializeBinaryFromReader = function(
|
|
|
571
618
|
var value = /** @type {number} */ (reader.readInt64());
|
|
572
619
|
msg.setExpiresAt(value);
|
|
573
620
|
break;
|
|
621
|
+
case 4:
|
|
622
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
623
|
+
msg.setLiveEditId(value);
|
|
624
|
+
break;
|
|
574
625
|
default:
|
|
575
626
|
reader.skipField();
|
|
576
627
|
break;
|
|
@@ -622,6 +673,13 @@ proto.liveedit.v1.CreateLiveEditResponse.serializeBinaryToWriter = function(mess
|
|
|
622
673
|
f
|
|
623
674
|
);
|
|
624
675
|
}
|
|
676
|
+
f = message.getLiveEditId();
|
|
677
|
+
if (f.length > 0) {
|
|
678
|
+
writer.writeString(
|
|
679
|
+
4,
|
|
680
|
+
f
|
|
681
|
+
);
|
|
682
|
+
}
|
|
625
683
|
};
|
|
626
684
|
|
|
627
685
|
|
|
@@ -698,6 +756,467 @@ proto.liveedit.v1.CreateLiveEditResponse.prototype.setExpiresAt = function(value
|
|
|
698
756
|
};
|
|
699
757
|
|
|
700
758
|
|
|
759
|
+
/**
|
|
760
|
+
* optional string live_edit_id = 4;
|
|
761
|
+
* @return {string}
|
|
762
|
+
*/
|
|
763
|
+
proto.liveedit.v1.CreateLiveEditResponse.prototype.getLiveEditId = function() {
|
|
764
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
765
|
+
};
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
/**
|
|
769
|
+
* @param {string} value
|
|
770
|
+
* @return {!proto.liveedit.v1.CreateLiveEditResponse} returns this
|
|
771
|
+
*/
|
|
772
|
+
proto.liveedit.v1.CreateLiveEditResponse.prototype.setLiveEditId = function(value) {
|
|
773
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
774
|
+
};
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
|
|
780
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
781
|
+
/**
|
|
782
|
+
* Creates an object representation of this proto.
|
|
783
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
784
|
+
* Optional fields that are not set will be set to undefined.
|
|
785
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
786
|
+
* For the list of reserved names please see:
|
|
787
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
788
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
789
|
+
* JSPB instance for transitional soy proto support:
|
|
790
|
+
* http://goto/soy-param-migration
|
|
791
|
+
* @return {!Object}
|
|
792
|
+
*/
|
|
793
|
+
proto.liveedit.v1.TerminateLiveEditRequest.prototype.toObject = function(opt_includeInstance) {
|
|
794
|
+
return proto.liveedit.v1.TerminateLiveEditRequest.toObject(opt_includeInstance, this);
|
|
795
|
+
};
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* Static version of the {@see toObject} method.
|
|
800
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
801
|
+
* the JSPB instance for transitional soy proto support:
|
|
802
|
+
* http://goto/soy-param-migration
|
|
803
|
+
* @param {!proto.liveedit.v1.TerminateLiveEditRequest} msg The msg instance to transform.
|
|
804
|
+
* @return {!Object}
|
|
805
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
806
|
+
*/
|
|
807
|
+
proto.liveedit.v1.TerminateLiveEditRequest.toObject = function(includeInstance, msg) {
|
|
808
|
+
var f, obj = {
|
|
809
|
+
liveEditId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
810
|
+
};
|
|
811
|
+
|
|
812
|
+
if (includeInstance) {
|
|
813
|
+
obj.$jspbMessageInstance = msg;
|
|
814
|
+
}
|
|
815
|
+
return obj;
|
|
816
|
+
};
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* Deserializes binary data (in protobuf wire format).
|
|
822
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
823
|
+
* @return {!proto.liveedit.v1.TerminateLiveEditRequest}
|
|
824
|
+
*/
|
|
825
|
+
proto.liveedit.v1.TerminateLiveEditRequest.deserializeBinary = function(bytes) {
|
|
826
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
827
|
+
var msg = new proto.liveedit.v1.TerminateLiveEditRequest;
|
|
828
|
+
return proto.liveedit.v1.TerminateLiveEditRequest.deserializeBinaryFromReader(msg, reader);
|
|
829
|
+
};
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
834
|
+
* given reader into the given message object.
|
|
835
|
+
* @param {!proto.liveedit.v1.TerminateLiveEditRequest} msg The message object to deserialize into.
|
|
836
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
837
|
+
* @return {!proto.liveedit.v1.TerminateLiveEditRequest}
|
|
838
|
+
*/
|
|
839
|
+
proto.liveedit.v1.TerminateLiveEditRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
840
|
+
while (reader.nextField()) {
|
|
841
|
+
if (reader.isEndGroup()) {
|
|
842
|
+
break;
|
|
843
|
+
}
|
|
844
|
+
var field = reader.getFieldNumber();
|
|
845
|
+
switch (field) {
|
|
846
|
+
case 1:
|
|
847
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
848
|
+
msg.setLiveEditId(value);
|
|
849
|
+
break;
|
|
850
|
+
default:
|
|
851
|
+
reader.skipField();
|
|
852
|
+
break;
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
return msg;
|
|
856
|
+
};
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
861
|
+
* @return {!Uint8Array}
|
|
862
|
+
*/
|
|
863
|
+
proto.liveedit.v1.TerminateLiveEditRequest.prototype.serializeBinary = function() {
|
|
864
|
+
var writer = new jspb.BinaryWriter();
|
|
865
|
+
proto.liveedit.v1.TerminateLiveEditRequest.serializeBinaryToWriter(this, writer);
|
|
866
|
+
return writer.getResultBuffer();
|
|
867
|
+
};
|
|
868
|
+
|
|
869
|
+
|
|
870
|
+
/**
|
|
871
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
872
|
+
* format), writing to the given BinaryWriter.
|
|
873
|
+
* @param {!proto.liveedit.v1.TerminateLiveEditRequest} message
|
|
874
|
+
* @param {!jspb.BinaryWriter} writer
|
|
875
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
876
|
+
*/
|
|
877
|
+
proto.liveedit.v1.TerminateLiveEditRequest.serializeBinaryToWriter = function(message, writer) {
|
|
878
|
+
var f = undefined;
|
|
879
|
+
f = message.getLiveEditId();
|
|
880
|
+
if (f.length > 0) {
|
|
881
|
+
writer.writeString(
|
|
882
|
+
1,
|
|
883
|
+
f
|
|
884
|
+
);
|
|
885
|
+
}
|
|
886
|
+
};
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
/**
|
|
890
|
+
* optional string live_edit_id = 1;
|
|
891
|
+
* @return {string}
|
|
892
|
+
*/
|
|
893
|
+
proto.liveedit.v1.TerminateLiveEditRequest.prototype.getLiveEditId = function() {
|
|
894
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
895
|
+
};
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
/**
|
|
899
|
+
* @param {string} value
|
|
900
|
+
* @return {!proto.liveedit.v1.TerminateLiveEditRequest} returns this
|
|
901
|
+
*/
|
|
902
|
+
proto.liveedit.v1.TerminateLiveEditRequest.prototype.setLiveEditId = function(value) {
|
|
903
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
904
|
+
};
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
911
|
+
/**
|
|
912
|
+
* Creates an object representation of this proto.
|
|
913
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
914
|
+
* Optional fields that are not set will be set to undefined.
|
|
915
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
916
|
+
* For the list of reserved names please see:
|
|
917
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
918
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
919
|
+
* JSPB instance for transitional soy proto support:
|
|
920
|
+
* http://goto/soy-param-migration
|
|
921
|
+
* @return {!Object}
|
|
922
|
+
*/
|
|
923
|
+
proto.liveedit.v1.TerminateLiveEditResponse.prototype.toObject = function(opt_includeInstance) {
|
|
924
|
+
return proto.liveedit.v1.TerminateLiveEditResponse.toObject(opt_includeInstance, this);
|
|
925
|
+
};
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* Static version of the {@see toObject} method.
|
|
930
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
931
|
+
* the JSPB instance for transitional soy proto support:
|
|
932
|
+
* http://goto/soy-param-migration
|
|
933
|
+
* @param {!proto.liveedit.v1.TerminateLiveEditResponse} msg The msg instance to transform.
|
|
934
|
+
* @return {!Object}
|
|
935
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
936
|
+
*/
|
|
937
|
+
proto.liveedit.v1.TerminateLiveEditResponse.toObject = function(includeInstance, msg) {
|
|
938
|
+
var f, obj = {
|
|
939
|
+
liveEditId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
940
|
+
status: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
941
|
+
application: (f = msg.getApplication()) && proto.liveedit.v1.Application.toObject(includeInstance, f),
|
|
942
|
+
created: (f = msg.getCreated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
943
|
+
updated: (f = msg.getUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
944
|
+
};
|
|
945
|
+
|
|
946
|
+
if (includeInstance) {
|
|
947
|
+
obj.$jspbMessageInstance = msg;
|
|
948
|
+
}
|
|
949
|
+
return obj;
|
|
950
|
+
};
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
|
|
954
|
+
/**
|
|
955
|
+
* Deserializes binary data (in protobuf wire format).
|
|
956
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
957
|
+
* @return {!proto.liveedit.v1.TerminateLiveEditResponse}
|
|
958
|
+
*/
|
|
959
|
+
proto.liveedit.v1.TerminateLiveEditResponse.deserializeBinary = function(bytes) {
|
|
960
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
961
|
+
var msg = new proto.liveedit.v1.TerminateLiveEditResponse;
|
|
962
|
+
return proto.liveedit.v1.TerminateLiveEditResponse.deserializeBinaryFromReader(msg, reader);
|
|
963
|
+
};
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
968
|
+
* given reader into the given message object.
|
|
969
|
+
* @param {!proto.liveedit.v1.TerminateLiveEditResponse} msg The message object to deserialize into.
|
|
970
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
971
|
+
* @return {!proto.liveedit.v1.TerminateLiveEditResponse}
|
|
972
|
+
*/
|
|
973
|
+
proto.liveedit.v1.TerminateLiveEditResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
974
|
+
while (reader.nextField()) {
|
|
975
|
+
if (reader.isEndGroup()) {
|
|
976
|
+
break;
|
|
977
|
+
}
|
|
978
|
+
var field = reader.getFieldNumber();
|
|
979
|
+
switch (field) {
|
|
980
|
+
case 1:
|
|
981
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
982
|
+
msg.setLiveEditId(value);
|
|
983
|
+
break;
|
|
984
|
+
case 2:
|
|
985
|
+
var value = /** @type {!proto.liveedit.v1.LiveEditStatus} */ (reader.readEnum());
|
|
986
|
+
msg.setStatus(value);
|
|
987
|
+
break;
|
|
988
|
+
case 3:
|
|
989
|
+
var value = new proto.liveedit.v1.Application;
|
|
990
|
+
reader.readMessage(value,proto.liveedit.v1.Application.deserializeBinaryFromReader);
|
|
991
|
+
msg.setApplication(value);
|
|
992
|
+
break;
|
|
993
|
+
case 4:
|
|
994
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
995
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
996
|
+
msg.setCreated(value);
|
|
997
|
+
break;
|
|
998
|
+
case 5:
|
|
999
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1000
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1001
|
+
msg.setUpdated(value);
|
|
1002
|
+
break;
|
|
1003
|
+
default:
|
|
1004
|
+
reader.skipField();
|
|
1005
|
+
break;
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
return msg;
|
|
1009
|
+
};
|
|
1010
|
+
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1014
|
+
* @return {!Uint8Array}
|
|
1015
|
+
*/
|
|
1016
|
+
proto.liveedit.v1.TerminateLiveEditResponse.prototype.serializeBinary = function() {
|
|
1017
|
+
var writer = new jspb.BinaryWriter();
|
|
1018
|
+
proto.liveedit.v1.TerminateLiveEditResponse.serializeBinaryToWriter(this, writer);
|
|
1019
|
+
return writer.getResultBuffer();
|
|
1020
|
+
};
|
|
1021
|
+
|
|
1022
|
+
|
|
1023
|
+
/**
|
|
1024
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1025
|
+
* format), writing to the given BinaryWriter.
|
|
1026
|
+
* @param {!proto.liveedit.v1.TerminateLiveEditResponse} message
|
|
1027
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1028
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1029
|
+
*/
|
|
1030
|
+
proto.liveedit.v1.TerminateLiveEditResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1031
|
+
var f = undefined;
|
|
1032
|
+
f = message.getLiveEditId();
|
|
1033
|
+
if (f.length > 0) {
|
|
1034
|
+
writer.writeString(
|
|
1035
|
+
1,
|
|
1036
|
+
f
|
|
1037
|
+
);
|
|
1038
|
+
}
|
|
1039
|
+
f = message.getStatus();
|
|
1040
|
+
if (f !== 0.0) {
|
|
1041
|
+
writer.writeEnum(
|
|
1042
|
+
2,
|
|
1043
|
+
f
|
|
1044
|
+
);
|
|
1045
|
+
}
|
|
1046
|
+
f = message.getApplication();
|
|
1047
|
+
if (f != null) {
|
|
1048
|
+
writer.writeMessage(
|
|
1049
|
+
3,
|
|
1050
|
+
f,
|
|
1051
|
+
proto.liveedit.v1.Application.serializeBinaryToWriter
|
|
1052
|
+
);
|
|
1053
|
+
}
|
|
1054
|
+
f = message.getCreated();
|
|
1055
|
+
if (f != null) {
|
|
1056
|
+
writer.writeMessage(
|
|
1057
|
+
4,
|
|
1058
|
+
f,
|
|
1059
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1060
|
+
);
|
|
1061
|
+
}
|
|
1062
|
+
f = message.getUpdated();
|
|
1063
|
+
if (f != null) {
|
|
1064
|
+
writer.writeMessage(
|
|
1065
|
+
5,
|
|
1066
|
+
f,
|
|
1067
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1068
|
+
);
|
|
1069
|
+
}
|
|
1070
|
+
};
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
* optional string live_edit_id = 1;
|
|
1075
|
+
* @return {string}
|
|
1076
|
+
*/
|
|
1077
|
+
proto.liveedit.v1.TerminateLiveEditResponse.prototype.getLiveEditId = function() {
|
|
1078
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1079
|
+
};
|
|
1080
|
+
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
1083
|
+
* @param {string} value
|
|
1084
|
+
* @return {!proto.liveedit.v1.TerminateLiveEditResponse} returns this
|
|
1085
|
+
*/
|
|
1086
|
+
proto.liveedit.v1.TerminateLiveEditResponse.prototype.setLiveEditId = function(value) {
|
|
1087
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1088
|
+
};
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
/**
|
|
1092
|
+
* optional LiveEditStatus status = 2;
|
|
1093
|
+
* @return {!proto.liveedit.v1.LiveEditStatus}
|
|
1094
|
+
*/
|
|
1095
|
+
proto.liveedit.v1.TerminateLiveEditResponse.prototype.getStatus = function() {
|
|
1096
|
+
return /** @type {!proto.liveedit.v1.LiveEditStatus} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1097
|
+
};
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
* @param {!proto.liveedit.v1.LiveEditStatus} value
|
|
1102
|
+
* @return {!proto.liveedit.v1.TerminateLiveEditResponse} returns this
|
|
1103
|
+
*/
|
|
1104
|
+
proto.liveedit.v1.TerminateLiveEditResponse.prototype.setStatus = function(value) {
|
|
1105
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
1106
|
+
};
|
|
1107
|
+
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* optional Application application = 3;
|
|
1111
|
+
* @return {?proto.liveedit.v1.Application}
|
|
1112
|
+
*/
|
|
1113
|
+
proto.liveedit.v1.TerminateLiveEditResponse.prototype.getApplication = function() {
|
|
1114
|
+
return /** @type{?proto.liveedit.v1.Application} */ (
|
|
1115
|
+
jspb.Message.getWrapperField(this, proto.liveedit.v1.Application, 3));
|
|
1116
|
+
};
|
|
1117
|
+
|
|
1118
|
+
|
|
1119
|
+
/**
|
|
1120
|
+
* @param {?proto.liveedit.v1.Application|undefined} value
|
|
1121
|
+
* @return {!proto.liveedit.v1.TerminateLiveEditResponse} returns this
|
|
1122
|
+
*/
|
|
1123
|
+
proto.liveedit.v1.TerminateLiveEditResponse.prototype.setApplication = function(value) {
|
|
1124
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
1125
|
+
};
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
/**
|
|
1129
|
+
* Clears the message field making it undefined.
|
|
1130
|
+
* @return {!proto.liveedit.v1.TerminateLiveEditResponse} returns this
|
|
1131
|
+
*/
|
|
1132
|
+
proto.liveedit.v1.TerminateLiveEditResponse.prototype.clearApplication = function() {
|
|
1133
|
+
return this.setApplication(undefined);
|
|
1134
|
+
};
|
|
1135
|
+
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
* Returns whether this field is set.
|
|
1139
|
+
* @return {boolean}
|
|
1140
|
+
*/
|
|
1141
|
+
proto.liveedit.v1.TerminateLiveEditResponse.prototype.hasApplication = function() {
|
|
1142
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1143
|
+
};
|
|
1144
|
+
|
|
1145
|
+
|
|
1146
|
+
/**
|
|
1147
|
+
* optional google.protobuf.Timestamp created = 4;
|
|
1148
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1149
|
+
*/
|
|
1150
|
+
proto.liveedit.v1.TerminateLiveEditResponse.prototype.getCreated = function() {
|
|
1151
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1152
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
|
|
1153
|
+
};
|
|
1154
|
+
|
|
1155
|
+
|
|
1156
|
+
/**
|
|
1157
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1158
|
+
* @return {!proto.liveedit.v1.TerminateLiveEditResponse} returns this
|
|
1159
|
+
*/
|
|
1160
|
+
proto.liveedit.v1.TerminateLiveEditResponse.prototype.setCreated = function(value) {
|
|
1161
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
1162
|
+
};
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* Clears the message field making it undefined.
|
|
1167
|
+
* @return {!proto.liveedit.v1.TerminateLiveEditResponse} returns this
|
|
1168
|
+
*/
|
|
1169
|
+
proto.liveedit.v1.TerminateLiveEditResponse.prototype.clearCreated = function() {
|
|
1170
|
+
return this.setCreated(undefined);
|
|
1171
|
+
};
|
|
1172
|
+
|
|
1173
|
+
|
|
1174
|
+
/**
|
|
1175
|
+
* Returns whether this field is set.
|
|
1176
|
+
* @return {boolean}
|
|
1177
|
+
*/
|
|
1178
|
+
proto.liveedit.v1.TerminateLiveEditResponse.prototype.hasCreated = function() {
|
|
1179
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1180
|
+
};
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
/**
|
|
1184
|
+
* optional google.protobuf.Timestamp updated = 5;
|
|
1185
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1186
|
+
*/
|
|
1187
|
+
proto.liveedit.v1.TerminateLiveEditResponse.prototype.getUpdated = function() {
|
|
1188
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1189
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
|
|
1190
|
+
};
|
|
1191
|
+
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1195
|
+
* @return {!proto.liveedit.v1.TerminateLiveEditResponse} returns this
|
|
1196
|
+
*/
|
|
1197
|
+
proto.liveedit.v1.TerminateLiveEditResponse.prototype.setUpdated = function(value) {
|
|
1198
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
1199
|
+
};
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
/**
|
|
1203
|
+
* Clears the message field making it undefined.
|
|
1204
|
+
* @return {!proto.liveedit.v1.TerminateLiveEditResponse} returns this
|
|
1205
|
+
*/
|
|
1206
|
+
proto.liveedit.v1.TerminateLiveEditResponse.prototype.clearUpdated = function() {
|
|
1207
|
+
return this.setUpdated(undefined);
|
|
1208
|
+
};
|
|
1209
|
+
|
|
1210
|
+
|
|
1211
|
+
/**
|
|
1212
|
+
* Returns whether this field is set.
|
|
1213
|
+
* @return {boolean}
|
|
1214
|
+
*/
|
|
1215
|
+
proto.liveedit.v1.TerminateLiveEditResponse.prototype.hasUpdated = function() {
|
|
1216
|
+
return jspb.Message.getField(this, 5) != null;
|
|
1217
|
+
};
|
|
1218
|
+
|
|
1219
|
+
|
|
701
1220
|
/**
|
|
702
1221
|
* @enum {number}
|
|
703
1222
|
*/
|
|
@@ -706,7 +1225,8 @@ proto.liveedit.v1.LiveEditStatus = {
|
|
|
706
1225
|
LIVE_EDIT_STATUS_STARTING: 1,
|
|
707
1226
|
LIVE_EDIT_STATUS_ACTIVE: 2,
|
|
708
1227
|
LIVE_EDIT_STATUS_TERMINATED: 3,
|
|
709
|
-
LIVE_EDIT_STATUS_UNKNOWN: 4
|
|
1228
|
+
LIVE_EDIT_STATUS_UNKNOWN: 4,
|
|
1229
|
+
LIVE_EDIT_STATUS_TERMINATING: 5
|
|
710
1230
|
};
|
|
711
1231
|
|
|
712
1232
|
goog.object.extend(exports, proto.liveedit.v1);
|