@lansweeper/discovery-cloud-proto 0.0.13 → 0.0.15

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,14 @@ 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
+ getCategory(): string;
52
+ setCategory(value: string): CloudEntity;
53
+ getEnvironmentName(): string;
54
+ setEnvironmentName(value: string): CloudEntity;
51
55
 
52
56
  serializeBinary(): Uint8Array;
53
57
  toObject(includeInstance?: boolean): CloudEntity.AsObject;
@@ -72,113 +76,50 @@ export namespace CloudEntity {
72
76
  environmentId: string,
73
77
  cloudProvider: string,
74
78
  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,
79
+ scanErrorList: Array<ScanError.AsObject>,
80
+ category: string,
81
+ environmentName: string,
106
82
  }
107
-
108
83
  }
109
84
 
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;
85
+ export class ScanError extends jspb.Message {
86
+ getSection(): string;
87
+ setSection(value: string): ScanError;
88
+ getError(): string;
89
+ setError(value: string): ScanError;
115
90
 
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;
91
+ hasSource(): boolean;
92
+ clearSource(): void;
93
+ getSource(): string | undefined;
94
+ setSource(value: string): ScanError;
153
95
 
154
- hasErrorTypeId(): boolean;
155
- clearErrorTypeId(): void;
156
- getErrorTypeId(): string | undefined;
157
- setErrorTypeId(value: string): Error;
96
+ hasTimestamp(): boolean;
97
+ clearTimestamp(): void;
98
+ getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined;
99
+ setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): ScanError;
158
100
 
159
- hasErrorTypeName(): boolean;
160
- clearErrorTypeName(): void;
161
- getErrorTypeName(): string | undefined;
162
- setErrorTypeName(value: string): Error;
101
+ hasDuration(): boolean;
102
+ clearDuration(): void;
103
+ getDuration(): number | undefined;
104
+ setDuration(value: number): ScanError;
163
105
 
164
106
  serializeBinary(): Uint8Array;
165
- toObject(includeInstance?: boolean): Error.AsObject;
166
- static toObject(includeInstance: boolean, msg: Error): Error.AsObject;
107
+ toObject(includeInstance?: boolean): ScanError.AsObject;
108
+ static toObject(includeInstance: boolean, msg: ScanError): ScanError.AsObject;
167
109
  static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
168
110
  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;
111
+ static serializeBinaryToWriter(message: ScanError, writer: jspb.BinaryWriter): void;
112
+ static deserializeBinary(bytes: Uint8Array): ScanError;
113
+ static deserializeBinaryFromReader(message: ScanError, reader: jspb.BinaryReader): ScanError;
172
114
  }
173
115
 
174
- export namespace Error {
116
+ export namespace ScanError {
175
117
  export type AsObject = {
176
- errorId?: string,
177
- cfgNName?: string,
178
- errorText?: string,
179
- lastChanged?: string,
180
- errorTypeId?: string,
181
- errorTypeName?: string,
118
+ section: string,
119
+ error: string,
120
+ source?: string,
121
+ timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject,
122
+ duration?: number,
182
123
  }
183
124
  }
184
125