@lansweeper/discovery-cloud-proto 0.0.13 → 0.0.14

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.
@@ -7,6 +7,7 @@
7
7
  import * as jspb from "google-protobuf";
8
8
  import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb";
9
9
  import * as google_protobuf_wrappers_pb from "google-protobuf/google/protobuf/wrappers_pb";
10
+ import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
10
11
 
11
12
  export class CloudEntity extends jspb.Message {
12
13
  getEntityName(): string;
@@ -43,11 +44,10 @@ export class CloudEntity extends jspb.Message {
43
44
  clearRegionId(): void;
44
45
  getRegionId(): string | undefined;
45
46
  setRegionId(value: string): CloudEntity;
46
-
47
- hasErrors(): boolean;
48
- clearErrors(): void;
49
- getErrors(): NullableErrorList | undefined;
50
- setErrors(value?: NullableErrorList): CloudEntity;
47
+ clearScanErrorList(): void;
48
+ getScanErrorList(): Array<ScanError>;
49
+ setScanErrorList(value: Array<ScanError>): CloudEntity;
50
+ addScanError(value?: ScanError, index?: number): ScanError;
51
51
 
52
52
  serializeBinary(): Uint8Array;
53
53
  toObject(includeInstance?: boolean): CloudEntity.AsObject;
@@ -72,113 +72,48 @@ export namespace CloudEntity {
72
72
  environmentId: string,
73
73
  cloudProvider: string,
74
74
  regionId?: string,
75
- errors?: NullableErrorList.AsObject,
76
- }
77
- }
78
-
79
- export class NullableErrorList extends jspb.Message {
80
-
81
- hasData(): boolean;
82
- clearData(): void;
83
- getData(): ErrorList | undefined;
84
- setData(value?: ErrorList): NullableErrorList;
85
-
86
- getKindCase(): NullableErrorList.KindCase;
87
-
88
- serializeBinary(): Uint8Array;
89
- toObject(includeInstance?: boolean): NullableErrorList.AsObject;
90
- static toObject(includeInstance: boolean, msg: NullableErrorList): NullableErrorList.AsObject;
91
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
92
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
93
- static serializeBinaryToWriter(message: NullableErrorList, writer: jspb.BinaryWriter): void;
94
- static deserializeBinary(bytes: Uint8Array): NullableErrorList;
95
- static deserializeBinaryFromReader(message: NullableErrorList, reader: jspb.BinaryReader): NullableErrorList;
96
- }
97
-
98
- export namespace NullableErrorList {
99
- export type AsObject = {
100
- data?: ErrorList.AsObject,
101
- }
102
-
103
- export enum KindCase {
104
- KIND_NOT_SET = 0,
105
- DATA = 1,
75
+ scanErrorList: Array<ScanError.AsObject>,
106
76
  }
107
-
108
77
  }
109
78
 
110
- export class ErrorList extends jspb.Message {
111
- clearItemsList(): void;
112
- getItemsList(): Array<Error>;
113
- setItemsList(value: Array<Error>): ErrorList;
114
- addItems(value?: Error, index?: number): Error;
79
+ export class ScanError extends jspb.Message {
80
+ getSection(): string;
81
+ setSection(value: string): ScanError;
82
+ getError(): string;
83
+ setError(value: string): ScanError;
115
84
 
116
- serializeBinary(): Uint8Array;
117
- toObject(includeInstance?: boolean): ErrorList.AsObject;
118
- static toObject(includeInstance: boolean, msg: ErrorList): ErrorList.AsObject;
119
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
120
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
121
- static serializeBinaryToWriter(message: ErrorList, writer: jspb.BinaryWriter): void;
122
- static deserializeBinary(bytes: Uint8Array): ErrorList;
123
- static deserializeBinaryFromReader(message: ErrorList, reader: jspb.BinaryReader): ErrorList;
124
- }
125
-
126
- export namespace ErrorList {
127
- export type AsObject = {
128
- itemsList: Array<Error.AsObject>,
129
- }
130
- }
131
-
132
- export class Error extends jspb.Message {
133
-
134
- hasErrorId(): boolean;
135
- clearErrorId(): void;
136
- getErrorId(): string | undefined;
137
- setErrorId(value: string): Error;
138
-
139
- hasCfgNName(): boolean;
140
- clearCfgNName(): void;
141
- getCfgNName(): string | undefined;
142
- setCfgNName(value: string): Error;
143
-
144
- hasErrorText(): boolean;
145
- clearErrorText(): void;
146
- getErrorText(): string | undefined;
147
- setErrorText(value: string): Error;
148
-
149
- hasLastChanged(): boolean;
150
- clearLastChanged(): void;
151
- getLastChanged(): string | undefined;
152
- setLastChanged(value: string): Error;
85
+ hasSource(): boolean;
86
+ clearSource(): void;
87
+ getSource(): string | undefined;
88
+ setSource(value: string): ScanError;
153
89
 
154
- hasErrorTypeId(): boolean;
155
- clearErrorTypeId(): void;
156
- getErrorTypeId(): string | undefined;
157
- setErrorTypeId(value: string): Error;
90
+ hasTimestamp(): boolean;
91
+ clearTimestamp(): void;
92
+ getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined;
93
+ setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): ScanError;
158
94
 
159
- hasErrorTypeName(): boolean;
160
- clearErrorTypeName(): void;
161
- getErrorTypeName(): string | undefined;
162
- setErrorTypeName(value: string): Error;
95
+ hasDuration(): boolean;
96
+ clearDuration(): void;
97
+ getDuration(): number | undefined;
98
+ setDuration(value: number): ScanError;
163
99
 
164
100
  serializeBinary(): Uint8Array;
165
- toObject(includeInstance?: boolean): Error.AsObject;
166
- static toObject(includeInstance: boolean, msg: Error): Error.AsObject;
101
+ toObject(includeInstance?: boolean): ScanError.AsObject;
102
+ static toObject(includeInstance: boolean, msg: ScanError): ScanError.AsObject;
167
103
  static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
168
104
  static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
169
- static serializeBinaryToWriter(message: Error, writer: jspb.BinaryWriter): void;
170
- static deserializeBinary(bytes: Uint8Array): Error;
171
- static deserializeBinaryFromReader(message: Error, reader: jspb.BinaryReader): Error;
105
+ static serializeBinaryToWriter(message: ScanError, writer: jspb.BinaryWriter): void;
106
+ static deserializeBinary(bytes: Uint8Array): ScanError;
107
+ static deserializeBinaryFromReader(message: ScanError, reader: jspb.BinaryReader): ScanError;
172
108
  }
173
109
 
174
- export namespace Error {
110
+ export namespace ScanError {
175
111
  export type AsObject = {
176
- errorId?: string,
177
- cfgNName?: string,
178
- errorText?: string,
179
- lastChanged?: string,
180
- errorTypeId?: string,
181
- errorTypeName?: string,
112
+ section: string,
113
+ error: string,
114
+ source?: string,
115
+ timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject,
116
+ duration?: number,
182
117
  }
183
118
  }
184
119