You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15122 lines
610 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/privacy/dlp/v2/dlp.proto
  3. package dlp // import "google.golang.org/genproto/googleapis/privacy/dlp/v2"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import duration "github.com/golang/protobuf/ptypes/duration"
  8. import empty "github.com/golang/protobuf/ptypes/empty"
  9. import timestamp "github.com/golang/protobuf/ptypes/timestamp"
  10. import _ "google.golang.org/genproto/googleapis/api/annotations"
  11. import status "google.golang.org/genproto/googleapis/rpc/status"
  12. import date "google.golang.org/genproto/googleapis/type/date"
  13. import dayofweek "google.golang.org/genproto/googleapis/type/dayofweek"
  14. import timeofday "google.golang.org/genproto/googleapis/type/timeofday"
  15. import field_mask "google.golang.org/genproto/protobuf/field_mask"
  16. import (
  17. context "golang.org/x/net/context"
  18. grpc "google.golang.org/grpc"
  19. )
  20. // Reference imports to suppress errors if they are not otherwise used.
  21. var _ = proto.Marshal
  22. var _ = fmt.Errorf
  23. var _ = math.Inf
  24. // This is a compile-time assertion to ensure that this generated file
  25. // is compatible with the proto package it is being compiled against.
  26. // A compilation error at this line likely means your copy of the
  27. // proto package needs to be updated.
  28. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  29. // Options describing which parts of the provided content should be scanned.
  30. type ContentOption int32
  31. const (
  32. // Includes entire content of a file or a data stream.
  33. ContentOption_CONTENT_UNSPECIFIED ContentOption = 0
  34. // Text content within the data, excluding any metadata.
  35. ContentOption_CONTENT_TEXT ContentOption = 1
  36. // Images found in the data.
  37. ContentOption_CONTENT_IMAGE ContentOption = 2
  38. )
  39. var ContentOption_name = map[int32]string{
  40. 0: "CONTENT_UNSPECIFIED",
  41. 1: "CONTENT_TEXT",
  42. 2: "CONTENT_IMAGE",
  43. }
  44. var ContentOption_value = map[string]int32{
  45. "CONTENT_UNSPECIFIED": 0,
  46. "CONTENT_TEXT": 1,
  47. "CONTENT_IMAGE": 2,
  48. }
  49. func (x ContentOption) String() string {
  50. return proto.EnumName(ContentOption_name, int32(x))
  51. }
  52. func (ContentOption) EnumDescriptor() ([]byte, []int) {
  53. return fileDescriptor_dlp_9184f835f60c3220, []int{0}
  54. }
  55. // Type of the match which can be applied to different ways of matching, like
  56. // Dictionary, regular expression and intersecting with findings of another
  57. // info type.
  58. type MatchingType int32
  59. const (
  60. // Invalid.
  61. MatchingType_MATCHING_TYPE_UNSPECIFIED MatchingType = 0
  62. // Full match.
  63. //
  64. // - Dictionary: join of Dictionary results matched complete finding quote
  65. // - Regex: all regex matches fill a finding quote start to end
  66. // - Exclude info type: completely inside affecting info types findings
  67. MatchingType_MATCHING_TYPE_FULL_MATCH MatchingType = 1
  68. // Partial match.
  69. //
  70. // - Dictionary: at least one of the tokens in the finding matches
  71. // - Regex: substring of the finding matches
  72. // - Exclude info type: intersects with affecting info types findings
  73. MatchingType_MATCHING_TYPE_PARTIAL_MATCH MatchingType = 2
  74. // Inverse match.
  75. //
  76. // - Dictionary: no tokens in the finding match the dictionary
  77. // - Regex: finding doesn't match the regex
  78. // - Exclude info type: no intersection with affecting info types findings
  79. MatchingType_MATCHING_TYPE_INVERSE_MATCH MatchingType = 3
  80. )
  81. var MatchingType_name = map[int32]string{
  82. 0: "MATCHING_TYPE_UNSPECIFIED",
  83. 1: "MATCHING_TYPE_FULL_MATCH",
  84. 2: "MATCHING_TYPE_PARTIAL_MATCH",
  85. 3: "MATCHING_TYPE_INVERSE_MATCH",
  86. }
  87. var MatchingType_value = map[string]int32{
  88. "MATCHING_TYPE_UNSPECIFIED": 0,
  89. "MATCHING_TYPE_FULL_MATCH": 1,
  90. "MATCHING_TYPE_PARTIAL_MATCH": 2,
  91. "MATCHING_TYPE_INVERSE_MATCH": 3,
  92. }
  93. func (x MatchingType) String() string {
  94. return proto.EnumName(MatchingType_name, int32(x))
  95. }
  96. func (MatchingType) EnumDescriptor() ([]byte, []int) {
  97. return fileDescriptor_dlp_9184f835f60c3220, []int{1}
  98. }
  99. // Parts of the APIs which use certain infoTypes.
  100. type InfoTypeSupportedBy int32
  101. const (
  102. InfoTypeSupportedBy_ENUM_TYPE_UNSPECIFIED InfoTypeSupportedBy = 0
  103. // Supported by the inspect operations.
  104. InfoTypeSupportedBy_INSPECT InfoTypeSupportedBy = 1
  105. // Supported by the risk analysis operations.
  106. InfoTypeSupportedBy_RISK_ANALYSIS InfoTypeSupportedBy = 2
  107. )
  108. var InfoTypeSupportedBy_name = map[int32]string{
  109. 0: "ENUM_TYPE_UNSPECIFIED",
  110. 1: "INSPECT",
  111. 2: "RISK_ANALYSIS",
  112. }
  113. var InfoTypeSupportedBy_value = map[string]int32{
  114. "ENUM_TYPE_UNSPECIFIED": 0,
  115. "INSPECT": 1,
  116. "RISK_ANALYSIS": 2,
  117. }
  118. func (x InfoTypeSupportedBy) String() string {
  119. return proto.EnumName(InfoTypeSupportedBy_name, int32(x))
  120. }
  121. func (InfoTypeSupportedBy) EnumDescriptor() ([]byte, []int) {
  122. return fileDescriptor_dlp_9184f835f60c3220, []int{2}
  123. }
  124. // Operators available for comparing the value of fields.
  125. type RelationalOperator int32
  126. const (
  127. RelationalOperator_RELATIONAL_OPERATOR_UNSPECIFIED RelationalOperator = 0
  128. // Equal. Attempts to match even with incompatible types.
  129. RelationalOperator_EQUAL_TO RelationalOperator = 1
  130. // Not equal to. Attempts to match even with incompatible types.
  131. RelationalOperator_NOT_EQUAL_TO RelationalOperator = 2
  132. // Greater than.
  133. RelationalOperator_GREATER_THAN RelationalOperator = 3
  134. // Less than.
  135. RelationalOperator_LESS_THAN RelationalOperator = 4
  136. // Greater than or equals.
  137. RelationalOperator_GREATER_THAN_OR_EQUALS RelationalOperator = 5
  138. // Less than or equals.
  139. RelationalOperator_LESS_THAN_OR_EQUALS RelationalOperator = 6
  140. // Exists
  141. RelationalOperator_EXISTS RelationalOperator = 7
  142. )
  143. var RelationalOperator_name = map[int32]string{
  144. 0: "RELATIONAL_OPERATOR_UNSPECIFIED",
  145. 1: "EQUAL_TO",
  146. 2: "NOT_EQUAL_TO",
  147. 3: "GREATER_THAN",
  148. 4: "LESS_THAN",
  149. 5: "GREATER_THAN_OR_EQUALS",
  150. 6: "LESS_THAN_OR_EQUALS",
  151. 7: "EXISTS",
  152. }
  153. var RelationalOperator_value = map[string]int32{
  154. "RELATIONAL_OPERATOR_UNSPECIFIED": 0,
  155. "EQUAL_TO": 1,
  156. "NOT_EQUAL_TO": 2,
  157. "GREATER_THAN": 3,
  158. "LESS_THAN": 4,
  159. "GREATER_THAN_OR_EQUALS": 5,
  160. "LESS_THAN_OR_EQUALS": 6,
  161. "EXISTS": 7,
  162. }
  163. func (x RelationalOperator) String() string {
  164. return proto.EnumName(RelationalOperator_name, int32(x))
  165. }
  166. func (RelationalOperator) EnumDescriptor() ([]byte, []int) {
  167. return fileDescriptor_dlp_9184f835f60c3220, []int{3}
  168. }
  169. // An enum to represent the various type of DLP jobs.
  170. type DlpJobType int32
  171. const (
  172. DlpJobType_DLP_JOB_TYPE_UNSPECIFIED DlpJobType = 0
  173. // The job inspected Google Cloud for sensitive data.
  174. DlpJobType_INSPECT_JOB DlpJobType = 1
  175. // The job executed a Risk Analysis computation.
  176. DlpJobType_RISK_ANALYSIS_JOB DlpJobType = 2
  177. )
  178. var DlpJobType_name = map[int32]string{
  179. 0: "DLP_JOB_TYPE_UNSPECIFIED",
  180. 1: "INSPECT_JOB",
  181. 2: "RISK_ANALYSIS_JOB",
  182. }
  183. var DlpJobType_value = map[string]int32{
  184. "DLP_JOB_TYPE_UNSPECIFIED": 0,
  185. "INSPECT_JOB": 1,
  186. "RISK_ANALYSIS_JOB": 2,
  187. }
  188. func (x DlpJobType) String() string {
  189. return proto.EnumName(DlpJobType_name, int32(x))
  190. }
  191. func (DlpJobType) EnumDescriptor() ([]byte, []int) {
  192. return fileDescriptor_dlp_9184f835f60c3220, []int{4}
  193. }
  194. // State of a StoredInfoType version.
  195. type StoredInfoTypeState int32
  196. const (
  197. StoredInfoTypeState_STORED_INFO_TYPE_STATE_UNSPECIFIED StoredInfoTypeState = 0
  198. // StoredInfoType version is being created.
  199. StoredInfoTypeState_PENDING StoredInfoTypeState = 1
  200. // StoredInfoType version is ready for use.
  201. StoredInfoTypeState_READY StoredInfoTypeState = 2
  202. // StoredInfoType creation failed. All relevant error messages are returned in
  203. // the `StoredInfoTypeVersion` message.
  204. StoredInfoTypeState_FAILED StoredInfoTypeState = 3
  205. // StoredInfoType is no longer valid because artifacts stored in
  206. // user-controlled storage were modified. To fix an invalid StoredInfoType,
  207. // use the `UpdateStoredInfoType` method to create a new version.
  208. StoredInfoTypeState_INVALID StoredInfoTypeState = 4
  209. )
  210. var StoredInfoTypeState_name = map[int32]string{
  211. 0: "STORED_INFO_TYPE_STATE_UNSPECIFIED",
  212. 1: "PENDING",
  213. 2: "READY",
  214. 3: "FAILED",
  215. 4: "INVALID",
  216. }
  217. var StoredInfoTypeState_value = map[string]int32{
  218. "STORED_INFO_TYPE_STATE_UNSPECIFIED": 0,
  219. "PENDING": 1,
  220. "READY": 2,
  221. "FAILED": 3,
  222. "INVALID": 4,
  223. }
  224. func (x StoredInfoTypeState) String() string {
  225. return proto.EnumName(StoredInfoTypeState_name, int32(x))
  226. }
  227. func (StoredInfoTypeState) EnumDescriptor() ([]byte, []int) {
  228. return fileDescriptor_dlp_9184f835f60c3220, []int{5}
  229. }
  230. type ByteContentItem_BytesType int32
  231. const (
  232. ByteContentItem_BYTES_TYPE_UNSPECIFIED ByteContentItem_BytesType = 0
  233. ByteContentItem_IMAGE ByteContentItem_BytesType = 6
  234. ByteContentItem_IMAGE_JPEG ByteContentItem_BytesType = 1
  235. ByteContentItem_IMAGE_BMP ByteContentItem_BytesType = 2
  236. ByteContentItem_IMAGE_PNG ByteContentItem_BytesType = 3
  237. ByteContentItem_IMAGE_SVG ByteContentItem_BytesType = 4
  238. ByteContentItem_TEXT_UTF8 ByteContentItem_BytesType = 5
  239. )
  240. var ByteContentItem_BytesType_name = map[int32]string{
  241. 0: "BYTES_TYPE_UNSPECIFIED",
  242. 6: "IMAGE",
  243. 1: "IMAGE_JPEG",
  244. 2: "IMAGE_BMP",
  245. 3: "IMAGE_PNG",
  246. 4: "IMAGE_SVG",
  247. 5: "TEXT_UTF8",
  248. }
  249. var ByteContentItem_BytesType_value = map[string]int32{
  250. "BYTES_TYPE_UNSPECIFIED": 0,
  251. "IMAGE": 6,
  252. "IMAGE_JPEG": 1,
  253. "IMAGE_BMP": 2,
  254. "IMAGE_PNG": 3,
  255. "IMAGE_SVG": 4,
  256. "TEXT_UTF8": 5,
  257. }
  258. func (x ByteContentItem_BytesType) String() string {
  259. return proto.EnumName(ByteContentItem_BytesType_name, int32(x))
  260. }
  261. func (ByteContentItem_BytesType) EnumDescriptor() ([]byte, []int) {
  262. return fileDescriptor_dlp_9184f835f60c3220, []int{5, 0}
  263. }
  264. // Predefined schemas for storing findings.
  265. type OutputStorageConfig_OutputSchema int32
  266. const (
  267. OutputStorageConfig_OUTPUT_SCHEMA_UNSPECIFIED OutputStorageConfig_OutputSchema = 0
  268. // Basic schema including only `info_type`, `quote`, `certainty`, and
  269. // `timestamp`.
  270. OutputStorageConfig_BASIC_COLUMNS OutputStorageConfig_OutputSchema = 1
  271. // Schema tailored to findings from scanning Google Cloud Storage.
  272. OutputStorageConfig_GCS_COLUMNS OutputStorageConfig_OutputSchema = 2
  273. // Schema tailored to findings from scanning Google Datastore.
  274. OutputStorageConfig_DATASTORE_COLUMNS OutputStorageConfig_OutputSchema = 3
  275. // Schema tailored to findings from scanning Google BigQuery.
  276. OutputStorageConfig_BIG_QUERY_COLUMNS OutputStorageConfig_OutputSchema = 4
  277. // Schema containing all columns.
  278. OutputStorageConfig_ALL_COLUMNS OutputStorageConfig_OutputSchema = 5
  279. )
  280. var OutputStorageConfig_OutputSchema_name = map[int32]string{
  281. 0: "OUTPUT_SCHEMA_UNSPECIFIED",
  282. 1: "BASIC_COLUMNS",
  283. 2: "GCS_COLUMNS",
  284. 3: "DATASTORE_COLUMNS",
  285. 4: "BIG_QUERY_COLUMNS",
  286. 5: "ALL_COLUMNS",
  287. }
  288. var OutputStorageConfig_OutputSchema_value = map[string]int32{
  289. "OUTPUT_SCHEMA_UNSPECIFIED": 0,
  290. "BASIC_COLUMNS": 1,
  291. "GCS_COLUMNS": 2,
  292. "DATASTORE_COLUMNS": 3,
  293. "BIG_QUERY_COLUMNS": 4,
  294. "ALL_COLUMNS": 5,
  295. }
  296. func (x OutputStorageConfig_OutputSchema) String() string {
  297. return proto.EnumName(OutputStorageConfig_OutputSchema_name, int32(x))
  298. }
  299. func (OutputStorageConfig_OutputSchema) EnumDescriptor() ([]byte, []int) {
  300. return fileDescriptor_dlp_9184f835f60c3220, []int{27, 0}
  301. }
  302. type TimePartConfig_TimePart int32
  303. const (
  304. TimePartConfig_TIME_PART_UNSPECIFIED TimePartConfig_TimePart = 0
  305. // [0-9999]
  306. TimePartConfig_YEAR TimePartConfig_TimePart = 1
  307. // [1-12]
  308. TimePartConfig_MONTH TimePartConfig_TimePart = 2
  309. // [1-31]
  310. TimePartConfig_DAY_OF_MONTH TimePartConfig_TimePart = 3
  311. // [1-7]
  312. TimePartConfig_DAY_OF_WEEK TimePartConfig_TimePart = 4
  313. // [1-52]
  314. TimePartConfig_WEEK_OF_YEAR TimePartConfig_TimePart = 5
  315. // [0-23]
  316. TimePartConfig_HOUR_OF_DAY TimePartConfig_TimePart = 6
  317. )
  318. var TimePartConfig_TimePart_name = map[int32]string{
  319. 0: "TIME_PART_UNSPECIFIED",
  320. 1: "YEAR",
  321. 2: "MONTH",
  322. 3: "DAY_OF_MONTH",
  323. 4: "DAY_OF_WEEK",
  324. 5: "WEEK_OF_YEAR",
  325. 6: "HOUR_OF_DAY",
  326. }
  327. var TimePartConfig_TimePart_value = map[string]int32{
  328. "TIME_PART_UNSPECIFIED": 0,
  329. "YEAR": 1,
  330. "MONTH": 2,
  331. "DAY_OF_MONTH": 3,
  332. "DAY_OF_WEEK": 4,
  333. "WEEK_OF_YEAR": 5,
  334. "HOUR_OF_DAY": 6,
  335. }
  336. func (x TimePartConfig_TimePart) String() string {
  337. return proto.EnumName(TimePartConfig_TimePart_name, int32(x))
  338. }
  339. func (TimePartConfig_TimePart) EnumDescriptor() ([]byte, []int) {
  340. return fileDescriptor_dlp_9184f835f60c3220, []int{44, 0}
  341. }
  342. type CharsToIgnore_CommonCharsToIgnore int32
  343. const (
  344. CharsToIgnore_COMMON_CHARS_TO_IGNORE_UNSPECIFIED CharsToIgnore_CommonCharsToIgnore = 0
  345. // 0-9
  346. CharsToIgnore_NUMERIC CharsToIgnore_CommonCharsToIgnore = 1
  347. // A-Z
  348. CharsToIgnore_ALPHA_UPPER_CASE CharsToIgnore_CommonCharsToIgnore = 2
  349. // a-z
  350. CharsToIgnore_ALPHA_LOWER_CASE CharsToIgnore_CommonCharsToIgnore = 3
  351. // US Punctuation, one of !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
  352. CharsToIgnore_PUNCTUATION CharsToIgnore_CommonCharsToIgnore = 4
  353. // Whitespace character, one of [ \t\n\x0B\f\r]
  354. CharsToIgnore_WHITESPACE CharsToIgnore_CommonCharsToIgnore = 5
  355. )
  356. var CharsToIgnore_CommonCharsToIgnore_name = map[int32]string{
  357. 0: "COMMON_CHARS_TO_IGNORE_UNSPECIFIED",
  358. 1: "NUMERIC",
  359. 2: "ALPHA_UPPER_CASE",
  360. 3: "ALPHA_LOWER_CASE",
  361. 4: "PUNCTUATION",
  362. 5: "WHITESPACE",
  363. }
  364. var CharsToIgnore_CommonCharsToIgnore_value = map[string]int32{
  365. "COMMON_CHARS_TO_IGNORE_UNSPECIFIED": 0,
  366. "NUMERIC": 1,
  367. "ALPHA_UPPER_CASE": 2,
  368. "ALPHA_LOWER_CASE": 3,
  369. "PUNCTUATION": 4,
  370. "WHITESPACE": 5,
  371. }
  372. func (x CharsToIgnore_CommonCharsToIgnore) String() string {
  373. return proto.EnumName(CharsToIgnore_CommonCharsToIgnore_name, int32(x))
  374. }
  375. func (CharsToIgnore_CommonCharsToIgnore) EnumDescriptor() ([]byte, []int) {
  376. return fileDescriptor_dlp_9184f835f60c3220, []int{49, 0}
  377. }
  378. // These are commonly used subsets of the alphabet that the FFX mode
  379. // natively supports. In the algorithm, the alphabet is selected using
  380. // the "radix". Therefore each corresponds to particular radix.
  381. type CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet int32
  382. const (
  383. CryptoReplaceFfxFpeConfig_FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet = 0
  384. // [0-9] (radix of 10)
  385. CryptoReplaceFfxFpeConfig_NUMERIC CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet = 1
  386. // [0-9A-F] (radix of 16)
  387. CryptoReplaceFfxFpeConfig_HEXADECIMAL CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet = 2
  388. // [0-9A-Z] (radix of 36)
  389. CryptoReplaceFfxFpeConfig_UPPER_CASE_ALPHA_NUMERIC CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet = 3
  390. // [0-9A-Za-z] (radix of 62)
  391. CryptoReplaceFfxFpeConfig_ALPHA_NUMERIC CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet = 4
  392. )
  393. var CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet_name = map[int32]string{
  394. 0: "FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED",
  395. 1: "NUMERIC",
  396. 2: "HEXADECIMAL",
  397. 3: "UPPER_CASE_ALPHA_NUMERIC",
  398. 4: "ALPHA_NUMERIC",
  399. }
  400. var CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet_value = map[string]int32{
  401. "FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED": 0,
  402. "NUMERIC": 1,
  403. "HEXADECIMAL": 2,
  404. "UPPER_CASE_ALPHA_NUMERIC": 3,
  405. "ALPHA_NUMERIC": 4,
  406. }
  407. func (x CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) String() string {
  408. return proto.EnumName(CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet_name, int32(x))
  409. }
  410. func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) EnumDescriptor() ([]byte, []int) {
  411. return fileDescriptor_dlp_9184f835f60c3220, []int{53, 0}
  412. }
  413. type RecordCondition_Expressions_LogicalOperator int32
  414. const (
  415. RecordCondition_Expressions_LOGICAL_OPERATOR_UNSPECIFIED RecordCondition_Expressions_LogicalOperator = 0
  416. RecordCondition_Expressions_AND RecordCondition_Expressions_LogicalOperator = 1
  417. )
  418. var RecordCondition_Expressions_LogicalOperator_name = map[int32]string{
  419. 0: "LOGICAL_OPERATOR_UNSPECIFIED",
  420. 1: "AND",
  421. }
  422. var RecordCondition_Expressions_LogicalOperator_value = map[string]int32{
  423. "LOGICAL_OPERATOR_UNSPECIFIED": 0,
  424. "AND": 1,
  425. }
  426. func (x RecordCondition_Expressions_LogicalOperator) String() string {
  427. return proto.EnumName(RecordCondition_Expressions_LogicalOperator_name, int32(x))
  428. }
  429. func (RecordCondition_Expressions_LogicalOperator) EnumDescriptor() ([]byte, []int) {
  430. return fileDescriptor_dlp_9184f835f60c3220, []int{63, 2, 0}
  431. }
  432. // Possible outcomes of transformations.
  433. type TransformationSummary_TransformationResultCode int32
  434. const (
  435. TransformationSummary_TRANSFORMATION_RESULT_CODE_UNSPECIFIED TransformationSummary_TransformationResultCode = 0
  436. TransformationSummary_SUCCESS TransformationSummary_TransformationResultCode = 1
  437. TransformationSummary_ERROR TransformationSummary_TransformationResultCode = 2
  438. )
  439. var TransformationSummary_TransformationResultCode_name = map[int32]string{
  440. 0: "TRANSFORMATION_RESULT_CODE_UNSPECIFIED",
  441. 1: "SUCCESS",
  442. 2: "ERROR",
  443. }
  444. var TransformationSummary_TransformationResultCode_value = map[string]int32{
  445. "TRANSFORMATION_RESULT_CODE_UNSPECIFIED": 0,
  446. "SUCCESS": 1,
  447. "ERROR": 2,
  448. }
  449. func (x TransformationSummary_TransformationResultCode) String() string {
  450. return proto.EnumName(TransformationSummary_TransformationResultCode_name, int32(x))
  451. }
  452. func (TransformationSummary_TransformationResultCode) EnumDescriptor() ([]byte, []int) {
  453. return fileDescriptor_dlp_9184f835f60c3220, []int{65, 0}
  454. }
  455. // Whether the trigger is currently active. If PAUSED or CANCELLED, no jobs
  456. // will be created with this configuration. The service may automatically
  457. // pause triggers experiencing frequent errors. To restart a job, set the
  458. // status to HEALTHY after correcting user errors.
  459. type JobTrigger_Status int32
  460. const (
  461. JobTrigger_STATUS_UNSPECIFIED JobTrigger_Status = 0
  462. // Trigger is healthy.
  463. JobTrigger_HEALTHY JobTrigger_Status = 1
  464. // Trigger is temporarily paused.
  465. JobTrigger_PAUSED JobTrigger_Status = 2
  466. // Trigger is cancelled and can not be resumed.
  467. JobTrigger_CANCELLED JobTrigger_Status = 3
  468. )
  469. var JobTrigger_Status_name = map[int32]string{
  470. 0: "STATUS_UNSPECIFIED",
  471. 1: "HEALTHY",
  472. 2: "PAUSED",
  473. 3: "CANCELLED",
  474. }
  475. var JobTrigger_Status_value = map[string]int32{
  476. "STATUS_UNSPECIFIED": 0,
  477. "HEALTHY": 1,
  478. "PAUSED": 2,
  479. "CANCELLED": 3,
  480. }
  481. func (x JobTrigger_Status) String() string {
  482. return proto.EnumName(JobTrigger_Status_name, int32(x))
  483. }
  484. func (JobTrigger_Status) EnumDescriptor() ([]byte, []int) {
  485. return fileDescriptor_dlp_9184f835f60c3220, []int{70, 0}
  486. }
  487. type DlpJob_JobState int32
  488. const (
  489. DlpJob_JOB_STATE_UNSPECIFIED DlpJob_JobState = 0
  490. // The job has not yet started.
  491. DlpJob_PENDING DlpJob_JobState = 1
  492. // The job is currently running.
  493. DlpJob_RUNNING DlpJob_JobState = 2
  494. // The job is no longer running.
  495. DlpJob_DONE DlpJob_JobState = 3
  496. // The job was canceled before it could complete.
  497. DlpJob_CANCELED DlpJob_JobState = 4
  498. // The job had an error and did not complete.
  499. DlpJob_FAILED DlpJob_JobState = 5
  500. )
  501. var DlpJob_JobState_name = map[int32]string{
  502. 0: "JOB_STATE_UNSPECIFIED",
  503. 1: "PENDING",
  504. 2: "RUNNING",
  505. 3: "DONE",
  506. 4: "CANCELED",
  507. 5: "FAILED",
  508. }
  509. var DlpJob_JobState_value = map[string]int32{
  510. "JOB_STATE_UNSPECIFIED": 0,
  511. "PENDING": 1,
  512. "RUNNING": 2,
  513. "DONE": 3,
  514. "CANCELED": 4,
  515. "FAILED": 5,
  516. }
  517. func (x DlpJob_JobState) String() string {
  518. return proto.EnumName(DlpJob_JobState_name, int32(x))
  519. }
  520. func (DlpJob_JobState) EnumDescriptor() ([]byte, []int) {
  521. return fileDescriptor_dlp_9184f835f60c3220, []int{87, 0}
  522. }
  523. // List of exclude infoTypes.
  524. type ExcludeInfoTypes struct {
  525. // InfoType list in ExclusionRule rule drops a finding when it overlaps or
  526. // contained within with a finding of an infoType from this list. For
  527. // example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
  528. // `exclusion_rule` containing `exclude_info_types.info_types` with
  529. // "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
  530. // with EMAIL_ADDRESS finding.
  531. // That leads to "555-222-2222@example.org" to generate only a single
  532. // finding, namely email address.
  533. InfoTypes []*InfoType `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"`
  534. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  535. XXX_unrecognized []byte `json:"-"`
  536. XXX_sizecache int32 `json:"-"`
  537. }
  538. func (m *ExcludeInfoTypes) Reset() { *m = ExcludeInfoTypes{} }
  539. func (m *ExcludeInfoTypes) String() string { return proto.CompactTextString(m) }
  540. func (*ExcludeInfoTypes) ProtoMessage() {}
  541. func (*ExcludeInfoTypes) Descriptor() ([]byte, []int) {
  542. return fileDescriptor_dlp_9184f835f60c3220, []int{0}
  543. }
  544. func (m *ExcludeInfoTypes) XXX_Unmarshal(b []byte) error {
  545. return xxx_messageInfo_ExcludeInfoTypes.Unmarshal(m, b)
  546. }
  547. func (m *ExcludeInfoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  548. return xxx_messageInfo_ExcludeInfoTypes.Marshal(b, m, deterministic)
  549. }
  550. func (dst *ExcludeInfoTypes) XXX_Merge(src proto.Message) {
  551. xxx_messageInfo_ExcludeInfoTypes.Merge(dst, src)
  552. }
  553. func (m *ExcludeInfoTypes) XXX_Size() int {
  554. return xxx_messageInfo_ExcludeInfoTypes.Size(m)
  555. }
  556. func (m *ExcludeInfoTypes) XXX_DiscardUnknown() {
  557. xxx_messageInfo_ExcludeInfoTypes.DiscardUnknown(m)
  558. }
  559. var xxx_messageInfo_ExcludeInfoTypes proto.InternalMessageInfo
  560. func (m *ExcludeInfoTypes) GetInfoTypes() []*InfoType {
  561. if m != nil {
  562. return m.InfoTypes
  563. }
  564. return nil
  565. }
  566. // The rule that specifies conditions when findings of infoTypes specified in
  567. // `InspectionRuleSet` are removed from results.
  568. type ExclusionRule struct {
  569. // Types that are valid to be assigned to Type:
  570. // *ExclusionRule_Dictionary
  571. // *ExclusionRule_Regex
  572. // *ExclusionRule_ExcludeInfoTypes
  573. Type isExclusionRule_Type `protobuf_oneof:"type"`
  574. // How the rule is applied, see MatchingType documentation for details.
  575. MatchingType MatchingType `protobuf:"varint,4,opt,name=matching_type,json=matchingType,proto3,enum=google.privacy.dlp.v2.MatchingType" json:"matching_type,omitempty"`
  576. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  577. XXX_unrecognized []byte `json:"-"`
  578. XXX_sizecache int32 `json:"-"`
  579. }
  580. func (m *ExclusionRule) Reset() { *m = ExclusionRule{} }
  581. func (m *ExclusionRule) String() string { return proto.CompactTextString(m) }
  582. func (*ExclusionRule) ProtoMessage() {}
  583. func (*ExclusionRule) Descriptor() ([]byte, []int) {
  584. return fileDescriptor_dlp_9184f835f60c3220, []int{1}
  585. }
  586. func (m *ExclusionRule) XXX_Unmarshal(b []byte) error {
  587. return xxx_messageInfo_ExclusionRule.Unmarshal(m, b)
  588. }
  589. func (m *ExclusionRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  590. return xxx_messageInfo_ExclusionRule.Marshal(b, m, deterministic)
  591. }
  592. func (dst *ExclusionRule) XXX_Merge(src proto.Message) {
  593. xxx_messageInfo_ExclusionRule.Merge(dst, src)
  594. }
  595. func (m *ExclusionRule) XXX_Size() int {
  596. return xxx_messageInfo_ExclusionRule.Size(m)
  597. }
  598. func (m *ExclusionRule) XXX_DiscardUnknown() {
  599. xxx_messageInfo_ExclusionRule.DiscardUnknown(m)
  600. }
  601. var xxx_messageInfo_ExclusionRule proto.InternalMessageInfo
  602. type isExclusionRule_Type interface {
  603. isExclusionRule_Type()
  604. }
  605. type ExclusionRule_Dictionary struct {
  606. Dictionary *CustomInfoType_Dictionary `protobuf:"bytes,1,opt,name=dictionary,proto3,oneof"`
  607. }
  608. type ExclusionRule_Regex struct {
  609. Regex *CustomInfoType_Regex `protobuf:"bytes,2,opt,name=regex,proto3,oneof"`
  610. }
  611. type ExclusionRule_ExcludeInfoTypes struct {
  612. ExcludeInfoTypes *ExcludeInfoTypes `protobuf:"bytes,3,opt,name=exclude_info_types,json=excludeInfoTypes,proto3,oneof"`
  613. }
  614. func (*ExclusionRule_Dictionary) isExclusionRule_Type() {}
  615. func (*ExclusionRule_Regex) isExclusionRule_Type() {}
  616. func (*ExclusionRule_ExcludeInfoTypes) isExclusionRule_Type() {}
  617. func (m *ExclusionRule) GetType() isExclusionRule_Type {
  618. if m != nil {
  619. return m.Type
  620. }
  621. return nil
  622. }
  623. func (m *ExclusionRule) GetDictionary() *CustomInfoType_Dictionary {
  624. if x, ok := m.GetType().(*ExclusionRule_Dictionary); ok {
  625. return x.Dictionary
  626. }
  627. return nil
  628. }
  629. func (m *ExclusionRule) GetRegex() *CustomInfoType_Regex {
  630. if x, ok := m.GetType().(*ExclusionRule_Regex); ok {
  631. return x.Regex
  632. }
  633. return nil
  634. }
  635. func (m *ExclusionRule) GetExcludeInfoTypes() *ExcludeInfoTypes {
  636. if x, ok := m.GetType().(*ExclusionRule_ExcludeInfoTypes); ok {
  637. return x.ExcludeInfoTypes
  638. }
  639. return nil
  640. }
  641. func (m *ExclusionRule) GetMatchingType() MatchingType {
  642. if m != nil {
  643. return m.MatchingType
  644. }
  645. return MatchingType_MATCHING_TYPE_UNSPECIFIED
  646. }
  647. // XXX_OneofFuncs is for the internal use of the proto package.
  648. func (*ExclusionRule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  649. return _ExclusionRule_OneofMarshaler, _ExclusionRule_OneofUnmarshaler, _ExclusionRule_OneofSizer, []interface{}{
  650. (*ExclusionRule_Dictionary)(nil),
  651. (*ExclusionRule_Regex)(nil),
  652. (*ExclusionRule_ExcludeInfoTypes)(nil),
  653. }
  654. }
  655. func _ExclusionRule_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  656. m := msg.(*ExclusionRule)
  657. // type
  658. switch x := m.Type.(type) {
  659. case *ExclusionRule_Dictionary:
  660. b.EncodeVarint(1<<3 | proto.WireBytes)
  661. if err := b.EncodeMessage(x.Dictionary); err != nil {
  662. return err
  663. }
  664. case *ExclusionRule_Regex:
  665. b.EncodeVarint(2<<3 | proto.WireBytes)
  666. if err := b.EncodeMessage(x.Regex); err != nil {
  667. return err
  668. }
  669. case *ExclusionRule_ExcludeInfoTypes:
  670. b.EncodeVarint(3<<3 | proto.WireBytes)
  671. if err := b.EncodeMessage(x.ExcludeInfoTypes); err != nil {
  672. return err
  673. }
  674. case nil:
  675. default:
  676. return fmt.Errorf("ExclusionRule.Type has unexpected type %T", x)
  677. }
  678. return nil
  679. }
  680. func _ExclusionRule_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  681. m := msg.(*ExclusionRule)
  682. switch tag {
  683. case 1: // type.dictionary
  684. if wire != proto.WireBytes {
  685. return true, proto.ErrInternalBadWireType
  686. }
  687. msg := new(CustomInfoType_Dictionary)
  688. err := b.DecodeMessage(msg)
  689. m.Type = &ExclusionRule_Dictionary{msg}
  690. return true, err
  691. case 2: // type.regex
  692. if wire != proto.WireBytes {
  693. return true, proto.ErrInternalBadWireType
  694. }
  695. msg := new(CustomInfoType_Regex)
  696. err := b.DecodeMessage(msg)
  697. m.Type = &ExclusionRule_Regex{msg}
  698. return true, err
  699. case 3: // type.exclude_info_types
  700. if wire != proto.WireBytes {
  701. return true, proto.ErrInternalBadWireType
  702. }
  703. msg := new(ExcludeInfoTypes)
  704. err := b.DecodeMessage(msg)
  705. m.Type = &ExclusionRule_ExcludeInfoTypes{msg}
  706. return true, err
  707. default:
  708. return false, nil
  709. }
  710. }
  711. func _ExclusionRule_OneofSizer(msg proto.Message) (n int) {
  712. m := msg.(*ExclusionRule)
  713. // type
  714. switch x := m.Type.(type) {
  715. case *ExclusionRule_Dictionary:
  716. s := proto.Size(x.Dictionary)
  717. n += 1 // tag and wire
  718. n += proto.SizeVarint(uint64(s))
  719. n += s
  720. case *ExclusionRule_Regex:
  721. s := proto.Size(x.Regex)
  722. n += 1 // tag and wire
  723. n += proto.SizeVarint(uint64(s))
  724. n += s
  725. case *ExclusionRule_ExcludeInfoTypes:
  726. s := proto.Size(x.ExcludeInfoTypes)
  727. n += 1 // tag and wire
  728. n += proto.SizeVarint(uint64(s))
  729. n += s
  730. case nil:
  731. default:
  732. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  733. }
  734. return n
  735. }
  736. // A single inspection rule to be applied to infoTypes, specified in
  737. // `InspectionRuleSet`.
  738. type InspectionRule struct {
  739. // Types that are valid to be assigned to Type:
  740. // *InspectionRule_HotwordRule
  741. // *InspectionRule_ExclusionRule
  742. Type isInspectionRule_Type `protobuf_oneof:"type"`
  743. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  744. XXX_unrecognized []byte `json:"-"`
  745. XXX_sizecache int32 `json:"-"`
  746. }
  747. func (m *InspectionRule) Reset() { *m = InspectionRule{} }
  748. func (m *InspectionRule) String() string { return proto.CompactTextString(m) }
  749. func (*InspectionRule) ProtoMessage() {}
  750. func (*InspectionRule) Descriptor() ([]byte, []int) {
  751. return fileDescriptor_dlp_9184f835f60c3220, []int{2}
  752. }
  753. func (m *InspectionRule) XXX_Unmarshal(b []byte) error {
  754. return xxx_messageInfo_InspectionRule.Unmarshal(m, b)
  755. }
  756. func (m *InspectionRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  757. return xxx_messageInfo_InspectionRule.Marshal(b, m, deterministic)
  758. }
  759. func (dst *InspectionRule) XXX_Merge(src proto.Message) {
  760. xxx_messageInfo_InspectionRule.Merge(dst, src)
  761. }
  762. func (m *InspectionRule) XXX_Size() int {
  763. return xxx_messageInfo_InspectionRule.Size(m)
  764. }
  765. func (m *InspectionRule) XXX_DiscardUnknown() {
  766. xxx_messageInfo_InspectionRule.DiscardUnknown(m)
  767. }
  768. var xxx_messageInfo_InspectionRule proto.InternalMessageInfo
  769. type isInspectionRule_Type interface {
  770. isInspectionRule_Type()
  771. }
  772. type InspectionRule_HotwordRule struct {
  773. HotwordRule *CustomInfoType_DetectionRule_HotwordRule `protobuf:"bytes,1,opt,name=hotword_rule,json=hotwordRule,proto3,oneof"`
  774. }
  775. type InspectionRule_ExclusionRule struct {
  776. ExclusionRule *ExclusionRule `protobuf:"bytes,2,opt,name=exclusion_rule,json=exclusionRule,proto3,oneof"`
  777. }
  778. func (*InspectionRule_HotwordRule) isInspectionRule_Type() {}
  779. func (*InspectionRule_ExclusionRule) isInspectionRule_Type() {}
  780. func (m *InspectionRule) GetType() isInspectionRule_Type {
  781. if m != nil {
  782. return m.Type
  783. }
  784. return nil
  785. }
  786. func (m *InspectionRule) GetHotwordRule() *CustomInfoType_DetectionRule_HotwordRule {
  787. if x, ok := m.GetType().(*InspectionRule_HotwordRule); ok {
  788. return x.HotwordRule
  789. }
  790. return nil
  791. }
  792. func (m *InspectionRule) GetExclusionRule() *ExclusionRule {
  793. if x, ok := m.GetType().(*InspectionRule_ExclusionRule); ok {
  794. return x.ExclusionRule
  795. }
  796. return nil
  797. }
  798. // XXX_OneofFuncs is for the internal use of the proto package.
  799. func (*InspectionRule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  800. return _InspectionRule_OneofMarshaler, _InspectionRule_OneofUnmarshaler, _InspectionRule_OneofSizer, []interface{}{
  801. (*InspectionRule_HotwordRule)(nil),
  802. (*InspectionRule_ExclusionRule)(nil),
  803. }
  804. }
  805. func _InspectionRule_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  806. m := msg.(*InspectionRule)
  807. // type
  808. switch x := m.Type.(type) {
  809. case *InspectionRule_HotwordRule:
  810. b.EncodeVarint(1<<3 | proto.WireBytes)
  811. if err := b.EncodeMessage(x.HotwordRule); err != nil {
  812. return err
  813. }
  814. case *InspectionRule_ExclusionRule:
  815. b.EncodeVarint(2<<3 | proto.WireBytes)
  816. if err := b.EncodeMessage(x.ExclusionRule); err != nil {
  817. return err
  818. }
  819. case nil:
  820. default:
  821. return fmt.Errorf("InspectionRule.Type has unexpected type %T", x)
  822. }
  823. return nil
  824. }
  825. func _InspectionRule_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  826. m := msg.(*InspectionRule)
  827. switch tag {
  828. case 1: // type.hotword_rule
  829. if wire != proto.WireBytes {
  830. return true, proto.ErrInternalBadWireType
  831. }
  832. msg := new(CustomInfoType_DetectionRule_HotwordRule)
  833. err := b.DecodeMessage(msg)
  834. m.Type = &InspectionRule_HotwordRule{msg}
  835. return true, err
  836. case 2: // type.exclusion_rule
  837. if wire != proto.WireBytes {
  838. return true, proto.ErrInternalBadWireType
  839. }
  840. msg := new(ExclusionRule)
  841. err := b.DecodeMessage(msg)
  842. m.Type = &InspectionRule_ExclusionRule{msg}
  843. return true, err
  844. default:
  845. return false, nil
  846. }
  847. }
  848. func _InspectionRule_OneofSizer(msg proto.Message) (n int) {
  849. m := msg.(*InspectionRule)
  850. // type
  851. switch x := m.Type.(type) {
  852. case *InspectionRule_HotwordRule:
  853. s := proto.Size(x.HotwordRule)
  854. n += 1 // tag and wire
  855. n += proto.SizeVarint(uint64(s))
  856. n += s
  857. case *InspectionRule_ExclusionRule:
  858. s := proto.Size(x.ExclusionRule)
  859. n += 1 // tag and wire
  860. n += proto.SizeVarint(uint64(s))
  861. n += s
  862. case nil:
  863. default:
  864. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  865. }
  866. return n
  867. }
  868. // Rule set for modifying a set of infoTypes to alter behavior under certain
  869. // circumstances, depending on the specific details of the rules within the set.
  870. type InspectionRuleSet struct {
  871. // List of infoTypes this rule set is applied to.
  872. InfoTypes []*InfoType `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"`
  873. // Set of rules to be applied to infoTypes. The rules are applied in order.
  874. Rules []*InspectionRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
  875. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  876. XXX_unrecognized []byte `json:"-"`
  877. XXX_sizecache int32 `json:"-"`
  878. }
  879. func (m *InspectionRuleSet) Reset() { *m = InspectionRuleSet{} }
  880. func (m *InspectionRuleSet) String() string { return proto.CompactTextString(m) }
  881. func (*InspectionRuleSet) ProtoMessage() {}
  882. func (*InspectionRuleSet) Descriptor() ([]byte, []int) {
  883. return fileDescriptor_dlp_9184f835f60c3220, []int{3}
  884. }
  885. func (m *InspectionRuleSet) XXX_Unmarshal(b []byte) error {
  886. return xxx_messageInfo_InspectionRuleSet.Unmarshal(m, b)
  887. }
  888. func (m *InspectionRuleSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  889. return xxx_messageInfo_InspectionRuleSet.Marshal(b, m, deterministic)
  890. }
  891. func (dst *InspectionRuleSet) XXX_Merge(src proto.Message) {
  892. xxx_messageInfo_InspectionRuleSet.Merge(dst, src)
  893. }
  894. func (m *InspectionRuleSet) XXX_Size() int {
  895. return xxx_messageInfo_InspectionRuleSet.Size(m)
  896. }
  897. func (m *InspectionRuleSet) XXX_DiscardUnknown() {
  898. xxx_messageInfo_InspectionRuleSet.DiscardUnknown(m)
  899. }
  900. var xxx_messageInfo_InspectionRuleSet proto.InternalMessageInfo
  901. func (m *InspectionRuleSet) GetInfoTypes() []*InfoType {
  902. if m != nil {
  903. return m.InfoTypes
  904. }
  905. return nil
  906. }
  907. func (m *InspectionRuleSet) GetRules() []*InspectionRule {
  908. if m != nil {
  909. return m.Rules
  910. }
  911. return nil
  912. }
  913. // Configuration description of the scanning process.
  914. // When used with redactContent only info_types and min_likelihood are currently
  915. // used.
  916. type InspectConfig struct {
  917. // Restricts what info_types to look for. The values must correspond to
  918. // InfoType values returned by ListInfoTypes or listed at
  919. // https://cloud.google.com/dlp/docs/infotypes-reference.
  920. //
  921. // When no InfoTypes or CustomInfoTypes are specified in a request, the
  922. // system may automatically choose what detectors to run. By default this may
  923. // be all types, but may change over time as detectors are updated.
  924. //
  925. // The special InfoType name "ALL_BASIC" can be used to trigger all detectors,
  926. // but may change over time as new InfoTypes are added. If you need precise
  927. // control and predictability as to what detectors are run you should specify
  928. // specific InfoTypes listed in the reference.
  929. InfoTypes []*InfoType `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"`
  930. // Only returns findings equal or above this threshold. The default is
  931. // POSSIBLE.
  932. // See https://cloud.google.com/dlp/docs/likelihood to learn more.
  933. MinLikelihood Likelihood `protobuf:"varint,2,opt,name=min_likelihood,json=minLikelihood,proto3,enum=google.privacy.dlp.v2.Likelihood" json:"min_likelihood,omitempty"`
  934. Limits *InspectConfig_FindingLimits `protobuf:"bytes,3,opt,name=limits,proto3" json:"limits,omitempty"`
  935. // When true, a contextual quote from the data that triggered a finding is
  936. // included in the response; see Finding.quote.
  937. IncludeQuote bool `protobuf:"varint,4,opt,name=include_quote,json=includeQuote,proto3" json:"include_quote,omitempty"`
  938. // When true, excludes type information of the findings.
  939. ExcludeInfoTypes bool `protobuf:"varint,5,opt,name=exclude_info_types,json=excludeInfoTypes,proto3" json:"exclude_info_types,omitempty"`
  940. // CustomInfoTypes provided by the user. See
  941. // https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
  942. CustomInfoTypes []*CustomInfoType `protobuf:"bytes,6,rep,name=custom_info_types,json=customInfoTypes,proto3" json:"custom_info_types,omitempty"`
  943. // List of options defining data content to scan.
  944. // If empty, text, images, and other content will be included.
  945. ContentOptions []ContentOption `protobuf:"varint,8,rep,packed,name=content_options,json=contentOptions,proto3,enum=google.privacy.dlp.v2.ContentOption" json:"content_options,omitempty"`
  946. // Set of rules to apply to the findings for this InspectConfig.
  947. // Exclusion rules, contained in the set are executed in the end, other
  948. // rules are executed in the order they are specified for each info type.
  949. RuleSet []*InspectionRuleSet `protobuf:"bytes,10,rep,name=rule_set,json=ruleSet,proto3" json:"rule_set,omitempty"`
  950. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  951. XXX_unrecognized []byte `json:"-"`
  952. XXX_sizecache int32 `json:"-"`
  953. }
  954. func (m *InspectConfig) Reset() { *m = InspectConfig{} }
  955. func (m *InspectConfig) String() string { return proto.CompactTextString(m) }
  956. func (*InspectConfig) ProtoMessage() {}
  957. func (*InspectConfig) Descriptor() ([]byte, []int) {
  958. return fileDescriptor_dlp_9184f835f60c3220, []int{4}
  959. }
  960. func (m *InspectConfig) XXX_Unmarshal(b []byte) error {
  961. return xxx_messageInfo_InspectConfig.Unmarshal(m, b)
  962. }
  963. func (m *InspectConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  964. return xxx_messageInfo_InspectConfig.Marshal(b, m, deterministic)
  965. }
  966. func (dst *InspectConfig) XXX_Merge(src proto.Message) {
  967. xxx_messageInfo_InspectConfig.Merge(dst, src)
  968. }
  969. func (m *InspectConfig) XXX_Size() int {
  970. return xxx_messageInfo_InspectConfig.Size(m)
  971. }
  972. func (m *InspectConfig) XXX_DiscardUnknown() {
  973. xxx_messageInfo_InspectConfig.DiscardUnknown(m)
  974. }
  975. var xxx_messageInfo_InspectConfig proto.InternalMessageInfo
  976. func (m *InspectConfig) GetInfoTypes() []*InfoType {
  977. if m != nil {
  978. return m.InfoTypes
  979. }
  980. return nil
  981. }
  982. func (m *InspectConfig) GetMinLikelihood() Likelihood {
  983. if m != nil {
  984. return m.MinLikelihood
  985. }
  986. return Likelihood_LIKELIHOOD_UNSPECIFIED
  987. }
  988. func (m *InspectConfig) GetLimits() *InspectConfig_FindingLimits {
  989. if m != nil {
  990. return m.Limits
  991. }
  992. return nil
  993. }
  994. func (m *InspectConfig) GetIncludeQuote() bool {
  995. if m != nil {
  996. return m.IncludeQuote
  997. }
  998. return false
  999. }
  1000. func (m *InspectConfig) GetExcludeInfoTypes() bool {
  1001. if m != nil {
  1002. return m.ExcludeInfoTypes
  1003. }
  1004. return false
  1005. }
  1006. func (m *InspectConfig) GetCustomInfoTypes() []*CustomInfoType {
  1007. if m != nil {
  1008. return m.CustomInfoTypes
  1009. }
  1010. return nil
  1011. }
  1012. func (m *InspectConfig) GetContentOptions() []ContentOption {
  1013. if m != nil {
  1014. return m.ContentOptions
  1015. }
  1016. return nil
  1017. }
  1018. func (m *InspectConfig) GetRuleSet() []*InspectionRuleSet {
  1019. if m != nil {
  1020. return m.RuleSet
  1021. }
  1022. return nil
  1023. }
  1024. type InspectConfig_FindingLimits struct {
  1025. // Max number of findings that will be returned for each item scanned.
  1026. // When set within `InspectDataSourceRequest`,
  1027. // the maximum returned is 2000 regardless if this is set higher.
  1028. // When set within `InspectContentRequest`, this field is ignored.
  1029. MaxFindingsPerItem int32 `protobuf:"varint,1,opt,name=max_findings_per_item,json=maxFindingsPerItem,proto3" json:"max_findings_per_item,omitempty"`
  1030. // Max number of findings that will be returned per request/job.
  1031. // When set within `InspectContentRequest`, the maximum returned is 2000
  1032. // regardless if this is set higher.
  1033. MaxFindingsPerRequest int32 `protobuf:"varint,2,opt,name=max_findings_per_request,json=maxFindingsPerRequest,proto3" json:"max_findings_per_request,omitempty"`
  1034. // Configuration of findings limit given for specified infoTypes.
  1035. MaxFindingsPerInfoType []*InspectConfig_FindingLimits_InfoTypeLimit `protobuf:"bytes,3,rep,name=max_findings_per_info_type,json=maxFindingsPerInfoType,proto3" json:"max_findings_per_info_type,omitempty"`
  1036. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1037. XXX_unrecognized []byte `json:"-"`
  1038. XXX_sizecache int32 `json:"-"`
  1039. }
  1040. func (m *InspectConfig_FindingLimits) Reset() { *m = InspectConfig_FindingLimits{} }
  1041. func (m *InspectConfig_FindingLimits) String() string { return proto.CompactTextString(m) }
  1042. func (*InspectConfig_FindingLimits) ProtoMessage() {}
  1043. func (*InspectConfig_FindingLimits) Descriptor() ([]byte, []int) {
  1044. return fileDescriptor_dlp_9184f835f60c3220, []int{4, 0}
  1045. }
  1046. func (m *InspectConfig_FindingLimits) XXX_Unmarshal(b []byte) error {
  1047. return xxx_messageInfo_InspectConfig_FindingLimits.Unmarshal(m, b)
  1048. }
  1049. func (m *InspectConfig_FindingLimits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1050. return xxx_messageInfo_InspectConfig_FindingLimits.Marshal(b, m, deterministic)
  1051. }
  1052. func (dst *InspectConfig_FindingLimits) XXX_Merge(src proto.Message) {
  1053. xxx_messageInfo_InspectConfig_FindingLimits.Merge(dst, src)
  1054. }
  1055. func (m *InspectConfig_FindingLimits) XXX_Size() int {
  1056. return xxx_messageInfo_InspectConfig_FindingLimits.Size(m)
  1057. }
  1058. func (m *InspectConfig_FindingLimits) XXX_DiscardUnknown() {
  1059. xxx_messageInfo_InspectConfig_FindingLimits.DiscardUnknown(m)
  1060. }
  1061. var xxx_messageInfo_InspectConfig_FindingLimits proto.InternalMessageInfo
  1062. func (m *InspectConfig_FindingLimits) GetMaxFindingsPerItem() int32 {
  1063. if m != nil {
  1064. return m.MaxFindingsPerItem
  1065. }
  1066. return 0
  1067. }
  1068. func (m *InspectConfig_FindingLimits) GetMaxFindingsPerRequest() int32 {
  1069. if m != nil {
  1070. return m.MaxFindingsPerRequest
  1071. }
  1072. return 0
  1073. }
  1074. func (m *InspectConfig_FindingLimits) GetMaxFindingsPerInfoType() []*InspectConfig_FindingLimits_InfoTypeLimit {
  1075. if m != nil {
  1076. return m.MaxFindingsPerInfoType
  1077. }
  1078. return nil
  1079. }
  1080. // Max findings configuration per infoType, per content item or long
  1081. // running DlpJob.
  1082. type InspectConfig_FindingLimits_InfoTypeLimit struct {
  1083. // Type of information the findings limit applies to. Only one limit per
  1084. // info_type should be provided. If InfoTypeLimit does not have an
  1085. // info_type, the DLP API applies the limit against all info_types that
  1086. // are found but not specified in another InfoTypeLimit.
  1087. InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"`
  1088. // Max findings limit for the given infoType.
  1089. MaxFindings int32 `protobuf:"varint,2,opt,name=max_findings,json=maxFindings,proto3" json:"max_findings,omitempty"`
  1090. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1091. XXX_unrecognized []byte `json:"-"`
  1092. XXX_sizecache int32 `json:"-"`
  1093. }
  1094. func (m *InspectConfig_FindingLimits_InfoTypeLimit) Reset() {
  1095. *m = InspectConfig_FindingLimits_InfoTypeLimit{}
  1096. }
  1097. func (m *InspectConfig_FindingLimits_InfoTypeLimit) String() string { return proto.CompactTextString(m) }
  1098. func (*InspectConfig_FindingLimits_InfoTypeLimit) ProtoMessage() {}
  1099. func (*InspectConfig_FindingLimits_InfoTypeLimit) Descriptor() ([]byte, []int) {
  1100. return fileDescriptor_dlp_9184f835f60c3220, []int{4, 0, 0}
  1101. }
  1102. func (m *InspectConfig_FindingLimits_InfoTypeLimit) XXX_Unmarshal(b []byte) error {
  1103. return xxx_messageInfo_InspectConfig_FindingLimits_InfoTypeLimit.Unmarshal(m, b)
  1104. }
  1105. func (m *InspectConfig_FindingLimits_InfoTypeLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1106. return xxx_messageInfo_InspectConfig_FindingLimits_InfoTypeLimit.Marshal(b, m, deterministic)
  1107. }
  1108. func (dst *InspectConfig_FindingLimits_InfoTypeLimit) XXX_Merge(src proto.Message) {
  1109. xxx_messageInfo_InspectConfig_FindingLimits_InfoTypeLimit.Merge(dst, src)
  1110. }
  1111. func (m *InspectConfig_FindingLimits_InfoTypeLimit) XXX_Size() int {
  1112. return xxx_messageInfo_InspectConfig_FindingLimits_InfoTypeLimit.Size(m)
  1113. }
  1114. func (m *InspectConfig_FindingLimits_InfoTypeLimit) XXX_DiscardUnknown() {
  1115. xxx_messageInfo_InspectConfig_FindingLimits_InfoTypeLimit.DiscardUnknown(m)
  1116. }
  1117. var xxx_messageInfo_InspectConfig_FindingLimits_InfoTypeLimit proto.InternalMessageInfo
  1118. func (m *InspectConfig_FindingLimits_InfoTypeLimit) GetInfoType() *InfoType {
  1119. if m != nil {
  1120. return m.InfoType
  1121. }
  1122. return nil
  1123. }
  1124. func (m *InspectConfig_FindingLimits_InfoTypeLimit) GetMaxFindings() int32 {
  1125. if m != nil {
  1126. return m.MaxFindings
  1127. }
  1128. return 0
  1129. }
  1130. // Container for bytes to inspect or redact.
  1131. type ByteContentItem struct {
  1132. // The type of data stored in the bytes string. Default will be TEXT_UTF8.
  1133. Type ByteContentItem_BytesType `protobuf:"varint,1,opt,name=type,proto3,enum=google.privacy.dlp.v2.ByteContentItem_BytesType" json:"type,omitempty"`
  1134. // Content data to inspect or redact.
  1135. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
  1136. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1137. XXX_unrecognized []byte `json:"-"`
  1138. XXX_sizecache int32 `json:"-"`
  1139. }
  1140. func (m *ByteContentItem) Reset() { *m = ByteContentItem{} }
  1141. func (m *ByteContentItem) String() string { return proto.CompactTextString(m) }
  1142. func (*ByteContentItem) ProtoMessage() {}
  1143. func (*ByteContentItem) Descriptor() ([]byte, []int) {
  1144. return fileDescriptor_dlp_9184f835f60c3220, []int{5}
  1145. }
  1146. func (m *ByteContentItem) XXX_Unmarshal(b []byte) error {
  1147. return xxx_messageInfo_ByteContentItem.Unmarshal(m, b)
  1148. }
  1149. func (m *ByteContentItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1150. return xxx_messageInfo_ByteContentItem.Marshal(b, m, deterministic)
  1151. }
  1152. func (dst *ByteContentItem) XXX_Merge(src proto.Message) {
  1153. xxx_messageInfo_ByteContentItem.Merge(dst, src)
  1154. }
  1155. func (m *ByteContentItem) XXX_Size() int {
  1156. return xxx_messageInfo_ByteContentItem.Size(m)
  1157. }
  1158. func (m *ByteContentItem) XXX_DiscardUnknown() {
  1159. xxx_messageInfo_ByteContentItem.DiscardUnknown(m)
  1160. }
  1161. var xxx_messageInfo_ByteContentItem proto.InternalMessageInfo
  1162. func (m *ByteContentItem) GetType() ByteContentItem_BytesType {
  1163. if m != nil {
  1164. return m.Type
  1165. }
  1166. return ByteContentItem_BYTES_TYPE_UNSPECIFIED
  1167. }
  1168. func (m *ByteContentItem) GetData() []byte {
  1169. if m != nil {
  1170. return m.Data
  1171. }
  1172. return nil
  1173. }
  1174. // Container structure for the content to inspect.
  1175. type ContentItem struct {
  1176. // Data of the item either in the byte array or UTF-8 string form, or table.
  1177. //
  1178. // Types that are valid to be assigned to DataItem:
  1179. // *ContentItem_Value
  1180. // *ContentItem_Table
  1181. // *ContentItem_ByteItem
  1182. DataItem isContentItem_DataItem `protobuf_oneof:"data_item"`
  1183. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1184. XXX_unrecognized []byte `json:"-"`
  1185. XXX_sizecache int32 `json:"-"`
  1186. }
  1187. func (m *ContentItem) Reset() { *m = ContentItem{} }
  1188. func (m *ContentItem) String() string { return proto.CompactTextString(m) }
  1189. func (*ContentItem) ProtoMessage() {}
  1190. func (*ContentItem) Descriptor() ([]byte, []int) {
  1191. return fileDescriptor_dlp_9184f835f60c3220, []int{6}
  1192. }
  1193. func (m *ContentItem) XXX_Unmarshal(b []byte) error {
  1194. return xxx_messageInfo_ContentItem.Unmarshal(m, b)
  1195. }
  1196. func (m *ContentItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1197. return xxx_messageInfo_ContentItem.Marshal(b, m, deterministic)
  1198. }
  1199. func (dst *ContentItem) XXX_Merge(src proto.Message) {
  1200. xxx_messageInfo_ContentItem.Merge(dst, src)
  1201. }
  1202. func (m *ContentItem) XXX_Size() int {
  1203. return xxx_messageInfo_ContentItem.Size(m)
  1204. }
  1205. func (m *ContentItem) XXX_DiscardUnknown() {
  1206. xxx_messageInfo_ContentItem.DiscardUnknown(m)
  1207. }
  1208. var xxx_messageInfo_ContentItem proto.InternalMessageInfo
  1209. type isContentItem_DataItem interface {
  1210. isContentItem_DataItem()
  1211. }
  1212. type ContentItem_Value struct {
  1213. Value string `protobuf:"bytes,3,opt,name=value,proto3,oneof"`
  1214. }
  1215. type ContentItem_Table struct {
  1216. Table *Table `protobuf:"bytes,4,opt,name=table,proto3,oneof"`
  1217. }
  1218. type ContentItem_ByteItem struct {
  1219. ByteItem *ByteContentItem `protobuf:"bytes,5,opt,name=byte_item,json=byteItem,proto3,oneof"`
  1220. }
  1221. func (*ContentItem_Value) isContentItem_DataItem() {}
  1222. func (*ContentItem_Table) isContentItem_DataItem() {}
  1223. func (*ContentItem_ByteItem) isContentItem_DataItem() {}
  1224. func (m *ContentItem) GetDataItem() isContentItem_DataItem {
  1225. if m != nil {
  1226. return m.DataItem
  1227. }
  1228. return nil
  1229. }
  1230. func (m *ContentItem) GetValue() string {
  1231. if x, ok := m.GetDataItem().(*ContentItem_Value); ok {
  1232. return x.Value
  1233. }
  1234. return ""
  1235. }
  1236. func (m *ContentItem) GetTable() *Table {
  1237. if x, ok := m.GetDataItem().(*ContentItem_Table); ok {
  1238. return x.Table
  1239. }
  1240. return nil
  1241. }
  1242. func (m *ContentItem) GetByteItem() *ByteContentItem {
  1243. if x, ok := m.GetDataItem().(*ContentItem_ByteItem); ok {
  1244. return x.ByteItem
  1245. }
  1246. return nil
  1247. }
  1248. // XXX_OneofFuncs is for the internal use of the proto package.
  1249. func (*ContentItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  1250. return _ContentItem_OneofMarshaler, _ContentItem_OneofUnmarshaler, _ContentItem_OneofSizer, []interface{}{
  1251. (*ContentItem_Value)(nil),
  1252. (*ContentItem_Table)(nil),
  1253. (*ContentItem_ByteItem)(nil),
  1254. }
  1255. }
  1256. func _ContentItem_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  1257. m := msg.(*ContentItem)
  1258. // data_item
  1259. switch x := m.DataItem.(type) {
  1260. case *ContentItem_Value:
  1261. b.EncodeVarint(3<<3 | proto.WireBytes)
  1262. b.EncodeStringBytes(x.Value)
  1263. case *ContentItem_Table:
  1264. b.EncodeVarint(4<<3 | proto.WireBytes)
  1265. if err := b.EncodeMessage(x.Table); err != nil {
  1266. return err
  1267. }
  1268. case *ContentItem_ByteItem:
  1269. b.EncodeVarint(5<<3 | proto.WireBytes)
  1270. if err := b.EncodeMessage(x.ByteItem); err != nil {
  1271. return err
  1272. }
  1273. case nil:
  1274. default:
  1275. return fmt.Errorf("ContentItem.DataItem has unexpected type %T", x)
  1276. }
  1277. return nil
  1278. }
  1279. func _ContentItem_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  1280. m := msg.(*ContentItem)
  1281. switch tag {
  1282. case 3: // data_item.value
  1283. if wire != proto.WireBytes {
  1284. return true, proto.ErrInternalBadWireType
  1285. }
  1286. x, err := b.DecodeStringBytes()
  1287. m.DataItem = &ContentItem_Value{x}
  1288. return true, err
  1289. case 4: // data_item.table
  1290. if wire != proto.WireBytes {
  1291. return true, proto.ErrInternalBadWireType
  1292. }
  1293. msg := new(Table)
  1294. err := b.DecodeMessage(msg)
  1295. m.DataItem = &ContentItem_Table{msg}
  1296. return true, err
  1297. case 5: // data_item.byte_item
  1298. if wire != proto.WireBytes {
  1299. return true, proto.ErrInternalBadWireType
  1300. }
  1301. msg := new(ByteContentItem)
  1302. err := b.DecodeMessage(msg)
  1303. m.DataItem = &ContentItem_ByteItem{msg}
  1304. return true, err
  1305. default:
  1306. return false, nil
  1307. }
  1308. }
  1309. func _ContentItem_OneofSizer(msg proto.Message) (n int) {
  1310. m := msg.(*ContentItem)
  1311. // data_item
  1312. switch x := m.DataItem.(type) {
  1313. case *ContentItem_Value:
  1314. n += 1 // tag and wire
  1315. n += proto.SizeVarint(uint64(len(x.Value)))
  1316. n += len(x.Value)
  1317. case *ContentItem_Table:
  1318. s := proto.Size(x.Table)
  1319. n += 1 // tag and wire
  1320. n += proto.SizeVarint(uint64(s))
  1321. n += s
  1322. case *ContentItem_ByteItem:
  1323. s := proto.Size(x.ByteItem)
  1324. n += 1 // tag and wire
  1325. n += proto.SizeVarint(uint64(s))
  1326. n += s
  1327. case nil:
  1328. default:
  1329. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  1330. }
  1331. return n
  1332. }
  1333. // Structured content to inspect. Up to 50,000 `Value`s per request allowed.
  1334. // See https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
  1335. // learn more.
  1336. type Table struct {
  1337. Headers []*FieldId `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"`
  1338. Rows []*Table_Row `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"`
  1339. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1340. XXX_unrecognized []byte `json:"-"`
  1341. XXX_sizecache int32 `json:"-"`
  1342. }
  1343. func (m *Table) Reset() { *m = Table{} }
  1344. func (m *Table) String() string { return proto.CompactTextString(m) }
  1345. func (*Table) ProtoMessage() {}
  1346. func (*Table) Descriptor() ([]byte, []int) {
  1347. return fileDescriptor_dlp_9184f835f60c3220, []int{7}
  1348. }
  1349. func (m *Table) XXX_Unmarshal(b []byte) error {
  1350. return xxx_messageInfo_Table.Unmarshal(m, b)
  1351. }
  1352. func (m *Table) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1353. return xxx_messageInfo_Table.Marshal(b, m, deterministic)
  1354. }
  1355. func (dst *Table) XXX_Merge(src proto.Message) {
  1356. xxx_messageInfo_Table.Merge(dst, src)
  1357. }
  1358. func (m *Table) XXX_Size() int {
  1359. return xxx_messageInfo_Table.Size(m)
  1360. }
  1361. func (m *Table) XXX_DiscardUnknown() {
  1362. xxx_messageInfo_Table.DiscardUnknown(m)
  1363. }
  1364. var xxx_messageInfo_Table proto.InternalMessageInfo
  1365. func (m *Table) GetHeaders() []*FieldId {
  1366. if m != nil {
  1367. return m.Headers
  1368. }
  1369. return nil
  1370. }
  1371. func (m *Table) GetRows() []*Table_Row {
  1372. if m != nil {
  1373. return m.Rows
  1374. }
  1375. return nil
  1376. }
  1377. type Table_Row struct {
  1378. Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
  1379. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1380. XXX_unrecognized []byte `json:"-"`
  1381. XXX_sizecache int32 `json:"-"`
  1382. }
  1383. func (m *Table_Row) Reset() { *m = Table_Row{} }
  1384. func (m *Table_Row) String() string { return proto.CompactTextString(m) }
  1385. func (*Table_Row) ProtoMessage() {}
  1386. func (*Table_Row) Descriptor() ([]byte, []int) {
  1387. return fileDescriptor_dlp_9184f835f60c3220, []int{7, 0}
  1388. }
  1389. func (m *Table_Row) XXX_Unmarshal(b []byte) error {
  1390. return xxx_messageInfo_Table_Row.Unmarshal(m, b)
  1391. }
  1392. func (m *Table_Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1393. return xxx_messageInfo_Table_Row.Marshal(b, m, deterministic)
  1394. }
  1395. func (dst *Table_Row) XXX_Merge(src proto.Message) {
  1396. xxx_messageInfo_Table_Row.Merge(dst, src)
  1397. }
  1398. func (m *Table_Row) XXX_Size() int {
  1399. return xxx_messageInfo_Table_Row.Size(m)
  1400. }
  1401. func (m *Table_Row) XXX_DiscardUnknown() {
  1402. xxx_messageInfo_Table_Row.DiscardUnknown(m)
  1403. }
  1404. var xxx_messageInfo_Table_Row proto.InternalMessageInfo
  1405. func (m *Table_Row) GetValues() []*Value {
  1406. if m != nil {
  1407. return m.Values
  1408. }
  1409. return nil
  1410. }
  1411. // All the findings for a single scanned item.
  1412. type InspectResult struct {
  1413. // List of findings for an item.
  1414. Findings []*Finding `protobuf:"bytes,1,rep,name=findings,proto3" json:"findings,omitempty"`
  1415. // If true, then this item might have more findings than were returned,
  1416. // and the findings returned are an arbitrary subset of all findings.
  1417. // The findings list might be truncated because the input items were too
  1418. // large, or because the server reached the maximum amount of resources
  1419. // allowed for a single API call. For best results, divide the input into
  1420. // smaller batches.
  1421. FindingsTruncated bool `protobuf:"varint,2,opt,name=findings_truncated,json=findingsTruncated,proto3" json:"findings_truncated,omitempty"`
  1422. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1423. XXX_unrecognized []byte `json:"-"`
  1424. XXX_sizecache int32 `json:"-"`
  1425. }
  1426. func (m *InspectResult) Reset() { *m = InspectResult{} }
  1427. func (m *InspectResult) String() string { return proto.CompactTextString(m) }
  1428. func (*InspectResult) ProtoMessage() {}
  1429. func (*InspectResult) Descriptor() ([]byte, []int) {
  1430. return fileDescriptor_dlp_9184f835f60c3220, []int{8}
  1431. }
  1432. func (m *InspectResult) XXX_Unmarshal(b []byte) error {
  1433. return xxx_messageInfo_InspectResult.Unmarshal(m, b)
  1434. }
  1435. func (m *InspectResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1436. return xxx_messageInfo_InspectResult.Marshal(b, m, deterministic)
  1437. }
  1438. func (dst *InspectResult) XXX_Merge(src proto.Message) {
  1439. xxx_messageInfo_InspectResult.Merge(dst, src)
  1440. }
  1441. func (m *InspectResult) XXX_Size() int {
  1442. return xxx_messageInfo_InspectResult.Size(m)
  1443. }
  1444. func (m *InspectResult) XXX_DiscardUnknown() {
  1445. xxx_messageInfo_InspectResult.DiscardUnknown(m)
  1446. }
  1447. var xxx_messageInfo_InspectResult proto.InternalMessageInfo
  1448. func (m *InspectResult) GetFindings() []*Finding {
  1449. if m != nil {
  1450. return m.Findings
  1451. }
  1452. return nil
  1453. }
  1454. func (m *InspectResult) GetFindingsTruncated() bool {
  1455. if m != nil {
  1456. return m.FindingsTruncated
  1457. }
  1458. return false
  1459. }
  1460. // Represents a piece of potentially sensitive content.
  1461. type Finding struct {
  1462. // The content that was found. Even if the content is not textual, it
  1463. // may be converted to a textual representation here.
  1464. // Provided if `include_quote` is true and the finding is
  1465. // less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes
  1466. // in length, the quote may be omitted.
  1467. Quote string `protobuf:"bytes,1,opt,name=quote,proto3" json:"quote,omitempty"`
  1468. // The type of content that might have been found.
  1469. // Provided if `excluded_types` is false.
  1470. InfoType *InfoType `protobuf:"bytes,2,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"`
  1471. // Confidence of how likely it is that the `info_type` is correct.
  1472. Likelihood Likelihood `protobuf:"varint,3,opt,name=likelihood,proto3,enum=google.privacy.dlp.v2.Likelihood" json:"likelihood,omitempty"`
  1473. // Where the content was found.
  1474. Location *Location `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
  1475. // Timestamp when finding was detected.
  1476. CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
  1477. // Contains data parsed from quotes. Only populated if include_quote was set
  1478. // to true and a supported infoType was requested. Currently supported
  1479. // infoTypes: DATE, DATE_OF_BIRTH and TIME.
  1480. QuoteInfo *QuoteInfo `protobuf:"bytes,7,opt,name=quote_info,json=quoteInfo,proto3" json:"quote_info,omitempty"`
  1481. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1482. XXX_unrecognized []byte `json:"-"`
  1483. XXX_sizecache int32 `json:"-"`
  1484. }
  1485. func (m *Finding) Reset() { *m = Finding{} }
  1486. func (m *Finding) String() string { return proto.CompactTextString(m) }
  1487. func (*Finding) ProtoMessage() {}
  1488. func (*Finding) Descriptor() ([]byte, []int) {
  1489. return fileDescriptor_dlp_9184f835f60c3220, []int{9}
  1490. }
  1491. func (m *Finding) XXX_Unmarshal(b []byte) error {
  1492. return xxx_messageInfo_Finding.Unmarshal(m, b)
  1493. }
  1494. func (m *Finding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1495. return xxx_messageInfo_Finding.Marshal(b, m, deterministic)
  1496. }
  1497. func (dst *Finding) XXX_Merge(src proto.Message) {
  1498. xxx_messageInfo_Finding.Merge(dst, src)
  1499. }
  1500. func (m *Finding) XXX_Size() int {
  1501. return xxx_messageInfo_Finding.Size(m)
  1502. }
  1503. func (m *Finding) XXX_DiscardUnknown() {
  1504. xxx_messageInfo_Finding.DiscardUnknown(m)
  1505. }
  1506. var xxx_messageInfo_Finding proto.InternalMessageInfo
  1507. func (m *Finding) GetQuote() string {
  1508. if m != nil {
  1509. return m.Quote
  1510. }
  1511. return ""
  1512. }
  1513. func (m *Finding) GetInfoType() *InfoType {
  1514. if m != nil {
  1515. return m.InfoType
  1516. }
  1517. return nil
  1518. }
  1519. func (m *Finding) GetLikelihood() Likelihood {
  1520. if m != nil {
  1521. return m.Likelihood
  1522. }
  1523. return Likelihood_LIKELIHOOD_UNSPECIFIED
  1524. }
  1525. func (m *Finding) GetLocation() *Location {
  1526. if m != nil {
  1527. return m.Location
  1528. }
  1529. return nil
  1530. }
  1531. func (m *Finding) GetCreateTime() *timestamp.Timestamp {
  1532. if m != nil {
  1533. return m.CreateTime
  1534. }
  1535. return nil
  1536. }
  1537. func (m *Finding) GetQuoteInfo() *QuoteInfo {
  1538. if m != nil {
  1539. return m.QuoteInfo
  1540. }
  1541. return nil
  1542. }
  1543. // Specifies the location of the finding.
  1544. type Location struct {
  1545. // Zero-based byte offsets delimiting the finding.
  1546. // These are relative to the finding's containing element.
  1547. // Note that when the content is not textual, this references
  1548. // the UTF-8 encoded textual representation of the content.
  1549. // Omitted if content is an image.
  1550. ByteRange *Range `protobuf:"bytes,1,opt,name=byte_range,json=byteRange,proto3" json:"byte_range,omitempty"`
  1551. // Unicode character offsets delimiting the finding.
  1552. // These are relative to the finding's containing element.
  1553. // Provided when the content is text.
  1554. CodepointRange *Range `protobuf:"bytes,2,opt,name=codepoint_range,json=codepointRange,proto3" json:"codepoint_range,omitempty"`
  1555. // List of nested objects pointing to the precise location of the finding
  1556. // within the file or record.
  1557. ContentLocations []*ContentLocation `protobuf:"bytes,7,rep,name=content_locations,json=contentLocations,proto3" json:"content_locations,omitempty"`
  1558. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1559. XXX_unrecognized []byte `json:"-"`
  1560. XXX_sizecache int32 `json:"-"`
  1561. }
  1562. func (m *Location) Reset() { *m = Location{} }
  1563. func (m *Location) String() string { return proto.CompactTextString(m) }
  1564. func (*Location) ProtoMessage() {}
  1565. func (*Location) Descriptor() ([]byte, []int) {
  1566. return fileDescriptor_dlp_9184f835f60c3220, []int{10}
  1567. }
  1568. func (m *Location) XXX_Unmarshal(b []byte) error {
  1569. return xxx_messageInfo_Location.Unmarshal(m, b)
  1570. }
  1571. func (m *Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1572. return xxx_messageInfo_Location.Marshal(b, m, deterministic)
  1573. }
  1574. func (dst *Location) XXX_Merge(src proto.Message) {
  1575. xxx_messageInfo_Location.Merge(dst, src)
  1576. }
  1577. func (m *Location) XXX_Size() int {
  1578. return xxx_messageInfo_Location.Size(m)
  1579. }
  1580. func (m *Location) XXX_DiscardUnknown() {
  1581. xxx_messageInfo_Location.DiscardUnknown(m)
  1582. }
  1583. var xxx_messageInfo_Location proto.InternalMessageInfo
  1584. func (m *Location) GetByteRange() *Range {
  1585. if m != nil {
  1586. return m.ByteRange
  1587. }
  1588. return nil
  1589. }
  1590. func (m *Location) GetCodepointRange() *Range {
  1591. if m != nil {
  1592. return m.CodepointRange
  1593. }
  1594. return nil
  1595. }
  1596. func (m *Location) GetContentLocations() []*ContentLocation {
  1597. if m != nil {
  1598. return m.ContentLocations
  1599. }
  1600. return nil
  1601. }
  1602. // Findings container location data.
  1603. type ContentLocation struct {
  1604. // Name of the container where the finding is located.
  1605. // The top level name is the source file name or table name. Names of some
  1606. // common storage containers are formatted as follows:
  1607. //
  1608. // * BigQuery tables: `<project_id>:<dataset_id>.<table_id>`
  1609. // * Cloud Storage files: `gs://<bucket>/<path>`
  1610. // * Datastore namespace: <namespace>
  1611. //
  1612. // Nested names could be absent if the embedded object has no string
  1613. // identifier (for an example an image contained within a document).
  1614. ContainerName string `protobuf:"bytes,1,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"`
  1615. // Type of the container within the file with location of the finding.
  1616. //
  1617. // Types that are valid to be assigned to Location:
  1618. // *ContentLocation_RecordLocation
  1619. // *ContentLocation_ImageLocation
  1620. // *ContentLocation_DocumentLocation
  1621. Location isContentLocation_Location `protobuf_oneof:"location"`
  1622. // Findings container modification timestamp, if applicable.
  1623. // For Google Cloud Storage contains last file modification timestamp.
  1624. // For BigQuery table contains last_modified_time property.
  1625. // For Datastore - not populated.
  1626. ContainerTimestamp *timestamp.Timestamp `protobuf:"bytes,6,opt,name=container_timestamp,json=containerTimestamp,proto3" json:"container_timestamp,omitempty"`
  1627. // Findings container version, if available
  1628. // ("generation" for Google Cloud Storage).
  1629. ContainerVersion string `protobuf:"bytes,7,opt,name=container_version,json=containerVersion,proto3" json:"container_version,omitempty"`
  1630. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1631. XXX_unrecognized []byte `json:"-"`
  1632. XXX_sizecache int32 `json:"-"`
  1633. }
  1634. func (m *ContentLocation) Reset() { *m = ContentLocation{} }
  1635. func (m *ContentLocation) String() string { return proto.CompactTextString(m) }
  1636. func (*ContentLocation) ProtoMessage() {}
  1637. func (*ContentLocation) Descriptor() ([]byte, []int) {
  1638. return fileDescriptor_dlp_9184f835f60c3220, []int{11}
  1639. }
  1640. func (m *ContentLocation) XXX_Unmarshal(b []byte) error {
  1641. return xxx_messageInfo_ContentLocation.Unmarshal(m, b)
  1642. }
  1643. func (m *ContentLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1644. return xxx_messageInfo_ContentLocation.Marshal(b, m, deterministic)
  1645. }
  1646. func (dst *ContentLocation) XXX_Merge(src proto.Message) {
  1647. xxx_messageInfo_ContentLocation.Merge(dst, src)
  1648. }
  1649. func (m *ContentLocation) XXX_Size() int {
  1650. return xxx_messageInfo_ContentLocation.Size(m)
  1651. }
  1652. func (m *ContentLocation) XXX_DiscardUnknown() {
  1653. xxx_messageInfo_ContentLocation.DiscardUnknown(m)
  1654. }
  1655. var xxx_messageInfo_ContentLocation proto.InternalMessageInfo
  1656. func (m *ContentLocation) GetContainerName() string {
  1657. if m != nil {
  1658. return m.ContainerName
  1659. }
  1660. return ""
  1661. }
  1662. type isContentLocation_Location interface {
  1663. isContentLocation_Location()
  1664. }
  1665. type ContentLocation_RecordLocation struct {
  1666. RecordLocation *RecordLocation `protobuf:"bytes,2,opt,name=record_location,json=recordLocation,proto3,oneof"`
  1667. }
  1668. type ContentLocation_ImageLocation struct {
  1669. ImageLocation *ImageLocation `protobuf:"bytes,3,opt,name=image_location,json=imageLocation,proto3,oneof"`
  1670. }
  1671. type ContentLocation_DocumentLocation struct {
  1672. DocumentLocation *DocumentLocation `protobuf:"bytes,5,opt,name=document_location,json=documentLocation,proto3,oneof"`
  1673. }
  1674. func (*ContentLocation_RecordLocation) isContentLocation_Location() {}
  1675. func (*ContentLocation_ImageLocation) isContentLocation_Location() {}
  1676. func (*ContentLocation_DocumentLocation) isContentLocation_Location() {}
  1677. func (m *ContentLocation) GetLocation() isContentLocation_Location {
  1678. if m != nil {
  1679. return m.Location
  1680. }
  1681. return nil
  1682. }
  1683. func (m *ContentLocation) GetRecordLocation() *RecordLocation {
  1684. if x, ok := m.GetLocation().(*ContentLocation_RecordLocation); ok {
  1685. return x.RecordLocation
  1686. }
  1687. return nil
  1688. }
  1689. func (m *ContentLocation) GetImageLocation() *ImageLocation {
  1690. if x, ok := m.GetLocation().(*ContentLocation_ImageLocation); ok {
  1691. return x.ImageLocation
  1692. }
  1693. return nil
  1694. }
  1695. func (m *ContentLocation) GetDocumentLocation() *DocumentLocation {
  1696. if x, ok := m.GetLocation().(*ContentLocation_DocumentLocation); ok {
  1697. return x.DocumentLocation
  1698. }
  1699. return nil
  1700. }
  1701. func (m *ContentLocation) GetContainerTimestamp() *timestamp.Timestamp {
  1702. if m != nil {
  1703. return m.ContainerTimestamp
  1704. }
  1705. return nil
  1706. }
  1707. func (m *ContentLocation) GetContainerVersion() string {
  1708. if m != nil {
  1709. return m.ContainerVersion
  1710. }
  1711. return ""
  1712. }
  1713. // XXX_OneofFuncs is for the internal use of the proto package.
  1714. func (*ContentLocation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  1715. return _ContentLocation_OneofMarshaler, _ContentLocation_OneofUnmarshaler, _ContentLocation_OneofSizer, []interface{}{
  1716. (*ContentLocation_RecordLocation)(nil),
  1717. (*ContentLocation_ImageLocation)(nil),
  1718. (*ContentLocation_DocumentLocation)(nil),
  1719. }
  1720. }
  1721. func _ContentLocation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  1722. m := msg.(*ContentLocation)
  1723. // location
  1724. switch x := m.Location.(type) {
  1725. case *ContentLocation_RecordLocation:
  1726. b.EncodeVarint(2<<3 | proto.WireBytes)
  1727. if err := b.EncodeMessage(x.RecordLocation); err != nil {
  1728. return err
  1729. }
  1730. case *ContentLocation_ImageLocation:
  1731. b.EncodeVarint(3<<3 | proto.WireBytes)
  1732. if err := b.EncodeMessage(x.ImageLocation); err != nil {
  1733. return err
  1734. }
  1735. case *ContentLocation_DocumentLocation:
  1736. b.EncodeVarint(5<<3 | proto.WireBytes)
  1737. if err := b.EncodeMessage(x.DocumentLocation); err != nil {
  1738. return err
  1739. }
  1740. case nil:
  1741. default:
  1742. return fmt.Errorf("ContentLocation.Location has unexpected type %T", x)
  1743. }
  1744. return nil
  1745. }
  1746. func _ContentLocation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  1747. m := msg.(*ContentLocation)
  1748. switch tag {
  1749. case 2: // location.record_location
  1750. if wire != proto.WireBytes {
  1751. return true, proto.ErrInternalBadWireType
  1752. }
  1753. msg := new(RecordLocation)
  1754. err := b.DecodeMessage(msg)
  1755. m.Location = &ContentLocation_RecordLocation{msg}
  1756. return true, err
  1757. case 3: // location.image_location
  1758. if wire != proto.WireBytes {
  1759. return true, proto.ErrInternalBadWireType
  1760. }
  1761. msg := new(ImageLocation)
  1762. err := b.DecodeMessage(msg)
  1763. m.Location = &ContentLocation_ImageLocation{msg}
  1764. return true, err
  1765. case 5: // location.document_location
  1766. if wire != proto.WireBytes {
  1767. return true, proto.ErrInternalBadWireType
  1768. }
  1769. msg := new(DocumentLocation)
  1770. err := b.DecodeMessage(msg)
  1771. m.Location = &ContentLocation_DocumentLocation{msg}
  1772. return true, err
  1773. default:
  1774. return false, nil
  1775. }
  1776. }
  1777. func _ContentLocation_OneofSizer(msg proto.Message) (n int) {
  1778. m := msg.(*ContentLocation)
  1779. // location
  1780. switch x := m.Location.(type) {
  1781. case *ContentLocation_RecordLocation:
  1782. s := proto.Size(x.RecordLocation)
  1783. n += 1 // tag and wire
  1784. n += proto.SizeVarint(uint64(s))
  1785. n += s
  1786. case *ContentLocation_ImageLocation:
  1787. s := proto.Size(x.ImageLocation)
  1788. n += 1 // tag and wire
  1789. n += proto.SizeVarint(uint64(s))
  1790. n += s
  1791. case *ContentLocation_DocumentLocation:
  1792. s := proto.Size(x.DocumentLocation)
  1793. n += 1 // tag and wire
  1794. n += proto.SizeVarint(uint64(s))
  1795. n += s
  1796. case nil:
  1797. default:
  1798. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  1799. }
  1800. return n
  1801. }
  1802. // Location of a finding within a document.
  1803. type DocumentLocation struct {
  1804. // Offset of the line, from the beginning of the file, where the finding
  1805. // is located.
  1806. FileOffset int64 `protobuf:"varint,1,opt,name=file_offset,json=fileOffset,proto3" json:"file_offset,omitempty"`
  1807. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1808. XXX_unrecognized []byte `json:"-"`
  1809. XXX_sizecache int32 `json:"-"`
  1810. }
  1811. func (m *DocumentLocation) Reset() { *m = DocumentLocation{} }
  1812. func (m *DocumentLocation) String() string { return proto.CompactTextString(m) }
  1813. func (*DocumentLocation) ProtoMessage() {}
  1814. func (*DocumentLocation) Descriptor() ([]byte, []int) {
  1815. return fileDescriptor_dlp_9184f835f60c3220, []int{12}
  1816. }
  1817. func (m *DocumentLocation) XXX_Unmarshal(b []byte) error {
  1818. return xxx_messageInfo_DocumentLocation.Unmarshal(m, b)
  1819. }
  1820. func (m *DocumentLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1821. return xxx_messageInfo_DocumentLocation.Marshal(b, m, deterministic)
  1822. }
  1823. func (dst *DocumentLocation) XXX_Merge(src proto.Message) {
  1824. xxx_messageInfo_DocumentLocation.Merge(dst, src)
  1825. }
  1826. func (m *DocumentLocation) XXX_Size() int {
  1827. return xxx_messageInfo_DocumentLocation.Size(m)
  1828. }
  1829. func (m *DocumentLocation) XXX_DiscardUnknown() {
  1830. xxx_messageInfo_DocumentLocation.DiscardUnknown(m)
  1831. }
  1832. var xxx_messageInfo_DocumentLocation proto.InternalMessageInfo
  1833. func (m *DocumentLocation) GetFileOffset() int64 {
  1834. if m != nil {
  1835. return m.FileOffset
  1836. }
  1837. return 0
  1838. }
  1839. // Location of a finding within a row or record.
  1840. type RecordLocation struct {
  1841. // Key of the finding.
  1842. RecordKey *RecordKey `protobuf:"bytes,1,opt,name=record_key,json=recordKey,proto3" json:"record_key,omitempty"`
  1843. // Field id of the field containing the finding.
  1844. FieldId *FieldId `protobuf:"bytes,2,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"`
  1845. // Location within a `ContentItem.Table`.
  1846. TableLocation *TableLocation `protobuf:"bytes,3,opt,name=table_location,json=tableLocation,proto3" json:"table_location,omitempty"`
  1847. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1848. XXX_unrecognized []byte `json:"-"`
  1849. XXX_sizecache int32 `json:"-"`
  1850. }
  1851. func (m *RecordLocation) Reset() { *m = RecordLocation{} }
  1852. func (m *RecordLocation) String() string { return proto.CompactTextString(m) }
  1853. func (*RecordLocation) ProtoMessage() {}
  1854. func (*RecordLocation) Descriptor() ([]byte, []int) {
  1855. return fileDescriptor_dlp_9184f835f60c3220, []int{13}
  1856. }
  1857. func (m *RecordLocation) XXX_Unmarshal(b []byte) error {
  1858. return xxx_messageInfo_RecordLocation.Unmarshal(m, b)
  1859. }
  1860. func (m *RecordLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1861. return xxx_messageInfo_RecordLocation.Marshal(b, m, deterministic)
  1862. }
  1863. func (dst *RecordLocation) XXX_Merge(src proto.Message) {
  1864. xxx_messageInfo_RecordLocation.Merge(dst, src)
  1865. }
  1866. func (m *RecordLocation) XXX_Size() int {
  1867. return xxx_messageInfo_RecordLocation.Size(m)
  1868. }
  1869. func (m *RecordLocation) XXX_DiscardUnknown() {
  1870. xxx_messageInfo_RecordLocation.DiscardUnknown(m)
  1871. }
  1872. var xxx_messageInfo_RecordLocation proto.InternalMessageInfo
  1873. func (m *RecordLocation) GetRecordKey() *RecordKey {
  1874. if m != nil {
  1875. return m.RecordKey
  1876. }
  1877. return nil
  1878. }
  1879. func (m *RecordLocation) GetFieldId() *FieldId {
  1880. if m != nil {
  1881. return m.FieldId
  1882. }
  1883. return nil
  1884. }
  1885. func (m *RecordLocation) GetTableLocation() *TableLocation {
  1886. if m != nil {
  1887. return m.TableLocation
  1888. }
  1889. return nil
  1890. }
  1891. // Location of a finding within a table.
  1892. type TableLocation struct {
  1893. // The zero-based index of the row where the finding is located.
  1894. RowIndex int64 `protobuf:"varint,1,opt,name=row_index,json=rowIndex,proto3" json:"row_index,omitempty"`
  1895. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1896. XXX_unrecognized []byte `json:"-"`
  1897. XXX_sizecache int32 `json:"-"`
  1898. }
  1899. func (m *TableLocation) Reset() { *m = TableLocation{} }
  1900. func (m *TableLocation) String() string { return proto.CompactTextString(m) }
  1901. func (*TableLocation) ProtoMessage() {}
  1902. func (*TableLocation) Descriptor() ([]byte, []int) {
  1903. return fileDescriptor_dlp_9184f835f60c3220, []int{14}
  1904. }
  1905. func (m *TableLocation) XXX_Unmarshal(b []byte) error {
  1906. return xxx_messageInfo_TableLocation.Unmarshal(m, b)
  1907. }
  1908. func (m *TableLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1909. return xxx_messageInfo_TableLocation.Marshal(b, m, deterministic)
  1910. }
  1911. func (dst *TableLocation) XXX_Merge(src proto.Message) {
  1912. xxx_messageInfo_TableLocation.Merge(dst, src)
  1913. }
  1914. func (m *TableLocation) XXX_Size() int {
  1915. return xxx_messageInfo_TableLocation.Size(m)
  1916. }
  1917. func (m *TableLocation) XXX_DiscardUnknown() {
  1918. xxx_messageInfo_TableLocation.DiscardUnknown(m)
  1919. }
  1920. var xxx_messageInfo_TableLocation proto.InternalMessageInfo
  1921. func (m *TableLocation) GetRowIndex() int64 {
  1922. if m != nil {
  1923. return m.RowIndex
  1924. }
  1925. return 0
  1926. }
  1927. // Generic half-open interval [start, end)
  1928. type Range struct {
  1929. // Index of the first character of the range (inclusive).
  1930. Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
  1931. // Index of the last character of the range (exclusive).
  1932. End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
  1933. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1934. XXX_unrecognized []byte `json:"-"`
  1935. XXX_sizecache int32 `json:"-"`
  1936. }
  1937. func (m *Range) Reset() { *m = Range{} }
  1938. func (m *Range) String() string { return proto.CompactTextString(m) }
  1939. func (*Range) ProtoMessage() {}
  1940. func (*Range) Descriptor() ([]byte, []int) {
  1941. return fileDescriptor_dlp_9184f835f60c3220, []int{15}
  1942. }
  1943. func (m *Range) XXX_Unmarshal(b []byte) error {
  1944. return xxx_messageInfo_Range.Unmarshal(m, b)
  1945. }
  1946. func (m *Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1947. return xxx_messageInfo_Range.Marshal(b, m, deterministic)
  1948. }
  1949. func (dst *Range) XXX_Merge(src proto.Message) {
  1950. xxx_messageInfo_Range.Merge(dst, src)
  1951. }
  1952. func (m *Range) XXX_Size() int {
  1953. return xxx_messageInfo_Range.Size(m)
  1954. }
  1955. func (m *Range) XXX_DiscardUnknown() {
  1956. xxx_messageInfo_Range.DiscardUnknown(m)
  1957. }
  1958. var xxx_messageInfo_Range proto.InternalMessageInfo
  1959. func (m *Range) GetStart() int64 {
  1960. if m != nil {
  1961. return m.Start
  1962. }
  1963. return 0
  1964. }
  1965. func (m *Range) GetEnd() int64 {
  1966. if m != nil {
  1967. return m.End
  1968. }
  1969. return 0
  1970. }
  1971. // Location of the finding within an image.
  1972. type ImageLocation struct {
  1973. // Bounding boxes locating the pixels within the image containing the finding.
  1974. BoundingBoxes []*BoundingBox `protobuf:"bytes,1,rep,name=bounding_boxes,json=boundingBoxes,proto3" json:"bounding_boxes,omitempty"`
  1975. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1976. XXX_unrecognized []byte `json:"-"`
  1977. XXX_sizecache int32 `json:"-"`
  1978. }
  1979. func (m *ImageLocation) Reset() { *m = ImageLocation{} }
  1980. func (m *ImageLocation) String() string { return proto.CompactTextString(m) }
  1981. func (*ImageLocation) ProtoMessage() {}
  1982. func (*ImageLocation) Descriptor() ([]byte, []int) {
  1983. return fileDescriptor_dlp_9184f835f60c3220, []int{16}
  1984. }
  1985. func (m *ImageLocation) XXX_Unmarshal(b []byte) error {
  1986. return xxx_messageInfo_ImageLocation.Unmarshal(m, b)
  1987. }
  1988. func (m *ImageLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1989. return xxx_messageInfo_ImageLocation.Marshal(b, m, deterministic)
  1990. }
  1991. func (dst *ImageLocation) XXX_Merge(src proto.Message) {
  1992. xxx_messageInfo_ImageLocation.Merge(dst, src)
  1993. }
  1994. func (m *ImageLocation) XXX_Size() int {
  1995. return xxx_messageInfo_ImageLocation.Size(m)
  1996. }
  1997. func (m *ImageLocation) XXX_DiscardUnknown() {
  1998. xxx_messageInfo_ImageLocation.DiscardUnknown(m)
  1999. }
  2000. var xxx_messageInfo_ImageLocation proto.InternalMessageInfo
  2001. func (m *ImageLocation) GetBoundingBoxes() []*BoundingBox {
  2002. if m != nil {
  2003. return m.BoundingBoxes
  2004. }
  2005. return nil
  2006. }
  2007. // Bounding box encompassing detected text within an image.
  2008. type BoundingBox struct {
  2009. // Top coordinate of the bounding box. (0,0) is upper left.
  2010. Top int32 `protobuf:"varint,1,opt,name=top,proto3" json:"top,omitempty"`
  2011. // Left coordinate of the bounding box. (0,0) is upper left.
  2012. Left int32 `protobuf:"varint,2,opt,name=left,proto3" json:"left,omitempty"`
  2013. // Width of the bounding box in pixels.
  2014. Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"`
  2015. // Height of the bounding box in pixels.
  2016. Height int32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
  2017. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2018. XXX_unrecognized []byte `json:"-"`
  2019. XXX_sizecache int32 `json:"-"`
  2020. }
  2021. func (m *BoundingBox) Reset() { *m = BoundingBox{} }
  2022. func (m *BoundingBox) String() string { return proto.CompactTextString(m) }
  2023. func (*BoundingBox) ProtoMessage() {}
  2024. func (*BoundingBox) Descriptor() ([]byte, []int) {
  2025. return fileDescriptor_dlp_9184f835f60c3220, []int{17}
  2026. }
  2027. func (m *BoundingBox) XXX_Unmarshal(b []byte) error {
  2028. return xxx_messageInfo_BoundingBox.Unmarshal(m, b)
  2029. }
  2030. func (m *BoundingBox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2031. return xxx_messageInfo_BoundingBox.Marshal(b, m, deterministic)
  2032. }
  2033. func (dst *BoundingBox) XXX_Merge(src proto.Message) {
  2034. xxx_messageInfo_BoundingBox.Merge(dst, src)
  2035. }
  2036. func (m *BoundingBox) XXX_Size() int {
  2037. return xxx_messageInfo_BoundingBox.Size(m)
  2038. }
  2039. func (m *BoundingBox) XXX_DiscardUnknown() {
  2040. xxx_messageInfo_BoundingBox.DiscardUnknown(m)
  2041. }
  2042. var xxx_messageInfo_BoundingBox proto.InternalMessageInfo
  2043. func (m *BoundingBox) GetTop() int32 {
  2044. if m != nil {
  2045. return m.Top
  2046. }
  2047. return 0
  2048. }
  2049. func (m *BoundingBox) GetLeft() int32 {
  2050. if m != nil {
  2051. return m.Left
  2052. }
  2053. return 0
  2054. }
  2055. func (m *BoundingBox) GetWidth() int32 {
  2056. if m != nil {
  2057. return m.Width
  2058. }
  2059. return 0
  2060. }
  2061. func (m *BoundingBox) GetHeight() int32 {
  2062. if m != nil {
  2063. return m.Height
  2064. }
  2065. return 0
  2066. }
  2067. // Request to search for potentially sensitive info in an image and redact it
  2068. // by covering it with a colored rectangle.
  2069. type RedactImageRequest struct {
  2070. // The parent resource name, for example projects/my-project-id.
  2071. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  2072. // Configuration for the inspector.
  2073. InspectConfig *InspectConfig `protobuf:"bytes,2,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"`
  2074. // The configuration for specifying what content to redact from images.
  2075. ImageRedactionConfigs []*RedactImageRequest_ImageRedactionConfig `protobuf:"bytes,5,rep,name=image_redaction_configs,json=imageRedactionConfigs,proto3" json:"image_redaction_configs,omitempty"`
  2076. // Whether the response should include findings along with the redacted
  2077. // image.
  2078. IncludeFindings bool `protobuf:"varint,6,opt,name=include_findings,json=includeFindings,proto3" json:"include_findings,omitempty"`
  2079. // The content must be PNG, JPEG, SVG or BMP.
  2080. ByteItem *ByteContentItem `protobuf:"bytes,7,opt,name=byte_item,json=byteItem,proto3" json:"byte_item,omitempty"`
  2081. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2082. XXX_unrecognized []byte `json:"-"`
  2083. XXX_sizecache int32 `json:"-"`
  2084. }
  2085. func (m *RedactImageRequest) Reset() { *m = RedactImageRequest{} }
  2086. func (m *RedactImageRequest) String() string { return proto.CompactTextString(m) }
  2087. func (*RedactImageRequest) ProtoMessage() {}
  2088. func (*RedactImageRequest) Descriptor() ([]byte, []int) {
  2089. return fileDescriptor_dlp_9184f835f60c3220, []int{18}
  2090. }
  2091. func (m *RedactImageRequest) XXX_Unmarshal(b []byte) error {
  2092. return xxx_messageInfo_RedactImageRequest.Unmarshal(m, b)
  2093. }
  2094. func (m *RedactImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2095. return xxx_messageInfo_RedactImageRequest.Marshal(b, m, deterministic)
  2096. }
  2097. func (dst *RedactImageRequest) XXX_Merge(src proto.Message) {
  2098. xxx_messageInfo_RedactImageRequest.Merge(dst, src)
  2099. }
  2100. func (m *RedactImageRequest) XXX_Size() int {
  2101. return xxx_messageInfo_RedactImageRequest.Size(m)
  2102. }
  2103. func (m *RedactImageRequest) XXX_DiscardUnknown() {
  2104. xxx_messageInfo_RedactImageRequest.DiscardUnknown(m)
  2105. }
  2106. var xxx_messageInfo_RedactImageRequest proto.InternalMessageInfo
  2107. func (m *RedactImageRequest) GetParent() string {
  2108. if m != nil {
  2109. return m.Parent
  2110. }
  2111. return ""
  2112. }
  2113. func (m *RedactImageRequest) GetInspectConfig() *InspectConfig {
  2114. if m != nil {
  2115. return m.InspectConfig
  2116. }
  2117. return nil
  2118. }
  2119. func (m *RedactImageRequest) GetImageRedactionConfigs() []*RedactImageRequest_ImageRedactionConfig {
  2120. if m != nil {
  2121. return m.ImageRedactionConfigs
  2122. }
  2123. return nil
  2124. }
  2125. func (m *RedactImageRequest) GetIncludeFindings() bool {
  2126. if m != nil {
  2127. return m.IncludeFindings
  2128. }
  2129. return false
  2130. }
  2131. func (m *RedactImageRequest) GetByteItem() *ByteContentItem {
  2132. if m != nil {
  2133. return m.ByteItem
  2134. }
  2135. return nil
  2136. }
  2137. // Configuration for determining how redaction of images should occur.
  2138. type RedactImageRequest_ImageRedactionConfig struct {
  2139. // Type of information to redact from images.
  2140. //
  2141. // Types that are valid to be assigned to Target:
  2142. // *RedactImageRequest_ImageRedactionConfig_InfoType
  2143. // *RedactImageRequest_ImageRedactionConfig_RedactAllText
  2144. Target isRedactImageRequest_ImageRedactionConfig_Target `protobuf_oneof:"target"`
  2145. // The color to use when redacting content from an image. If not specified,
  2146. // the default is black.
  2147. RedactionColor *Color `protobuf:"bytes,3,opt,name=redaction_color,json=redactionColor,proto3" json:"redaction_color,omitempty"`
  2148. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2149. XXX_unrecognized []byte `json:"-"`
  2150. XXX_sizecache int32 `json:"-"`
  2151. }
  2152. func (m *RedactImageRequest_ImageRedactionConfig) Reset() {
  2153. *m = RedactImageRequest_ImageRedactionConfig{}
  2154. }
  2155. func (m *RedactImageRequest_ImageRedactionConfig) String() string { return proto.CompactTextString(m) }
  2156. func (*RedactImageRequest_ImageRedactionConfig) ProtoMessage() {}
  2157. func (*RedactImageRequest_ImageRedactionConfig) Descriptor() ([]byte, []int) {
  2158. return fileDescriptor_dlp_9184f835f60c3220, []int{18, 0}
  2159. }
  2160. func (m *RedactImageRequest_ImageRedactionConfig) XXX_Unmarshal(b []byte) error {
  2161. return xxx_messageInfo_RedactImageRequest_ImageRedactionConfig.Unmarshal(m, b)
  2162. }
  2163. func (m *RedactImageRequest_ImageRedactionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2164. return xxx_messageInfo_RedactImageRequest_ImageRedactionConfig.Marshal(b, m, deterministic)
  2165. }
  2166. func (dst *RedactImageRequest_ImageRedactionConfig) XXX_Merge(src proto.Message) {
  2167. xxx_messageInfo_RedactImageRequest_ImageRedactionConfig.Merge(dst, src)
  2168. }
  2169. func (m *RedactImageRequest_ImageRedactionConfig) XXX_Size() int {
  2170. return xxx_messageInfo_RedactImageRequest_ImageRedactionConfig.Size(m)
  2171. }
  2172. func (m *RedactImageRequest_ImageRedactionConfig) XXX_DiscardUnknown() {
  2173. xxx_messageInfo_RedactImageRequest_ImageRedactionConfig.DiscardUnknown(m)
  2174. }
  2175. var xxx_messageInfo_RedactImageRequest_ImageRedactionConfig proto.InternalMessageInfo
  2176. type isRedactImageRequest_ImageRedactionConfig_Target interface {
  2177. isRedactImageRequest_ImageRedactionConfig_Target()
  2178. }
  2179. type RedactImageRequest_ImageRedactionConfig_InfoType struct {
  2180. InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3,oneof"`
  2181. }
  2182. type RedactImageRequest_ImageRedactionConfig_RedactAllText struct {
  2183. RedactAllText bool `protobuf:"varint,2,opt,name=redact_all_text,json=redactAllText,proto3,oneof"`
  2184. }
  2185. func (*RedactImageRequest_ImageRedactionConfig_InfoType) isRedactImageRequest_ImageRedactionConfig_Target() {
  2186. }
  2187. func (*RedactImageRequest_ImageRedactionConfig_RedactAllText) isRedactImageRequest_ImageRedactionConfig_Target() {
  2188. }
  2189. func (m *RedactImageRequest_ImageRedactionConfig) GetTarget() isRedactImageRequest_ImageRedactionConfig_Target {
  2190. if m != nil {
  2191. return m.Target
  2192. }
  2193. return nil
  2194. }
  2195. func (m *RedactImageRequest_ImageRedactionConfig) GetInfoType() *InfoType {
  2196. if x, ok := m.GetTarget().(*RedactImageRequest_ImageRedactionConfig_InfoType); ok {
  2197. return x.InfoType
  2198. }
  2199. return nil
  2200. }
  2201. func (m *RedactImageRequest_ImageRedactionConfig) GetRedactAllText() bool {
  2202. if x, ok := m.GetTarget().(*RedactImageRequest_ImageRedactionConfig_RedactAllText); ok {
  2203. return x.RedactAllText
  2204. }
  2205. return false
  2206. }
  2207. func (m *RedactImageRequest_ImageRedactionConfig) GetRedactionColor() *Color {
  2208. if m != nil {
  2209. return m.RedactionColor
  2210. }
  2211. return nil
  2212. }
  2213. // XXX_OneofFuncs is for the internal use of the proto package.
  2214. func (*RedactImageRequest_ImageRedactionConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  2215. return _RedactImageRequest_ImageRedactionConfig_OneofMarshaler, _RedactImageRequest_ImageRedactionConfig_OneofUnmarshaler, _RedactImageRequest_ImageRedactionConfig_OneofSizer, []interface{}{
  2216. (*RedactImageRequest_ImageRedactionConfig_InfoType)(nil),
  2217. (*RedactImageRequest_ImageRedactionConfig_RedactAllText)(nil),
  2218. }
  2219. }
  2220. func _RedactImageRequest_ImageRedactionConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  2221. m := msg.(*RedactImageRequest_ImageRedactionConfig)
  2222. // target
  2223. switch x := m.Target.(type) {
  2224. case *RedactImageRequest_ImageRedactionConfig_InfoType:
  2225. b.EncodeVarint(1<<3 | proto.WireBytes)
  2226. if err := b.EncodeMessage(x.InfoType); err != nil {
  2227. return err
  2228. }
  2229. case *RedactImageRequest_ImageRedactionConfig_RedactAllText:
  2230. t := uint64(0)
  2231. if x.RedactAllText {
  2232. t = 1
  2233. }
  2234. b.EncodeVarint(2<<3 | proto.WireVarint)
  2235. b.EncodeVarint(t)
  2236. case nil:
  2237. default:
  2238. return fmt.Errorf("RedactImageRequest_ImageRedactionConfig.Target has unexpected type %T", x)
  2239. }
  2240. return nil
  2241. }
  2242. func _RedactImageRequest_ImageRedactionConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  2243. m := msg.(*RedactImageRequest_ImageRedactionConfig)
  2244. switch tag {
  2245. case 1: // target.info_type
  2246. if wire != proto.WireBytes {
  2247. return true, proto.ErrInternalBadWireType
  2248. }
  2249. msg := new(InfoType)
  2250. err := b.DecodeMessage(msg)
  2251. m.Target = &RedactImageRequest_ImageRedactionConfig_InfoType{msg}
  2252. return true, err
  2253. case 2: // target.redact_all_text
  2254. if wire != proto.WireVarint {
  2255. return true, proto.ErrInternalBadWireType
  2256. }
  2257. x, err := b.DecodeVarint()
  2258. m.Target = &RedactImageRequest_ImageRedactionConfig_RedactAllText{x != 0}
  2259. return true, err
  2260. default:
  2261. return false, nil
  2262. }
  2263. }
  2264. func _RedactImageRequest_ImageRedactionConfig_OneofSizer(msg proto.Message) (n int) {
  2265. m := msg.(*RedactImageRequest_ImageRedactionConfig)
  2266. // target
  2267. switch x := m.Target.(type) {
  2268. case *RedactImageRequest_ImageRedactionConfig_InfoType:
  2269. s := proto.Size(x.InfoType)
  2270. n += 1 // tag and wire
  2271. n += proto.SizeVarint(uint64(s))
  2272. n += s
  2273. case *RedactImageRequest_ImageRedactionConfig_RedactAllText:
  2274. n += 1 // tag and wire
  2275. n += 1
  2276. case nil:
  2277. default:
  2278. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  2279. }
  2280. return n
  2281. }
  2282. // Represents a color in the RGB color space.
  2283. type Color struct {
  2284. // The amount of red in the color as a value in the interval [0, 1].
  2285. Red float32 `protobuf:"fixed32,1,opt,name=red,proto3" json:"red,omitempty"`
  2286. // The amount of green in the color as a value in the interval [0, 1].
  2287. Green float32 `protobuf:"fixed32,2,opt,name=green,proto3" json:"green,omitempty"`
  2288. // The amount of blue in the color as a value in the interval [0, 1].
  2289. Blue float32 `protobuf:"fixed32,3,opt,name=blue,proto3" json:"blue,omitempty"`
  2290. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2291. XXX_unrecognized []byte `json:"-"`
  2292. XXX_sizecache int32 `json:"-"`
  2293. }
  2294. func (m *Color) Reset() { *m = Color{} }
  2295. func (m *Color) String() string { return proto.CompactTextString(m) }
  2296. func (*Color) ProtoMessage() {}
  2297. func (*Color) Descriptor() ([]byte, []int) {
  2298. return fileDescriptor_dlp_9184f835f60c3220, []int{19}
  2299. }
  2300. func (m *Color) XXX_Unmarshal(b []byte) error {
  2301. return xxx_messageInfo_Color.Unmarshal(m, b)
  2302. }
  2303. func (m *Color) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2304. return xxx_messageInfo_Color.Marshal(b, m, deterministic)
  2305. }
  2306. func (dst *Color) XXX_Merge(src proto.Message) {
  2307. xxx_messageInfo_Color.Merge(dst, src)
  2308. }
  2309. func (m *Color) XXX_Size() int {
  2310. return xxx_messageInfo_Color.Size(m)
  2311. }
  2312. func (m *Color) XXX_DiscardUnknown() {
  2313. xxx_messageInfo_Color.DiscardUnknown(m)
  2314. }
  2315. var xxx_messageInfo_Color proto.InternalMessageInfo
  2316. func (m *Color) GetRed() float32 {
  2317. if m != nil {
  2318. return m.Red
  2319. }
  2320. return 0
  2321. }
  2322. func (m *Color) GetGreen() float32 {
  2323. if m != nil {
  2324. return m.Green
  2325. }
  2326. return 0
  2327. }
  2328. func (m *Color) GetBlue() float32 {
  2329. if m != nil {
  2330. return m.Blue
  2331. }
  2332. return 0
  2333. }
  2334. // Results of redacting an image.
  2335. type RedactImageResponse struct {
  2336. // The redacted image. The type will be the same as the original image.
  2337. RedactedImage []byte `protobuf:"bytes,1,opt,name=redacted_image,json=redactedImage,proto3" json:"redacted_image,omitempty"`
  2338. // If an image was being inspected and the InspectConfig's include_quote was
  2339. // set to true, then this field will include all text, if any, that was found
  2340. // in the image.
  2341. ExtractedText string `protobuf:"bytes,2,opt,name=extracted_text,json=extractedText,proto3" json:"extracted_text,omitempty"`
  2342. // The findings. Populated when include_findings in the request is true.
  2343. InspectResult *InspectResult `protobuf:"bytes,3,opt,name=inspect_result,json=inspectResult,proto3" json:"inspect_result,omitempty"`
  2344. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2345. XXX_unrecognized []byte `json:"-"`
  2346. XXX_sizecache int32 `json:"-"`
  2347. }
  2348. func (m *RedactImageResponse) Reset() { *m = RedactImageResponse{} }
  2349. func (m *RedactImageResponse) String() string { return proto.CompactTextString(m) }
  2350. func (*RedactImageResponse) ProtoMessage() {}
  2351. func (*RedactImageResponse) Descriptor() ([]byte, []int) {
  2352. return fileDescriptor_dlp_9184f835f60c3220, []int{20}
  2353. }
  2354. func (m *RedactImageResponse) XXX_Unmarshal(b []byte) error {
  2355. return xxx_messageInfo_RedactImageResponse.Unmarshal(m, b)
  2356. }
  2357. func (m *RedactImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2358. return xxx_messageInfo_RedactImageResponse.Marshal(b, m, deterministic)
  2359. }
  2360. func (dst *RedactImageResponse) XXX_Merge(src proto.Message) {
  2361. xxx_messageInfo_RedactImageResponse.Merge(dst, src)
  2362. }
  2363. func (m *RedactImageResponse) XXX_Size() int {
  2364. return xxx_messageInfo_RedactImageResponse.Size(m)
  2365. }
  2366. func (m *RedactImageResponse) XXX_DiscardUnknown() {
  2367. xxx_messageInfo_RedactImageResponse.DiscardUnknown(m)
  2368. }
  2369. var xxx_messageInfo_RedactImageResponse proto.InternalMessageInfo
  2370. func (m *RedactImageResponse) GetRedactedImage() []byte {
  2371. if m != nil {
  2372. return m.RedactedImage
  2373. }
  2374. return nil
  2375. }
  2376. func (m *RedactImageResponse) GetExtractedText() string {
  2377. if m != nil {
  2378. return m.ExtractedText
  2379. }
  2380. return ""
  2381. }
  2382. func (m *RedactImageResponse) GetInspectResult() *InspectResult {
  2383. if m != nil {
  2384. return m.InspectResult
  2385. }
  2386. return nil
  2387. }
  2388. // Request to de-identify a list of items.
  2389. type DeidentifyContentRequest struct {
  2390. // The parent resource name, for example projects/my-project-id.
  2391. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  2392. // Configuration for the de-identification of the content item.
  2393. // Items specified here will override the template referenced by the
  2394. // deidentify_template_name argument.
  2395. DeidentifyConfig *DeidentifyConfig `protobuf:"bytes,2,opt,name=deidentify_config,json=deidentifyConfig,proto3" json:"deidentify_config,omitempty"`
  2396. // Configuration for the inspector.
  2397. // Items specified here will override the template referenced by the
  2398. // inspect_template_name argument.
  2399. InspectConfig *InspectConfig `protobuf:"bytes,3,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"`
  2400. // The item to de-identify. Will be treated as text.
  2401. Item *ContentItem `protobuf:"bytes,4,opt,name=item,proto3" json:"item,omitempty"`
  2402. // Optional template to use. Any configuration directly specified in
  2403. // inspect_config will override those set in the template. Singular fields
  2404. // that are set in this request will replace their corresponding fields in the
  2405. // template. Repeated fields are appended. Singular sub-messages and groups
  2406. // are recursively merged.
  2407. InspectTemplateName string `protobuf:"bytes,5,opt,name=inspect_template_name,json=inspectTemplateName,proto3" json:"inspect_template_name,omitempty"`
  2408. // Optional template to use. Any configuration directly specified in
  2409. // deidentify_config will override those set in the template. Singular fields
  2410. // that are set in this request will replace their corresponding fields in the
  2411. // template. Repeated fields are appended. Singular sub-messages and groups
  2412. // are recursively merged.
  2413. DeidentifyTemplateName string `protobuf:"bytes,6,opt,name=deidentify_template_name,json=deidentifyTemplateName,proto3" json:"deidentify_template_name,omitempty"`
  2414. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2415. XXX_unrecognized []byte `json:"-"`
  2416. XXX_sizecache int32 `json:"-"`
  2417. }
  2418. func (m *DeidentifyContentRequest) Reset() { *m = DeidentifyContentRequest{} }
  2419. func (m *DeidentifyContentRequest) String() string { return proto.CompactTextString(m) }
  2420. func (*DeidentifyContentRequest) ProtoMessage() {}
  2421. func (*DeidentifyContentRequest) Descriptor() ([]byte, []int) {
  2422. return fileDescriptor_dlp_9184f835f60c3220, []int{21}
  2423. }
  2424. func (m *DeidentifyContentRequest) XXX_Unmarshal(b []byte) error {
  2425. return xxx_messageInfo_DeidentifyContentRequest.Unmarshal(m, b)
  2426. }
  2427. func (m *DeidentifyContentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2428. return xxx_messageInfo_DeidentifyContentRequest.Marshal(b, m, deterministic)
  2429. }
  2430. func (dst *DeidentifyContentRequest) XXX_Merge(src proto.Message) {
  2431. xxx_messageInfo_DeidentifyContentRequest.Merge(dst, src)
  2432. }
  2433. func (m *DeidentifyContentRequest) XXX_Size() int {
  2434. return xxx_messageInfo_DeidentifyContentRequest.Size(m)
  2435. }
  2436. func (m *DeidentifyContentRequest) XXX_DiscardUnknown() {
  2437. xxx_messageInfo_DeidentifyContentRequest.DiscardUnknown(m)
  2438. }
  2439. var xxx_messageInfo_DeidentifyContentRequest proto.InternalMessageInfo
  2440. func (m *DeidentifyContentRequest) GetParent() string {
  2441. if m != nil {
  2442. return m.Parent
  2443. }
  2444. return ""
  2445. }
  2446. func (m *DeidentifyContentRequest) GetDeidentifyConfig() *DeidentifyConfig {
  2447. if m != nil {
  2448. return m.DeidentifyConfig
  2449. }
  2450. return nil
  2451. }
  2452. func (m *DeidentifyContentRequest) GetInspectConfig() *InspectConfig {
  2453. if m != nil {
  2454. return m.InspectConfig
  2455. }
  2456. return nil
  2457. }
  2458. func (m *DeidentifyContentRequest) GetItem() *ContentItem {
  2459. if m != nil {
  2460. return m.Item
  2461. }
  2462. return nil
  2463. }
  2464. func (m *DeidentifyContentRequest) GetInspectTemplateName() string {
  2465. if m != nil {
  2466. return m.InspectTemplateName
  2467. }
  2468. return ""
  2469. }
  2470. func (m *DeidentifyContentRequest) GetDeidentifyTemplateName() string {
  2471. if m != nil {
  2472. return m.DeidentifyTemplateName
  2473. }
  2474. return ""
  2475. }
  2476. // Results of de-identifying a ContentItem.
  2477. type DeidentifyContentResponse struct {
  2478. // The de-identified item.
  2479. Item *ContentItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
  2480. // An overview of the changes that were made on the `item`.
  2481. Overview *TransformationOverview `protobuf:"bytes,2,opt,name=overview,proto3" json:"overview,omitempty"`
  2482. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2483. XXX_unrecognized []byte `json:"-"`
  2484. XXX_sizecache int32 `json:"-"`
  2485. }
  2486. func (m *DeidentifyContentResponse) Reset() { *m = DeidentifyContentResponse{} }
  2487. func (m *DeidentifyContentResponse) String() string { return proto.CompactTextString(m) }
  2488. func (*DeidentifyContentResponse) ProtoMessage() {}
  2489. func (*DeidentifyContentResponse) Descriptor() ([]byte, []int) {
  2490. return fileDescriptor_dlp_9184f835f60c3220, []int{22}
  2491. }
  2492. func (m *DeidentifyContentResponse) XXX_Unmarshal(b []byte) error {
  2493. return xxx_messageInfo_DeidentifyContentResponse.Unmarshal(m, b)
  2494. }
  2495. func (m *DeidentifyContentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2496. return xxx_messageInfo_DeidentifyContentResponse.Marshal(b, m, deterministic)
  2497. }
  2498. func (dst *DeidentifyContentResponse) XXX_Merge(src proto.Message) {
  2499. xxx_messageInfo_DeidentifyContentResponse.Merge(dst, src)
  2500. }
  2501. func (m *DeidentifyContentResponse) XXX_Size() int {
  2502. return xxx_messageInfo_DeidentifyContentResponse.Size(m)
  2503. }
  2504. func (m *DeidentifyContentResponse) XXX_DiscardUnknown() {
  2505. xxx_messageInfo_DeidentifyContentResponse.DiscardUnknown(m)
  2506. }
  2507. var xxx_messageInfo_DeidentifyContentResponse proto.InternalMessageInfo
  2508. func (m *DeidentifyContentResponse) GetItem() *ContentItem {
  2509. if m != nil {
  2510. return m.Item
  2511. }
  2512. return nil
  2513. }
  2514. func (m *DeidentifyContentResponse) GetOverview() *TransformationOverview {
  2515. if m != nil {
  2516. return m.Overview
  2517. }
  2518. return nil
  2519. }
  2520. // Request to re-identify an item.
  2521. type ReidentifyContentRequest struct {
  2522. // The parent resource name.
  2523. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  2524. // Configuration for the re-identification of the content item.
  2525. // This field shares the same proto message type that is used for
  2526. // de-identification, however its usage here is for the reversal of the
  2527. // previous de-identification. Re-identification is performed by examining
  2528. // the transformations used to de-identify the items and executing the
  2529. // reverse. This requires that only reversible transformations
  2530. // be provided here. The reversible transformations are:
  2531. //
  2532. // - `CryptoReplaceFfxFpeConfig`
  2533. ReidentifyConfig *DeidentifyConfig `protobuf:"bytes,2,opt,name=reidentify_config,json=reidentifyConfig,proto3" json:"reidentify_config,omitempty"`
  2534. // Configuration for the inspector.
  2535. InspectConfig *InspectConfig `protobuf:"bytes,3,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"`
  2536. // The item to re-identify. Will be treated as text.
  2537. Item *ContentItem `protobuf:"bytes,4,opt,name=item,proto3" json:"item,omitempty"`
  2538. // Optional template to use. Any configuration directly specified in
  2539. // `inspect_config` will override those set in the template. Singular fields
  2540. // that are set in this request will replace their corresponding fields in the
  2541. // template. Repeated fields are appended. Singular sub-messages and groups
  2542. // are recursively merged.
  2543. InspectTemplateName string `protobuf:"bytes,5,opt,name=inspect_template_name,json=inspectTemplateName,proto3" json:"inspect_template_name,omitempty"`
  2544. // Optional template to use. References an instance of `DeidentifyTemplate`.
  2545. // Any configuration directly specified in `reidentify_config` or
  2546. // `inspect_config` will override those set in the template. Singular fields
  2547. // that are set in this request will replace their corresponding fields in the
  2548. // template. Repeated fields are appended. Singular sub-messages and groups
  2549. // are recursively merged.
  2550. ReidentifyTemplateName string `protobuf:"bytes,6,opt,name=reidentify_template_name,json=reidentifyTemplateName,proto3" json:"reidentify_template_name,omitempty"`
  2551. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2552. XXX_unrecognized []byte `json:"-"`
  2553. XXX_sizecache int32 `json:"-"`
  2554. }
  2555. func (m *ReidentifyContentRequest) Reset() { *m = ReidentifyContentRequest{} }
  2556. func (m *ReidentifyContentRequest) String() string { return proto.CompactTextString(m) }
  2557. func (*ReidentifyContentRequest) ProtoMessage() {}
  2558. func (*ReidentifyContentRequest) Descriptor() ([]byte, []int) {
  2559. return fileDescriptor_dlp_9184f835f60c3220, []int{23}
  2560. }
  2561. func (m *ReidentifyContentRequest) XXX_Unmarshal(b []byte) error {
  2562. return xxx_messageInfo_ReidentifyContentRequest.Unmarshal(m, b)
  2563. }
  2564. func (m *ReidentifyContentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2565. return xxx_messageInfo_ReidentifyContentRequest.Marshal(b, m, deterministic)
  2566. }
  2567. func (dst *ReidentifyContentRequest) XXX_Merge(src proto.Message) {
  2568. xxx_messageInfo_ReidentifyContentRequest.Merge(dst, src)
  2569. }
  2570. func (m *ReidentifyContentRequest) XXX_Size() int {
  2571. return xxx_messageInfo_ReidentifyContentRequest.Size(m)
  2572. }
  2573. func (m *ReidentifyContentRequest) XXX_DiscardUnknown() {
  2574. xxx_messageInfo_ReidentifyContentRequest.DiscardUnknown(m)
  2575. }
  2576. var xxx_messageInfo_ReidentifyContentRequest proto.InternalMessageInfo
  2577. func (m *ReidentifyContentRequest) GetParent() string {
  2578. if m != nil {
  2579. return m.Parent
  2580. }
  2581. return ""
  2582. }
  2583. func (m *ReidentifyContentRequest) GetReidentifyConfig() *DeidentifyConfig {
  2584. if m != nil {
  2585. return m.ReidentifyConfig
  2586. }
  2587. return nil
  2588. }
  2589. func (m *ReidentifyContentRequest) GetInspectConfig() *InspectConfig {
  2590. if m != nil {
  2591. return m.InspectConfig
  2592. }
  2593. return nil
  2594. }
  2595. func (m *ReidentifyContentRequest) GetItem() *ContentItem {
  2596. if m != nil {
  2597. return m.Item
  2598. }
  2599. return nil
  2600. }
  2601. func (m *ReidentifyContentRequest) GetInspectTemplateName() string {
  2602. if m != nil {
  2603. return m.InspectTemplateName
  2604. }
  2605. return ""
  2606. }
  2607. func (m *ReidentifyContentRequest) GetReidentifyTemplateName() string {
  2608. if m != nil {
  2609. return m.ReidentifyTemplateName
  2610. }
  2611. return ""
  2612. }
  2613. // Results of re-identifying a item.
  2614. type ReidentifyContentResponse struct {
  2615. // The re-identified item.
  2616. Item *ContentItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
  2617. // An overview of the changes that were made to the `item`.
  2618. Overview *TransformationOverview `protobuf:"bytes,2,opt,name=overview,proto3" json:"overview,omitempty"`
  2619. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2620. XXX_unrecognized []byte `json:"-"`
  2621. XXX_sizecache int32 `json:"-"`
  2622. }
  2623. func (m *ReidentifyContentResponse) Reset() { *m = ReidentifyContentResponse{} }
  2624. func (m *ReidentifyContentResponse) String() string { return proto.CompactTextString(m) }
  2625. func (*ReidentifyContentResponse) ProtoMessage() {}
  2626. func (*ReidentifyContentResponse) Descriptor() ([]byte, []int) {
  2627. return fileDescriptor_dlp_9184f835f60c3220, []int{24}
  2628. }
  2629. func (m *ReidentifyContentResponse) XXX_Unmarshal(b []byte) error {
  2630. return xxx_messageInfo_ReidentifyContentResponse.Unmarshal(m, b)
  2631. }
  2632. func (m *ReidentifyContentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2633. return xxx_messageInfo_ReidentifyContentResponse.Marshal(b, m, deterministic)
  2634. }
  2635. func (dst *ReidentifyContentResponse) XXX_Merge(src proto.Message) {
  2636. xxx_messageInfo_ReidentifyContentResponse.Merge(dst, src)
  2637. }
  2638. func (m *ReidentifyContentResponse) XXX_Size() int {
  2639. return xxx_messageInfo_ReidentifyContentResponse.Size(m)
  2640. }
  2641. func (m *ReidentifyContentResponse) XXX_DiscardUnknown() {
  2642. xxx_messageInfo_ReidentifyContentResponse.DiscardUnknown(m)
  2643. }
  2644. var xxx_messageInfo_ReidentifyContentResponse proto.InternalMessageInfo
  2645. func (m *ReidentifyContentResponse) GetItem() *ContentItem {
  2646. if m != nil {
  2647. return m.Item
  2648. }
  2649. return nil
  2650. }
  2651. func (m *ReidentifyContentResponse) GetOverview() *TransformationOverview {
  2652. if m != nil {
  2653. return m.Overview
  2654. }
  2655. return nil
  2656. }
  2657. // Request to search for potentially sensitive info in a ContentItem.
  2658. type InspectContentRequest struct {
  2659. // The parent resource name, for example projects/my-project-id.
  2660. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  2661. // Configuration for the inspector. What specified here will override
  2662. // the template referenced by the inspect_template_name argument.
  2663. InspectConfig *InspectConfig `protobuf:"bytes,2,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"`
  2664. // The item to inspect.
  2665. Item *ContentItem `protobuf:"bytes,3,opt,name=item,proto3" json:"item,omitempty"`
  2666. // Optional template to use. Any configuration directly specified in
  2667. // inspect_config will override those set in the template. Singular fields
  2668. // that are set in this request will replace their corresponding fields in the
  2669. // template. Repeated fields are appended. Singular sub-messages and groups
  2670. // are recursively merged.
  2671. InspectTemplateName string `protobuf:"bytes,4,opt,name=inspect_template_name,json=inspectTemplateName,proto3" json:"inspect_template_name,omitempty"`
  2672. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2673. XXX_unrecognized []byte `json:"-"`
  2674. XXX_sizecache int32 `json:"-"`
  2675. }
  2676. func (m *InspectContentRequest) Reset() { *m = InspectContentRequest{} }
  2677. func (m *InspectContentRequest) String() string { return proto.CompactTextString(m) }
  2678. func (*InspectContentRequest) ProtoMessage() {}
  2679. func (*InspectContentRequest) Descriptor() ([]byte, []int) {
  2680. return fileDescriptor_dlp_9184f835f60c3220, []int{25}
  2681. }
  2682. func (m *InspectContentRequest) XXX_Unmarshal(b []byte) error {
  2683. return xxx_messageInfo_InspectContentRequest.Unmarshal(m, b)
  2684. }
  2685. func (m *InspectContentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2686. return xxx_messageInfo_InspectContentRequest.Marshal(b, m, deterministic)
  2687. }
  2688. func (dst *InspectContentRequest) XXX_Merge(src proto.Message) {
  2689. xxx_messageInfo_InspectContentRequest.Merge(dst, src)
  2690. }
  2691. func (m *InspectContentRequest) XXX_Size() int {
  2692. return xxx_messageInfo_InspectContentRequest.Size(m)
  2693. }
  2694. func (m *InspectContentRequest) XXX_DiscardUnknown() {
  2695. xxx_messageInfo_InspectContentRequest.DiscardUnknown(m)
  2696. }
  2697. var xxx_messageInfo_InspectContentRequest proto.InternalMessageInfo
  2698. func (m *InspectContentRequest) GetParent() string {
  2699. if m != nil {
  2700. return m.Parent
  2701. }
  2702. return ""
  2703. }
  2704. func (m *InspectContentRequest) GetInspectConfig() *InspectConfig {
  2705. if m != nil {
  2706. return m.InspectConfig
  2707. }
  2708. return nil
  2709. }
  2710. func (m *InspectContentRequest) GetItem() *ContentItem {
  2711. if m != nil {
  2712. return m.Item
  2713. }
  2714. return nil
  2715. }
  2716. func (m *InspectContentRequest) GetInspectTemplateName() string {
  2717. if m != nil {
  2718. return m.InspectTemplateName
  2719. }
  2720. return ""
  2721. }
  2722. // Results of inspecting an item.
  2723. type InspectContentResponse struct {
  2724. // The findings.
  2725. Result *InspectResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
  2726. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2727. XXX_unrecognized []byte `json:"-"`
  2728. XXX_sizecache int32 `json:"-"`
  2729. }
  2730. func (m *InspectContentResponse) Reset() { *m = InspectContentResponse{} }
  2731. func (m *InspectContentResponse) String() string { return proto.CompactTextString(m) }
  2732. func (*InspectContentResponse) ProtoMessage() {}
  2733. func (*InspectContentResponse) Descriptor() ([]byte, []int) {
  2734. return fileDescriptor_dlp_9184f835f60c3220, []int{26}
  2735. }
  2736. func (m *InspectContentResponse) XXX_Unmarshal(b []byte) error {
  2737. return xxx_messageInfo_InspectContentResponse.Unmarshal(m, b)
  2738. }
  2739. func (m *InspectContentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2740. return xxx_messageInfo_InspectContentResponse.Marshal(b, m, deterministic)
  2741. }
  2742. func (dst *InspectContentResponse) XXX_Merge(src proto.Message) {
  2743. xxx_messageInfo_InspectContentResponse.Merge(dst, src)
  2744. }
  2745. func (m *InspectContentResponse) XXX_Size() int {
  2746. return xxx_messageInfo_InspectContentResponse.Size(m)
  2747. }
  2748. func (m *InspectContentResponse) XXX_DiscardUnknown() {
  2749. xxx_messageInfo_InspectContentResponse.DiscardUnknown(m)
  2750. }
  2751. var xxx_messageInfo_InspectContentResponse proto.InternalMessageInfo
  2752. func (m *InspectContentResponse) GetResult() *InspectResult {
  2753. if m != nil {
  2754. return m.Result
  2755. }
  2756. return nil
  2757. }
  2758. // Cloud repository for storing output.
  2759. type OutputStorageConfig struct {
  2760. // Types that are valid to be assigned to Type:
  2761. // *OutputStorageConfig_Table
  2762. Type isOutputStorageConfig_Type `protobuf_oneof:"type"`
  2763. // Schema used for writing the findings for Inspect jobs. This field is only
  2764. // used for Inspect and must be unspecified for Risk jobs. Columns are derived
  2765. // from the `Finding` object. If appending to an existing table, any columns
  2766. // from the predefined schema that are missing will be added. No columns in
  2767. // the existing table will be deleted.
  2768. //
  2769. // If unspecified, then all available columns will be used for a new table or
  2770. // an (existing) table with no schema, and no changes will be made to an
  2771. // existing table that has a schema.
  2772. OutputSchema OutputStorageConfig_OutputSchema `protobuf:"varint,3,opt,name=output_schema,json=outputSchema,proto3,enum=google.privacy.dlp.v2.OutputStorageConfig_OutputSchema" json:"output_schema,omitempty"`
  2773. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2774. XXX_unrecognized []byte `json:"-"`
  2775. XXX_sizecache int32 `json:"-"`
  2776. }
  2777. func (m *OutputStorageConfig) Reset() { *m = OutputStorageConfig{} }
  2778. func (m *OutputStorageConfig) String() string { return proto.CompactTextString(m) }
  2779. func (*OutputStorageConfig) ProtoMessage() {}
  2780. func (*OutputStorageConfig) Descriptor() ([]byte, []int) {
  2781. return fileDescriptor_dlp_9184f835f60c3220, []int{27}
  2782. }
  2783. func (m *OutputStorageConfig) XXX_Unmarshal(b []byte) error {
  2784. return xxx_messageInfo_OutputStorageConfig.Unmarshal(m, b)
  2785. }
  2786. func (m *OutputStorageConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2787. return xxx_messageInfo_OutputStorageConfig.Marshal(b, m, deterministic)
  2788. }
  2789. func (dst *OutputStorageConfig) XXX_Merge(src proto.Message) {
  2790. xxx_messageInfo_OutputStorageConfig.Merge(dst, src)
  2791. }
  2792. func (m *OutputStorageConfig) XXX_Size() int {
  2793. return xxx_messageInfo_OutputStorageConfig.Size(m)
  2794. }
  2795. func (m *OutputStorageConfig) XXX_DiscardUnknown() {
  2796. xxx_messageInfo_OutputStorageConfig.DiscardUnknown(m)
  2797. }
  2798. var xxx_messageInfo_OutputStorageConfig proto.InternalMessageInfo
  2799. type isOutputStorageConfig_Type interface {
  2800. isOutputStorageConfig_Type()
  2801. }
  2802. type OutputStorageConfig_Table struct {
  2803. Table *BigQueryTable `protobuf:"bytes,1,opt,name=table,proto3,oneof"`
  2804. }
  2805. func (*OutputStorageConfig_Table) isOutputStorageConfig_Type() {}
  2806. func (m *OutputStorageConfig) GetType() isOutputStorageConfig_Type {
  2807. if m != nil {
  2808. return m.Type
  2809. }
  2810. return nil
  2811. }
  2812. func (m *OutputStorageConfig) GetTable() *BigQueryTable {
  2813. if x, ok := m.GetType().(*OutputStorageConfig_Table); ok {
  2814. return x.Table
  2815. }
  2816. return nil
  2817. }
  2818. func (m *OutputStorageConfig) GetOutputSchema() OutputStorageConfig_OutputSchema {
  2819. if m != nil {
  2820. return m.OutputSchema
  2821. }
  2822. return OutputStorageConfig_OUTPUT_SCHEMA_UNSPECIFIED
  2823. }
  2824. // XXX_OneofFuncs is for the internal use of the proto package.
  2825. func (*OutputStorageConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  2826. return _OutputStorageConfig_OneofMarshaler, _OutputStorageConfig_OneofUnmarshaler, _OutputStorageConfig_OneofSizer, []interface{}{
  2827. (*OutputStorageConfig_Table)(nil),
  2828. }
  2829. }
  2830. func _OutputStorageConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  2831. m := msg.(*OutputStorageConfig)
  2832. // type
  2833. switch x := m.Type.(type) {
  2834. case *OutputStorageConfig_Table:
  2835. b.EncodeVarint(1<<3 | proto.WireBytes)
  2836. if err := b.EncodeMessage(x.Table); err != nil {
  2837. return err
  2838. }
  2839. case nil:
  2840. default:
  2841. return fmt.Errorf("OutputStorageConfig.Type has unexpected type %T", x)
  2842. }
  2843. return nil
  2844. }
  2845. func _OutputStorageConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  2846. m := msg.(*OutputStorageConfig)
  2847. switch tag {
  2848. case 1: // type.table
  2849. if wire != proto.WireBytes {
  2850. return true, proto.ErrInternalBadWireType
  2851. }
  2852. msg := new(BigQueryTable)
  2853. err := b.DecodeMessage(msg)
  2854. m.Type = &OutputStorageConfig_Table{msg}
  2855. return true, err
  2856. default:
  2857. return false, nil
  2858. }
  2859. }
  2860. func _OutputStorageConfig_OneofSizer(msg proto.Message) (n int) {
  2861. m := msg.(*OutputStorageConfig)
  2862. // type
  2863. switch x := m.Type.(type) {
  2864. case *OutputStorageConfig_Table:
  2865. s := proto.Size(x.Table)
  2866. n += 1 // tag and wire
  2867. n += proto.SizeVarint(uint64(s))
  2868. n += s
  2869. case nil:
  2870. default:
  2871. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  2872. }
  2873. return n
  2874. }
  2875. // Statistics regarding a specific InfoType.
  2876. type InfoTypeStats struct {
  2877. // The type of finding this stat is for.
  2878. InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"`
  2879. // Number of findings for this infoType.
  2880. Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
  2881. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2882. XXX_unrecognized []byte `json:"-"`
  2883. XXX_sizecache int32 `json:"-"`
  2884. }
  2885. func (m *InfoTypeStats) Reset() { *m = InfoTypeStats{} }
  2886. func (m *InfoTypeStats) String() string { return proto.CompactTextString(m) }
  2887. func (*InfoTypeStats) ProtoMessage() {}
  2888. func (*InfoTypeStats) Descriptor() ([]byte, []int) {
  2889. return fileDescriptor_dlp_9184f835f60c3220, []int{28}
  2890. }
  2891. func (m *InfoTypeStats) XXX_Unmarshal(b []byte) error {
  2892. return xxx_messageInfo_InfoTypeStats.Unmarshal(m, b)
  2893. }
  2894. func (m *InfoTypeStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2895. return xxx_messageInfo_InfoTypeStats.Marshal(b, m, deterministic)
  2896. }
  2897. func (dst *InfoTypeStats) XXX_Merge(src proto.Message) {
  2898. xxx_messageInfo_InfoTypeStats.Merge(dst, src)
  2899. }
  2900. func (m *InfoTypeStats) XXX_Size() int {
  2901. return xxx_messageInfo_InfoTypeStats.Size(m)
  2902. }
  2903. func (m *InfoTypeStats) XXX_DiscardUnknown() {
  2904. xxx_messageInfo_InfoTypeStats.DiscardUnknown(m)
  2905. }
  2906. var xxx_messageInfo_InfoTypeStats proto.InternalMessageInfo
  2907. func (m *InfoTypeStats) GetInfoType() *InfoType {
  2908. if m != nil {
  2909. return m.InfoType
  2910. }
  2911. return nil
  2912. }
  2913. func (m *InfoTypeStats) GetCount() int64 {
  2914. if m != nil {
  2915. return m.Count
  2916. }
  2917. return 0
  2918. }
  2919. // The results of an inspect DataSource job.
  2920. type InspectDataSourceDetails struct {
  2921. // The configuration used for this job.
  2922. RequestedOptions *InspectDataSourceDetails_RequestedOptions `protobuf:"bytes,2,opt,name=requested_options,json=requestedOptions,proto3" json:"requested_options,omitempty"`
  2923. // A summary of the outcome of this inspect job.
  2924. Result *InspectDataSourceDetails_Result `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"`
  2925. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2926. XXX_unrecognized []byte `json:"-"`
  2927. XXX_sizecache int32 `json:"-"`
  2928. }
  2929. func (m *InspectDataSourceDetails) Reset() { *m = InspectDataSourceDetails{} }
  2930. func (m *InspectDataSourceDetails) String() string { return proto.CompactTextString(m) }
  2931. func (*InspectDataSourceDetails) ProtoMessage() {}
  2932. func (*InspectDataSourceDetails) Descriptor() ([]byte, []int) {
  2933. return fileDescriptor_dlp_9184f835f60c3220, []int{29}
  2934. }
  2935. func (m *InspectDataSourceDetails) XXX_Unmarshal(b []byte) error {
  2936. return xxx_messageInfo_InspectDataSourceDetails.Unmarshal(m, b)
  2937. }
  2938. func (m *InspectDataSourceDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2939. return xxx_messageInfo_InspectDataSourceDetails.Marshal(b, m, deterministic)
  2940. }
  2941. func (dst *InspectDataSourceDetails) XXX_Merge(src proto.Message) {
  2942. xxx_messageInfo_InspectDataSourceDetails.Merge(dst, src)
  2943. }
  2944. func (m *InspectDataSourceDetails) XXX_Size() int {
  2945. return xxx_messageInfo_InspectDataSourceDetails.Size(m)
  2946. }
  2947. func (m *InspectDataSourceDetails) XXX_DiscardUnknown() {
  2948. xxx_messageInfo_InspectDataSourceDetails.DiscardUnknown(m)
  2949. }
  2950. var xxx_messageInfo_InspectDataSourceDetails proto.InternalMessageInfo
  2951. func (m *InspectDataSourceDetails) GetRequestedOptions() *InspectDataSourceDetails_RequestedOptions {
  2952. if m != nil {
  2953. return m.RequestedOptions
  2954. }
  2955. return nil
  2956. }
  2957. func (m *InspectDataSourceDetails) GetResult() *InspectDataSourceDetails_Result {
  2958. if m != nil {
  2959. return m.Result
  2960. }
  2961. return nil
  2962. }
  2963. type InspectDataSourceDetails_RequestedOptions struct {
  2964. // If run with an InspectTemplate, a snapshot of its state at the time of
  2965. // this run.
  2966. SnapshotInspectTemplate *InspectTemplate `protobuf:"bytes,1,opt,name=snapshot_inspect_template,json=snapshotInspectTemplate,proto3" json:"snapshot_inspect_template,omitempty"`
  2967. JobConfig *InspectJobConfig `protobuf:"bytes,3,opt,name=job_config,json=jobConfig,proto3" json:"job_config,omitempty"`
  2968. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2969. XXX_unrecognized []byte `json:"-"`
  2970. XXX_sizecache int32 `json:"-"`
  2971. }
  2972. func (m *InspectDataSourceDetails_RequestedOptions) Reset() {
  2973. *m = InspectDataSourceDetails_RequestedOptions{}
  2974. }
  2975. func (m *InspectDataSourceDetails_RequestedOptions) String() string { return proto.CompactTextString(m) }
  2976. func (*InspectDataSourceDetails_RequestedOptions) ProtoMessage() {}
  2977. func (*InspectDataSourceDetails_RequestedOptions) Descriptor() ([]byte, []int) {
  2978. return fileDescriptor_dlp_9184f835f60c3220, []int{29, 0}
  2979. }
  2980. func (m *InspectDataSourceDetails_RequestedOptions) XXX_Unmarshal(b []byte) error {
  2981. return xxx_messageInfo_InspectDataSourceDetails_RequestedOptions.Unmarshal(m, b)
  2982. }
  2983. func (m *InspectDataSourceDetails_RequestedOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2984. return xxx_messageInfo_InspectDataSourceDetails_RequestedOptions.Marshal(b, m, deterministic)
  2985. }
  2986. func (dst *InspectDataSourceDetails_RequestedOptions) XXX_Merge(src proto.Message) {
  2987. xxx_messageInfo_InspectDataSourceDetails_RequestedOptions.Merge(dst, src)
  2988. }
  2989. func (m *InspectDataSourceDetails_RequestedOptions) XXX_Size() int {
  2990. return xxx_messageInfo_InspectDataSourceDetails_RequestedOptions.Size(m)
  2991. }
  2992. func (m *InspectDataSourceDetails_RequestedOptions) XXX_DiscardUnknown() {
  2993. xxx_messageInfo_InspectDataSourceDetails_RequestedOptions.DiscardUnknown(m)
  2994. }
  2995. var xxx_messageInfo_InspectDataSourceDetails_RequestedOptions proto.InternalMessageInfo
  2996. func (m *InspectDataSourceDetails_RequestedOptions) GetSnapshotInspectTemplate() *InspectTemplate {
  2997. if m != nil {
  2998. return m.SnapshotInspectTemplate
  2999. }
  3000. return nil
  3001. }
  3002. func (m *InspectDataSourceDetails_RequestedOptions) GetJobConfig() *InspectJobConfig {
  3003. if m != nil {
  3004. return m.JobConfig
  3005. }
  3006. return nil
  3007. }
  3008. type InspectDataSourceDetails_Result struct {
  3009. // Total size in bytes that were processed.
  3010. ProcessedBytes int64 `protobuf:"varint,1,opt,name=processed_bytes,json=processedBytes,proto3" json:"processed_bytes,omitempty"`
  3011. // Estimate of the number of bytes to process.
  3012. TotalEstimatedBytes int64 `protobuf:"varint,2,opt,name=total_estimated_bytes,json=totalEstimatedBytes,proto3" json:"total_estimated_bytes,omitempty"`
  3013. // Statistics of how many instances of each info type were found during
  3014. // inspect job.
  3015. InfoTypeStats []*InfoTypeStats `protobuf:"bytes,3,rep,name=info_type_stats,json=infoTypeStats,proto3" json:"info_type_stats,omitempty"`
  3016. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3017. XXX_unrecognized []byte `json:"-"`
  3018. XXX_sizecache int32 `json:"-"`
  3019. }
  3020. func (m *InspectDataSourceDetails_Result) Reset() { *m = InspectDataSourceDetails_Result{} }
  3021. func (m *InspectDataSourceDetails_Result) String() string { return proto.CompactTextString(m) }
  3022. func (*InspectDataSourceDetails_Result) ProtoMessage() {}
  3023. func (*InspectDataSourceDetails_Result) Descriptor() ([]byte, []int) {
  3024. return fileDescriptor_dlp_9184f835f60c3220, []int{29, 1}
  3025. }
  3026. func (m *InspectDataSourceDetails_Result) XXX_Unmarshal(b []byte) error {
  3027. return xxx_messageInfo_InspectDataSourceDetails_Result.Unmarshal(m, b)
  3028. }
  3029. func (m *InspectDataSourceDetails_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3030. return xxx_messageInfo_InspectDataSourceDetails_Result.Marshal(b, m, deterministic)
  3031. }
  3032. func (dst *InspectDataSourceDetails_Result) XXX_Merge(src proto.Message) {
  3033. xxx_messageInfo_InspectDataSourceDetails_Result.Merge(dst, src)
  3034. }
  3035. func (m *InspectDataSourceDetails_Result) XXX_Size() int {
  3036. return xxx_messageInfo_InspectDataSourceDetails_Result.Size(m)
  3037. }
  3038. func (m *InspectDataSourceDetails_Result) XXX_DiscardUnknown() {
  3039. xxx_messageInfo_InspectDataSourceDetails_Result.DiscardUnknown(m)
  3040. }
  3041. var xxx_messageInfo_InspectDataSourceDetails_Result proto.InternalMessageInfo
  3042. func (m *InspectDataSourceDetails_Result) GetProcessedBytes() int64 {
  3043. if m != nil {
  3044. return m.ProcessedBytes
  3045. }
  3046. return 0
  3047. }
  3048. func (m *InspectDataSourceDetails_Result) GetTotalEstimatedBytes() int64 {
  3049. if m != nil {
  3050. return m.TotalEstimatedBytes
  3051. }
  3052. return 0
  3053. }
  3054. func (m *InspectDataSourceDetails_Result) GetInfoTypeStats() []*InfoTypeStats {
  3055. if m != nil {
  3056. return m.InfoTypeStats
  3057. }
  3058. return nil
  3059. }
  3060. // InfoType description.
  3061. type InfoTypeDescription struct {
  3062. // Internal name of the infoType.
  3063. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  3064. // Human readable form of the infoType name.
  3065. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
  3066. // Which parts of the API supports this InfoType.
  3067. SupportedBy []InfoTypeSupportedBy `protobuf:"varint,3,rep,packed,name=supported_by,json=supportedBy,proto3,enum=google.privacy.dlp.v2.InfoTypeSupportedBy" json:"supported_by,omitempty"`
  3068. // Description of the infotype. Translated when language is provided in the
  3069. // request.
  3070. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
  3071. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3072. XXX_unrecognized []byte `json:"-"`
  3073. XXX_sizecache int32 `json:"-"`
  3074. }
  3075. func (m *InfoTypeDescription) Reset() { *m = InfoTypeDescription{} }
  3076. func (m *InfoTypeDescription) String() string { return proto.CompactTextString(m) }
  3077. func (*InfoTypeDescription) ProtoMessage() {}
  3078. func (*InfoTypeDescription) Descriptor() ([]byte, []int) {
  3079. return fileDescriptor_dlp_9184f835f60c3220, []int{30}
  3080. }
  3081. func (m *InfoTypeDescription) XXX_Unmarshal(b []byte) error {
  3082. return xxx_messageInfo_InfoTypeDescription.Unmarshal(m, b)
  3083. }
  3084. func (m *InfoTypeDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3085. return xxx_messageInfo_InfoTypeDescription.Marshal(b, m, deterministic)
  3086. }
  3087. func (dst *InfoTypeDescription) XXX_Merge(src proto.Message) {
  3088. xxx_messageInfo_InfoTypeDescription.Merge(dst, src)
  3089. }
  3090. func (m *InfoTypeDescription) XXX_Size() int {
  3091. return xxx_messageInfo_InfoTypeDescription.Size(m)
  3092. }
  3093. func (m *InfoTypeDescription) XXX_DiscardUnknown() {
  3094. xxx_messageInfo_InfoTypeDescription.DiscardUnknown(m)
  3095. }
  3096. var xxx_messageInfo_InfoTypeDescription proto.InternalMessageInfo
  3097. func (m *InfoTypeDescription) GetName() string {
  3098. if m != nil {
  3099. return m.Name
  3100. }
  3101. return ""
  3102. }
  3103. func (m *InfoTypeDescription) GetDisplayName() string {
  3104. if m != nil {
  3105. return m.DisplayName
  3106. }
  3107. return ""
  3108. }
  3109. func (m *InfoTypeDescription) GetSupportedBy() []InfoTypeSupportedBy {
  3110. if m != nil {
  3111. return m.SupportedBy
  3112. }
  3113. return nil
  3114. }
  3115. func (m *InfoTypeDescription) GetDescription() string {
  3116. if m != nil {
  3117. return m.Description
  3118. }
  3119. return ""
  3120. }
  3121. // Request for the list of infoTypes.
  3122. type ListInfoTypesRequest struct {
  3123. // Optional BCP-47 language code for localized infoType friendly
  3124. // names. If omitted, or if localized strings are not available,
  3125. // en-US strings will be returned.
  3126. LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
  3127. // Optional filter to only return infoTypes supported by certain parts of the
  3128. // API. Defaults to supported_by=INSPECT.
  3129. Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
  3130. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3131. XXX_unrecognized []byte `json:"-"`
  3132. XXX_sizecache int32 `json:"-"`
  3133. }
  3134. func (m *ListInfoTypesRequest) Reset() { *m = ListInfoTypesRequest{} }
  3135. func (m *ListInfoTypesRequest) String() string { return proto.CompactTextString(m) }
  3136. func (*ListInfoTypesRequest) ProtoMessage() {}
  3137. func (*ListInfoTypesRequest) Descriptor() ([]byte, []int) {
  3138. return fileDescriptor_dlp_9184f835f60c3220, []int{31}
  3139. }
  3140. func (m *ListInfoTypesRequest) XXX_Unmarshal(b []byte) error {
  3141. return xxx_messageInfo_ListInfoTypesRequest.Unmarshal(m, b)
  3142. }
  3143. func (m *ListInfoTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3144. return xxx_messageInfo_ListInfoTypesRequest.Marshal(b, m, deterministic)
  3145. }
  3146. func (dst *ListInfoTypesRequest) XXX_Merge(src proto.Message) {
  3147. xxx_messageInfo_ListInfoTypesRequest.Merge(dst, src)
  3148. }
  3149. func (m *ListInfoTypesRequest) XXX_Size() int {
  3150. return xxx_messageInfo_ListInfoTypesRequest.Size(m)
  3151. }
  3152. func (m *ListInfoTypesRequest) XXX_DiscardUnknown() {
  3153. xxx_messageInfo_ListInfoTypesRequest.DiscardUnknown(m)
  3154. }
  3155. var xxx_messageInfo_ListInfoTypesRequest proto.InternalMessageInfo
  3156. func (m *ListInfoTypesRequest) GetLanguageCode() string {
  3157. if m != nil {
  3158. return m.LanguageCode
  3159. }
  3160. return ""
  3161. }
  3162. func (m *ListInfoTypesRequest) GetFilter() string {
  3163. if m != nil {
  3164. return m.Filter
  3165. }
  3166. return ""
  3167. }
  3168. // Response to the ListInfoTypes request.
  3169. type ListInfoTypesResponse struct {
  3170. // Set of sensitive infoTypes.
  3171. InfoTypes []*InfoTypeDescription `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"`
  3172. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3173. XXX_unrecognized []byte `json:"-"`
  3174. XXX_sizecache int32 `json:"-"`
  3175. }
  3176. func (m *ListInfoTypesResponse) Reset() { *m = ListInfoTypesResponse{} }
  3177. func (m *ListInfoTypesResponse) String() string { return proto.CompactTextString(m) }
  3178. func (*ListInfoTypesResponse) ProtoMessage() {}
  3179. func (*ListInfoTypesResponse) Descriptor() ([]byte, []int) {
  3180. return fileDescriptor_dlp_9184f835f60c3220, []int{32}
  3181. }
  3182. func (m *ListInfoTypesResponse) XXX_Unmarshal(b []byte) error {
  3183. return xxx_messageInfo_ListInfoTypesResponse.Unmarshal(m, b)
  3184. }
  3185. func (m *ListInfoTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3186. return xxx_messageInfo_ListInfoTypesResponse.Marshal(b, m, deterministic)
  3187. }
  3188. func (dst *ListInfoTypesResponse) XXX_Merge(src proto.Message) {
  3189. xxx_messageInfo_ListInfoTypesResponse.Merge(dst, src)
  3190. }
  3191. func (m *ListInfoTypesResponse) XXX_Size() int {
  3192. return xxx_messageInfo_ListInfoTypesResponse.Size(m)
  3193. }
  3194. func (m *ListInfoTypesResponse) XXX_DiscardUnknown() {
  3195. xxx_messageInfo_ListInfoTypesResponse.DiscardUnknown(m)
  3196. }
  3197. var xxx_messageInfo_ListInfoTypesResponse proto.InternalMessageInfo
  3198. func (m *ListInfoTypesResponse) GetInfoTypes() []*InfoTypeDescription {
  3199. if m != nil {
  3200. return m.InfoTypes
  3201. }
  3202. return nil
  3203. }
  3204. // Configuration for a risk analysis job. See
  3205. // https://cloud.google.com/dlp/docs/concepts-risk-analysis to learn more.
  3206. type RiskAnalysisJobConfig struct {
  3207. // Privacy metric to compute.
  3208. PrivacyMetric *PrivacyMetric `protobuf:"bytes,1,opt,name=privacy_metric,json=privacyMetric,proto3" json:"privacy_metric,omitempty"`
  3209. // Input dataset to compute metrics over.
  3210. SourceTable *BigQueryTable `protobuf:"bytes,2,opt,name=source_table,json=sourceTable,proto3" json:"source_table,omitempty"`
  3211. // Actions to execute at the completion of the job. Are executed in the order
  3212. // provided.
  3213. Actions []*Action `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"`
  3214. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3215. XXX_unrecognized []byte `json:"-"`
  3216. XXX_sizecache int32 `json:"-"`
  3217. }
  3218. func (m *RiskAnalysisJobConfig) Reset() { *m = RiskAnalysisJobConfig{} }
  3219. func (m *RiskAnalysisJobConfig) String() string { return proto.CompactTextString(m) }
  3220. func (*RiskAnalysisJobConfig) ProtoMessage() {}
  3221. func (*RiskAnalysisJobConfig) Descriptor() ([]byte, []int) {
  3222. return fileDescriptor_dlp_9184f835f60c3220, []int{33}
  3223. }
  3224. func (m *RiskAnalysisJobConfig) XXX_Unmarshal(b []byte) error {
  3225. return xxx_messageInfo_RiskAnalysisJobConfig.Unmarshal(m, b)
  3226. }
  3227. func (m *RiskAnalysisJobConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3228. return xxx_messageInfo_RiskAnalysisJobConfig.Marshal(b, m, deterministic)
  3229. }
  3230. func (dst *RiskAnalysisJobConfig) XXX_Merge(src proto.Message) {
  3231. xxx_messageInfo_RiskAnalysisJobConfig.Merge(dst, src)
  3232. }
  3233. func (m *RiskAnalysisJobConfig) XXX_Size() int {
  3234. return xxx_messageInfo_RiskAnalysisJobConfig.Size(m)
  3235. }
  3236. func (m *RiskAnalysisJobConfig) XXX_DiscardUnknown() {
  3237. xxx_messageInfo_RiskAnalysisJobConfig.DiscardUnknown(m)
  3238. }
  3239. var xxx_messageInfo_RiskAnalysisJobConfig proto.InternalMessageInfo
  3240. func (m *RiskAnalysisJobConfig) GetPrivacyMetric() *PrivacyMetric {
  3241. if m != nil {
  3242. return m.PrivacyMetric
  3243. }
  3244. return nil
  3245. }
  3246. func (m *RiskAnalysisJobConfig) GetSourceTable() *BigQueryTable {
  3247. if m != nil {
  3248. return m.SourceTable
  3249. }
  3250. return nil
  3251. }
  3252. func (m *RiskAnalysisJobConfig) GetActions() []*Action {
  3253. if m != nil {
  3254. return m.Actions
  3255. }
  3256. return nil
  3257. }
  3258. // A column with a semantic tag attached.
  3259. type QuasiId struct {
  3260. // Identifies the column. [required]
  3261. Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
  3262. // Semantic tag that identifies what a column contains, to determine which
  3263. // statistical model to use to estimate the reidentifiability of each
  3264. // value. [required]
  3265. //
  3266. // Types that are valid to be assigned to Tag:
  3267. // *QuasiId_InfoType
  3268. // *QuasiId_CustomTag
  3269. // *QuasiId_Inferred
  3270. Tag isQuasiId_Tag `protobuf_oneof:"tag"`
  3271. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3272. XXX_unrecognized []byte `json:"-"`
  3273. XXX_sizecache int32 `json:"-"`
  3274. }
  3275. func (m *QuasiId) Reset() { *m = QuasiId{} }
  3276. func (m *QuasiId) String() string { return proto.CompactTextString(m) }
  3277. func (*QuasiId) ProtoMessage() {}
  3278. func (*QuasiId) Descriptor() ([]byte, []int) {
  3279. return fileDescriptor_dlp_9184f835f60c3220, []int{34}
  3280. }
  3281. func (m *QuasiId) XXX_Unmarshal(b []byte) error {
  3282. return xxx_messageInfo_QuasiId.Unmarshal(m, b)
  3283. }
  3284. func (m *QuasiId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3285. return xxx_messageInfo_QuasiId.Marshal(b, m, deterministic)
  3286. }
  3287. func (dst *QuasiId) XXX_Merge(src proto.Message) {
  3288. xxx_messageInfo_QuasiId.Merge(dst, src)
  3289. }
  3290. func (m *QuasiId) XXX_Size() int {
  3291. return xxx_messageInfo_QuasiId.Size(m)
  3292. }
  3293. func (m *QuasiId) XXX_DiscardUnknown() {
  3294. xxx_messageInfo_QuasiId.DiscardUnknown(m)
  3295. }
  3296. var xxx_messageInfo_QuasiId proto.InternalMessageInfo
  3297. func (m *QuasiId) GetField() *FieldId {
  3298. if m != nil {
  3299. return m.Field
  3300. }
  3301. return nil
  3302. }
  3303. type isQuasiId_Tag interface {
  3304. isQuasiId_Tag()
  3305. }
  3306. type QuasiId_InfoType struct {
  3307. InfoType *InfoType `protobuf:"bytes,2,opt,name=info_type,json=infoType,proto3,oneof"`
  3308. }
  3309. type QuasiId_CustomTag struct {
  3310. CustomTag string `protobuf:"bytes,3,opt,name=custom_tag,json=customTag,proto3,oneof"`
  3311. }
  3312. type QuasiId_Inferred struct {
  3313. Inferred *empty.Empty `protobuf:"bytes,4,opt,name=inferred,proto3,oneof"`
  3314. }
  3315. func (*QuasiId_InfoType) isQuasiId_Tag() {}
  3316. func (*QuasiId_CustomTag) isQuasiId_Tag() {}
  3317. func (*QuasiId_Inferred) isQuasiId_Tag() {}
  3318. func (m *QuasiId) GetTag() isQuasiId_Tag {
  3319. if m != nil {
  3320. return m.Tag
  3321. }
  3322. return nil
  3323. }
  3324. func (m *QuasiId) GetInfoType() *InfoType {
  3325. if x, ok := m.GetTag().(*QuasiId_InfoType); ok {
  3326. return x.InfoType
  3327. }
  3328. return nil
  3329. }
  3330. func (m *QuasiId) GetCustomTag() string {
  3331. if x, ok := m.GetTag().(*QuasiId_CustomTag); ok {
  3332. return x.CustomTag
  3333. }
  3334. return ""
  3335. }
  3336. func (m *QuasiId) GetInferred() *empty.Empty {
  3337. if x, ok := m.GetTag().(*QuasiId_Inferred); ok {
  3338. return x.Inferred
  3339. }
  3340. return nil
  3341. }
  3342. // XXX_OneofFuncs is for the internal use of the proto package.
  3343. func (*QuasiId) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  3344. return _QuasiId_OneofMarshaler, _QuasiId_OneofUnmarshaler, _QuasiId_OneofSizer, []interface{}{
  3345. (*QuasiId_InfoType)(nil),
  3346. (*QuasiId_CustomTag)(nil),
  3347. (*QuasiId_Inferred)(nil),
  3348. }
  3349. }
  3350. func _QuasiId_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  3351. m := msg.(*QuasiId)
  3352. // tag
  3353. switch x := m.Tag.(type) {
  3354. case *QuasiId_InfoType:
  3355. b.EncodeVarint(2<<3 | proto.WireBytes)
  3356. if err := b.EncodeMessage(x.InfoType); err != nil {
  3357. return err
  3358. }
  3359. case *QuasiId_CustomTag:
  3360. b.EncodeVarint(3<<3 | proto.WireBytes)
  3361. b.EncodeStringBytes(x.CustomTag)
  3362. case *QuasiId_Inferred:
  3363. b.EncodeVarint(4<<3 | proto.WireBytes)
  3364. if err := b.EncodeMessage(x.Inferred); err != nil {
  3365. return err
  3366. }
  3367. case nil:
  3368. default:
  3369. return fmt.Errorf("QuasiId.Tag has unexpected type %T", x)
  3370. }
  3371. return nil
  3372. }
  3373. func _QuasiId_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  3374. m := msg.(*QuasiId)
  3375. switch tag {
  3376. case 2: // tag.info_type
  3377. if wire != proto.WireBytes {
  3378. return true, proto.ErrInternalBadWireType
  3379. }
  3380. msg := new(InfoType)
  3381. err := b.DecodeMessage(msg)
  3382. m.Tag = &QuasiId_InfoType{msg}
  3383. return true, err
  3384. case 3: // tag.custom_tag
  3385. if wire != proto.WireBytes {
  3386. return true, proto.ErrInternalBadWireType
  3387. }
  3388. x, err := b.DecodeStringBytes()
  3389. m.Tag = &QuasiId_CustomTag{x}
  3390. return true, err
  3391. case 4: // tag.inferred
  3392. if wire != proto.WireBytes {
  3393. return true, proto.ErrInternalBadWireType
  3394. }
  3395. msg := new(empty.Empty)
  3396. err := b.DecodeMessage(msg)
  3397. m.Tag = &QuasiId_Inferred{msg}
  3398. return true, err
  3399. default:
  3400. return false, nil
  3401. }
  3402. }
  3403. func _QuasiId_OneofSizer(msg proto.Message) (n int) {
  3404. m := msg.(*QuasiId)
  3405. // tag
  3406. switch x := m.Tag.(type) {
  3407. case *QuasiId_InfoType:
  3408. s := proto.Size(x.InfoType)
  3409. n += 1 // tag and wire
  3410. n += proto.SizeVarint(uint64(s))
  3411. n += s
  3412. case *QuasiId_CustomTag:
  3413. n += 1 // tag and wire
  3414. n += proto.SizeVarint(uint64(len(x.CustomTag)))
  3415. n += len(x.CustomTag)
  3416. case *QuasiId_Inferred:
  3417. s := proto.Size(x.Inferred)
  3418. n += 1 // tag and wire
  3419. n += proto.SizeVarint(uint64(s))
  3420. n += s
  3421. case nil:
  3422. default:
  3423. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  3424. }
  3425. return n
  3426. }
  3427. // An auxiliary table containing statistical information on the relative
  3428. // frequency of different quasi-identifiers values. It has one or several
  3429. // quasi-identifiers columns, and one column that indicates the relative
  3430. // frequency of each quasi-identifier tuple.
  3431. // If a tuple is present in the data but not in the auxiliary table, the
  3432. // corresponding relative frequency is assumed to be zero (and thus, the
  3433. // tuple is highly reidentifiable).
  3434. type StatisticalTable struct {
  3435. // Auxiliary table location. [required]
  3436. Table *BigQueryTable `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"`
  3437. // Quasi-identifier columns. [required]
  3438. QuasiIds []*StatisticalTable_QuasiIdentifierField `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"`
  3439. // The relative frequency column must contain a floating-point number
  3440. // between 0 and 1 (inclusive). Null values are assumed to be zero.
  3441. // [required]
  3442. RelativeFrequency *FieldId `protobuf:"bytes,2,opt,name=relative_frequency,json=relativeFrequency,proto3" json:"relative_frequency,omitempty"`
  3443. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3444. XXX_unrecognized []byte `json:"-"`
  3445. XXX_sizecache int32 `json:"-"`
  3446. }
  3447. func (m *StatisticalTable) Reset() { *m = StatisticalTable{} }
  3448. func (m *StatisticalTable) String() string { return proto.CompactTextString(m) }
  3449. func (*StatisticalTable) ProtoMessage() {}
  3450. func (*StatisticalTable) Descriptor() ([]byte, []int) {
  3451. return fileDescriptor_dlp_9184f835f60c3220, []int{35}
  3452. }
  3453. func (m *StatisticalTable) XXX_Unmarshal(b []byte) error {
  3454. return xxx_messageInfo_StatisticalTable.Unmarshal(m, b)
  3455. }
  3456. func (m *StatisticalTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3457. return xxx_messageInfo_StatisticalTable.Marshal(b, m, deterministic)
  3458. }
  3459. func (dst *StatisticalTable) XXX_Merge(src proto.Message) {
  3460. xxx_messageInfo_StatisticalTable.Merge(dst, src)
  3461. }
  3462. func (m *StatisticalTable) XXX_Size() int {
  3463. return xxx_messageInfo_StatisticalTable.Size(m)
  3464. }
  3465. func (m *StatisticalTable) XXX_DiscardUnknown() {
  3466. xxx_messageInfo_StatisticalTable.DiscardUnknown(m)
  3467. }
  3468. var xxx_messageInfo_StatisticalTable proto.InternalMessageInfo
  3469. func (m *StatisticalTable) GetTable() *BigQueryTable {
  3470. if m != nil {
  3471. return m.Table
  3472. }
  3473. return nil
  3474. }
  3475. func (m *StatisticalTable) GetQuasiIds() []*StatisticalTable_QuasiIdentifierField {
  3476. if m != nil {
  3477. return m.QuasiIds
  3478. }
  3479. return nil
  3480. }
  3481. func (m *StatisticalTable) GetRelativeFrequency() *FieldId {
  3482. if m != nil {
  3483. return m.RelativeFrequency
  3484. }
  3485. return nil
  3486. }
  3487. // A quasi-identifier column has a custom_tag, used to know which column
  3488. // in the data corresponds to which column in the statistical model.
  3489. type StatisticalTable_QuasiIdentifierField struct {
  3490. Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
  3491. CustomTag string `protobuf:"bytes,2,opt,name=custom_tag,json=customTag,proto3" json:"custom_tag,omitempty"`
  3492. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3493. XXX_unrecognized []byte `json:"-"`
  3494. XXX_sizecache int32 `json:"-"`
  3495. }
  3496. func (m *StatisticalTable_QuasiIdentifierField) Reset() { *m = StatisticalTable_QuasiIdentifierField{} }
  3497. func (m *StatisticalTable_QuasiIdentifierField) String() string { return proto.CompactTextString(m) }
  3498. func (*StatisticalTable_QuasiIdentifierField) ProtoMessage() {}
  3499. func (*StatisticalTable_QuasiIdentifierField) Descriptor() ([]byte, []int) {
  3500. return fileDescriptor_dlp_9184f835f60c3220, []int{35, 0}
  3501. }
  3502. func (m *StatisticalTable_QuasiIdentifierField) XXX_Unmarshal(b []byte) error {
  3503. return xxx_messageInfo_StatisticalTable_QuasiIdentifierField.Unmarshal(m, b)
  3504. }
  3505. func (m *StatisticalTable_QuasiIdentifierField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3506. return xxx_messageInfo_StatisticalTable_QuasiIdentifierField.Marshal(b, m, deterministic)
  3507. }
  3508. func (dst *StatisticalTable_QuasiIdentifierField) XXX_Merge(src proto.Message) {
  3509. xxx_messageInfo_StatisticalTable_QuasiIdentifierField.Merge(dst, src)
  3510. }
  3511. func (m *StatisticalTable_QuasiIdentifierField) XXX_Size() int {
  3512. return xxx_messageInfo_StatisticalTable_QuasiIdentifierField.Size(m)
  3513. }
  3514. func (m *StatisticalTable_QuasiIdentifierField) XXX_DiscardUnknown() {
  3515. xxx_messageInfo_StatisticalTable_QuasiIdentifierField.DiscardUnknown(m)
  3516. }
  3517. var xxx_messageInfo_StatisticalTable_QuasiIdentifierField proto.InternalMessageInfo
  3518. func (m *StatisticalTable_QuasiIdentifierField) GetField() *FieldId {
  3519. if m != nil {
  3520. return m.Field
  3521. }
  3522. return nil
  3523. }
  3524. func (m *StatisticalTable_QuasiIdentifierField) GetCustomTag() string {
  3525. if m != nil {
  3526. return m.CustomTag
  3527. }
  3528. return ""
  3529. }
  3530. // Privacy metric to compute for reidentification risk analysis.
  3531. type PrivacyMetric struct {
  3532. // Types that are valid to be assigned to Type:
  3533. // *PrivacyMetric_NumericalStatsConfig_
  3534. // *PrivacyMetric_CategoricalStatsConfig_
  3535. // *PrivacyMetric_KAnonymityConfig_
  3536. // *PrivacyMetric_LDiversityConfig_
  3537. // *PrivacyMetric_KMapEstimationConfig_
  3538. // *PrivacyMetric_DeltaPresenceEstimationConfig_
  3539. Type isPrivacyMetric_Type `protobuf_oneof:"type"`
  3540. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3541. XXX_unrecognized []byte `json:"-"`
  3542. XXX_sizecache int32 `json:"-"`
  3543. }
  3544. func (m *PrivacyMetric) Reset() { *m = PrivacyMetric{} }
  3545. func (m *PrivacyMetric) String() string { return proto.CompactTextString(m) }
  3546. func (*PrivacyMetric) ProtoMessage() {}
  3547. func (*PrivacyMetric) Descriptor() ([]byte, []int) {
  3548. return fileDescriptor_dlp_9184f835f60c3220, []int{36}
  3549. }
  3550. func (m *PrivacyMetric) XXX_Unmarshal(b []byte) error {
  3551. return xxx_messageInfo_PrivacyMetric.Unmarshal(m, b)
  3552. }
  3553. func (m *PrivacyMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3554. return xxx_messageInfo_PrivacyMetric.Marshal(b, m, deterministic)
  3555. }
  3556. func (dst *PrivacyMetric) XXX_Merge(src proto.Message) {
  3557. xxx_messageInfo_PrivacyMetric.Merge(dst, src)
  3558. }
  3559. func (m *PrivacyMetric) XXX_Size() int {
  3560. return xxx_messageInfo_PrivacyMetric.Size(m)
  3561. }
  3562. func (m *PrivacyMetric) XXX_DiscardUnknown() {
  3563. xxx_messageInfo_PrivacyMetric.DiscardUnknown(m)
  3564. }
  3565. var xxx_messageInfo_PrivacyMetric proto.InternalMessageInfo
  3566. type isPrivacyMetric_Type interface {
  3567. isPrivacyMetric_Type()
  3568. }
  3569. type PrivacyMetric_NumericalStatsConfig_ struct {
  3570. NumericalStatsConfig *PrivacyMetric_NumericalStatsConfig `protobuf:"bytes,1,opt,name=numerical_stats_config,json=numericalStatsConfig,proto3,oneof"`
  3571. }
  3572. type PrivacyMetric_CategoricalStatsConfig_ struct {
  3573. CategoricalStatsConfig *PrivacyMetric_CategoricalStatsConfig `protobuf:"bytes,2,opt,name=categorical_stats_config,json=categoricalStatsConfig,proto3,oneof"`
  3574. }
  3575. type PrivacyMetric_KAnonymityConfig_ struct {
  3576. KAnonymityConfig *PrivacyMetric_KAnonymityConfig `protobuf:"bytes,3,opt,name=k_anonymity_config,json=kAnonymityConfig,proto3,oneof"`
  3577. }
  3578. type PrivacyMetric_LDiversityConfig_ struct {
  3579. LDiversityConfig *PrivacyMetric_LDiversityConfig `protobuf:"bytes,4,opt,name=l_diversity_config,json=lDiversityConfig,proto3,oneof"`
  3580. }
  3581. type PrivacyMetric_KMapEstimationConfig_ struct {
  3582. KMapEstimationConfig *PrivacyMetric_KMapEstimationConfig `protobuf:"bytes,5,opt,name=k_map_estimation_config,json=kMapEstimationConfig,proto3,oneof"`
  3583. }
  3584. type PrivacyMetric_DeltaPresenceEstimationConfig_ struct {
  3585. DeltaPresenceEstimationConfig *PrivacyMetric_DeltaPresenceEstimationConfig `protobuf:"bytes,6,opt,name=delta_presence_estimation_config,json=deltaPresenceEstimationConfig,proto3,oneof"`
  3586. }
  3587. func (*PrivacyMetric_NumericalStatsConfig_) isPrivacyMetric_Type() {}
  3588. func (*PrivacyMetric_CategoricalStatsConfig_) isPrivacyMetric_Type() {}
  3589. func (*PrivacyMetric_KAnonymityConfig_) isPrivacyMetric_Type() {}
  3590. func (*PrivacyMetric_LDiversityConfig_) isPrivacyMetric_Type() {}
  3591. func (*PrivacyMetric_KMapEstimationConfig_) isPrivacyMetric_Type() {}
  3592. func (*PrivacyMetric_DeltaPresenceEstimationConfig_) isPrivacyMetric_Type() {}
  3593. func (m *PrivacyMetric) GetType() isPrivacyMetric_Type {
  3594. if m != nil {
  3595. return m.Type
  3596. }
  3597. return nil
  3598. }
  3599. func (m *PrivacyMetric) GetNumericalStatsConfig() *PrivacyMetric_NumericalStatsConfig {
  3600. if x, ok := m.GetType().(*PrivacyMetric_NumericalStatsConfig_); ok {
  3601. return x.NumericalStatsConfig
  3602. }
  3603. return nil
  3604. }
  3605. func (m *PrivacyMetric) GetCategoricalStatsConfig() *PrivacyMetric_CategoricalStatsConfig {
  3606. if x, ok := m.GetType().(*PrivacyMetric_CategoricalStatsConfig_); ok {
  3607. return x.CategoricalStatsConfig
  3608. }
  3609. return nil
  3610. }
  3611. func (m *PrivacyMetric) GetKAnonymityConfig() *PrivacyMetric_KAnonymityConfig {
  3612. if x, ok := m.GetType().(*PrivacyMetric_KAnonymityConfig_); ok {
  3613. return x.KAnonymityConfig
  3614. }
  3615. return nil
  3616. }
  3617. func (m *PrivacyMetric) GetLDiversityConfig() *PrivacyMetric_LDiversityConfig {
  3618. if x, ok := m.GetType().(*PrivacyMetric_LDiversityConfig_); ok {
  3619. return x.LDiversityConfig
  3620. }
  3621. return nil
  3622. }
  3623. func (m *PrivacyMetric) GetKMapEstimationConfig() *PrivacyMetric_KMapEstimationConfig {
  3624. if x, ok := m.GetType().(*PrivacyMetric_KMapEstimationConfig_); ok {
  3625. return x.KMapEstimationConfig
  3626. }
  3627. return nil
  3628. }
  3629. func (m *PrivacyMetric) GetDeltaPresenceEstimationConfig() *PrivacyMetric_DeltaPresenceEstimationConfig {
  3630. if x, ok := m.GetType().(*PrivacyMetric_DeltaPresenceEstimationConfig_); ok {
  3631. return x.DeltaPresenceEstimationConfig
  3632. }
  3633. return nil
  3634. }
  3635. // XXX_OneofFuncs is for the internal use of the proto package.
  3636. func (*PrivacyMetric) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  3637. return _PrivacyMetric_OneofMarshaler, _PrivacyMetric_OneofUnmarshaler, _PrivacyMetric_OneofSizer, []interface{}{
  3638. (*PrivacyMetric_NumericalStatsConfig_)(nil),
  3639. (*PrivacyMetric_CategoricalStatsConfig_)(nil),
  3640. (*PrivacyMetric_KAnonymityConfig_)(nil),
  3641. (*PrivacyMetric_LDiversityConfig_)(nil),
  3642. (*PrivacyMetric_KMapEstimationConfig_)(nil),
  3643. (*PrivacyMetric_DeltaPresenceEstimationConfig_)(nil),
  3644. }
  3645. }
  3646. func _PrivacyMetric_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  3647. m := msg.(*PrivacyMetric)
  3648. // type
  3649. switch x := m.Type.(type) {
  3650. case *PrivacyMetric_NumericalStatsConfig_:
  3651. b.EncodeVarint(1<<3 | proto.WireBytes)
  3652. if err := b.EncodeMessage(x.NumericalStatsConfig); err != nil {
  3653. return err
  3654. }
  3655. case *PrivacyMetric_CategoricalStatsConfig_:
  3656. b.EncodeVarint(2<<3 | proto.WireBytes)
  3657. if err := b.EncodeMessage(x.CategoricalStatsConfig); err != nil {
  3658. return err
  3659. }
  3660. case *PrivacyMetric_KAnonymityConfig_:
  3661. b.EncodeVarint(3<<3 | proto.WireBytes)
  3662. if err := b.EncodeMessage(x.KAnonymityConfig); err != nil {
  3663. return err
  3664. }
  3665. case *PrivacyMetric_LDiversityConfig_:
  3666. b.EncodeVarint(4<<3 | proto.WireBytes)
  3667. if err := b.EncodeMessage(x.LDiversityConfig); err != nil {
  3668. return err
  3669. }
  3670. case *PrivacyMetric_KMapEstimationConfig_:
  3671. b.EncodeVarint(5<<3 | proto.WireBytes)
  3672. if err := b.EncodeMessage(x.KMapEstimationConfig); err != nil {
  3673. return err
  3674. }
  3675. case *PrivacyMetric_DeltaPresenceEstimationConfig_:
  3676. b.EncodeVarint(6<<3 | proto.WireBytes)
  3677. if err := b.EncodeMessage(x.DeltaPresenceEstimationConfig); err != nil {
  3678. return err
  3679. }
  3680. case nil:
  3681. default:
  3682. return fmt.Errorf("PrivacyMetric.Type has unexpected type %T", x)
  3683. }
  3684. return nil
  3685. }
  3686. func _PrivacyMetric_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  3687. m := msg.(*PrivacyMetric)
  3688. switch tag {
  3689. case 1: // type.numerical_stats_config
  3690. if wire != proto.WireBytes {
  3691. return true, proto.ErrInternalBadWireType
  3692. }
  3693. msg := new(PrivacyMetric_NumericalStatsConfig)
  3694. err := b.DecodeMessage(msg)
  3695. m.Type = &PrivacyMetric_NumericalStatsConfig_{msg}
  3696. return true, err
  3697. case 2: // type.categorical_stats_config
  3698. if wire != proto.WireBytes {
  3699. return true, proto.ErrInternalBadWireType
  3700. }
  3701. msg := new(PrivacyMetric_CategoricalStatsConfig)
  3702. err := b.DecodeMessage(msg)
  3703. m.Type = &PrivacyMetric_CategoricalStatsConfig_{msg}
  3704. return true, err
  3705. case 3: // type.k_anonymity_config
  3706. if wire != proto.WireBytes {
  3707. return true, proto.ErrInternalBadWireType
  3708. }
  3709. msg := new(PrivacyMetric_KAnonymityConfig)
  3710. err := b.DecodeMessage(msg)
  3711. m.Type = &PrivacyMetric_KAnonymityConfig_{msg}
  3712. return true, err
  3713. case 4: // type.l_diversity_config
  3714. if wire != proto.WireBytes {
  3715. return true, proto.ErrInternalBadWireType
  3716. }
  3717. msg := new(PrivacyMetric_LDiversityConfig)
  3718. err := b.DecodeMessage(msg)
  3719. m.Type = &PrivacyMetric_LDiversityConfig_{msg}
  3720. return true, err
  3721. case 5: // type.k_map_estimation_config
  3722. if wire != proto.WireBytes {
  3723. return true, proto.ErrInternalBadWireType
  3724. }
  3725. msg := new(PrivacyMetric_KMapEstimationConfig)
  3726. err := b.DecodeMessage(msg)
  3727. m.Type = &PrivacyMetric_KMapEstimationConfig_{msg}
  3728. return true, err
  3729. case 6: // type.delta_presence_estimation_config
  3730. if wire != proto.WireBytes {
  3731. return true, proto.ErrInternalBadWireType
  3732. }
  3733. msg := new(PrivacyMetric_DeltaPresenceEstimationConfig)
  3734. err := b.DecodeMessage(msg)
  3735. m.Type = &PrivacyMetric_DeltaPresenceEstimationConfig_{msg}
  3736. return true, err
  3737. default:
  3738. return false, nil
  3739. }
  3740. }
  3741. func _PrivacyMetric_OneofSizer(msg proto.Message) (n int) {
  3742. m := msg.(*PrivacyMetric)
  3743. // type
  3744. switch x := m.Type.(type) {
  3745. case *PrivacyMetric_NumericalStatsConfig_:
  3746. s := proto.Size(x.NumericalStatsConfig)
  3747. n += 1 // tag and wire
  3748. n += proto.SizeVarint(uint64(s))
  3749. n += s
  3750. case *PrivacyMetric_CategoricalStatsConfig_:
  3751. s := proto.Size(x.CategoricalStatsConfig)
  3752. n += 1 // tag and wire
  3753. n += proto.SizeVarint(uint64(s))
  3754. n += s
  3755. case *PrivacyMetric_KAnonymityConfig_:
  3756. s := proto.Size(x.KAnonymityConfig)
  3757. n += 1 // tag and wire
  3758. n += proto.SizeVarint(uint64(s))
  3759. n += s
  3760. case *PrivacyMetric_LDiversityConfig_:
  3761. s := proto.Size(x.LDiversityConfig)
  3762. n += 1 // tag and wire
  3763. n += proto.SizeVarint(uint64(s))
  3764. n += s
  3765. case *PrivacyMetric_KMapEstimationConfig_:
  3766. s := proto.Size(x.KMapEstimationConfig)
  3767. n += 1 // tag and wire
  3768. n += proto.SizeVarint(uint64(s))
  3769. n += s
  3770. case *PrivacyMetric_DeltaPresenceEstimationConfig_:
  3771. s := proto.Size(x.DeltaPresenceEstimationConfig)
  3772. n += 1 // tag and wire
  3773. n += proto.SizeVarint(uint64(s))
  3774. n += s
  3775. case nil:
  3776. default:
  3777. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  3778. }
  3779. return n
  3780. }
  3781. // Compute numerical stats over an individual column, including
  3782. // min, max, and quantiles.
  3783. type PrivacyMetric_NumericalStatsConfig struct {
  3784. // Field to compute numerical stats on. Supported types are
  3785. // integer, float, date, datetime, timestamp, time.
  3786. Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
  3787. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3788. XXX_unrecognized []byte `json:"-"`
  3789. XXX_sizecache int32 `json:"-"`
  3790. }
  3791. func (m *PrivacyMetric_NumericalStatsConfig) Reset() { *m = PrivacyMetric_NumericalStatsConfig{} }
  3792. func (m *PrivacyMetric_NumericalStatsConfig) String() string { return proto.CompactTextString(m) }
  3793. func (*PrivacyMetric_NumericalStatsConfig) ProtoMessage() {}
  3794. func (*PrivacyMetric_NumericalStatsConfig) Descriptor() ([]byte, []int) {
  3795. return fileDescriptor_dlp_9184f835f60c3220, []int{36, 0}
  3796. }
  3797. func (m *PrivacyMetric_NumericalStatsConfig) XXX_Unmarshal(b []byte) error {
  3798. return xxx_messageInfo_PrivacyMetric_NumericalStatsConfig.Unmarshal(m, b)
  3799. }
  3800. func (m *PrivacyMetric_NumericalStatsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3801. return xxx_messageInfo_PrivacyMetric_NumericalStatsConfig.Marshal(b, m, deterministic)
  3802. }
  3803. func (dst *PrivacyMetric_NumericalStatsConfig) XXX_Merge(src proto.Message) {
  3804. xxx_messageInfo_PrivacyMetric_NumericalStatsConfig.Merge(dst, src)
  3805. }
  3806. func (m *PrivacyMetric_NumericalStatsConfig) XXX_Size() int {
  3807. return xxx_messageInfo_PrivacyMetric_NumericalStatsConfig.Size(m)
  3808. }
  3809. func (m *PrivacyMetric_NumericalStatsConfig) XXX_DiscardUnknown() {
  3810. xxx_messageInfo_PrivacyMetric_NumericalStatsConfig.DiscardUnknown(m)
  3811. }
  3812. var xxx_messageInfo_PrivacyMetric_NumericalStatsConfig proto.InternalMessageInfo
  3813. func (m *PrivacyMetric_NumericalStatsConfig) GetField() *FieldId {
  3814. if m != nil {
  3815. return m.Field
  3816. }
  3817. return nil
  3818. }
  3819. // Compute numerical stats over an individual column, including
  3820. // number of distinct values and value count distribution.
  3821. type PrivacyMetric_CategoricalStatsConfig struct {
  3822. // Field to compute categorical stats on. All column types are
  3823. // supported except for arrays and structs. However, it may be more
  3824. // informative to use NumericalStats when the field type is supported,
  3825. // depending on the data.
  3826. Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
  3827. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3828. XXX_unrecognized []byte `json:"-"`
  3829. XXX_sizecache int32 `json:"-"`
  3830. }
  3831. func (m *PrivacyMetric_CategoricalStatsConfig) Reset() { *m = PrivacyMetric_CategoricalStatsConfig{} }
  3832. func (m *PrivacyMetric_CategoricalStatsConfig) String() string { return proto.CompactTextString(m) }
  3833. func (*PrivacyMetric_CategoricalStatsConfig) ProtoMessage() {}
  3834. func (*PrivacyMetric_CategoricalStatsConfig) Descriptor() ([]byte, []int) {
  3835. return fileDescriptor_dlp_9184f835f60c3220, []int{36, 1}
  3836. }
  3837. func (m *PrivacyMetric_CategoricalStatsConfig) XXX_Unmarshal(b []byte) error {
  3838. return xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig.Unmarshal(m, b)
  3839. }
  3840. func (m *PrivacyMetric_CategoricalStatsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3841. return xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig.Marshal(b, m, deterministic)
  3842. }
  3843. func (dst *PrivacyMetric_CategoricalStatsConfig) XXX_Merge(src proto.Message) {
  3844. xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig.Merge(dst, src)
  3845. }
  3846. func (m *PrivacyMetric_CategoricalStatsConfig) XXX_Size() int {
  3847. return xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig.Size(m)
  3848. }
  3849. func (m *PrivacyMetric_CategoricalStatsConfig) XXX_DiscardUnknown() {
  3850. xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig.DiscardUnknown(m)
  3851. }
  3852. var xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig proto.InternalMessageInfo
  3853. func (m *PrivacyMetric_CategoricalStatsConfig) GetField() *FieldId {
  3854. if m != nil {
  3855. return m.Field
  3856. }
  3857. return nil
  3858. }
  3859. // k-anonymity metric, used for analysis of reidentification risk.
  3860. type PrivacyMetric_KAnonymityConfig struct {
  3861. // Set of fields to compute k-anonymity over. When multiple fields are
  3862. // specified, they are considered a single composite key. Structs and
  3863. // repeated data types are not supported; however, nested fields are
  3864. // supported so long as they are not structs themselves or nested within
  3865. // a repeated field.
  3866. QuasiIds []*FieldId `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"`
  3867. // Optional message indicating that multiple rows might be associated to a
  3868. // single individual. If the same entity_id is associated to multiple
  3869. // quasi-identifier tuples over distinct rows, we consider the entire
  3870. // collection of tuples as the composite quasi-identifier. This collection
  3871. // is a multiset: the order in which the different tuples appear in the
  3872. // dataset is ignored, but their frequency is taken into account.
  3873. //
  3874. // Important note: a maximum of 1000 rows can be associated to a single
  3875. // entity ID. If more rows are associated with the same entity ID, some
  3876. // might be ignored.
  3877. EntityId *EntityId `protobuf:"bytes,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
  3878. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3879. XXX_unrecognized []byte `json:"-"`
  3880. XXX_sizecache int32 `json:"-"`
  3881. }
  3882. func (m *PrivacyMetric_KAnonymityConfig) Reset() { *m = PrivacyMetric_KAnonymityConfig{} }
  3883. func (m *PrivacyMetric_KAnonymityConfig) String() string { return proto.CompactTextString(m) }
  3884. func (*PrivacyMetric_KAnonymityConfig) ProtoMessage() {}
  3885. func (*PrivacyMetric_KAnonymityConfig) Descriptor() ([]byte, []int) {
  3886. return fileDescriptor_dlp_9184f835f60c3220, []int{36, 2}
  3887. }
  3888. func (m *PrivacyMetric_KAnonymityConfig) XXX_Unmarshal(b []byte) error {
  3889. return xxx_messageInfo_PrivacyMetric_KAnonymityConfig.Unmarshal(m, b)
  3890. }
  3891. func (m *PrivacyMetric_KAnonymityConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3892. return xxx_messageInfo_PrivacyMetric_KAnonymityConfig.Marshal(b, m, deterministic)
  3893. }
  3894. func (dst *PrivacyMetric_KAnonymityConfig) XXX_Merge(src proto.Message) {
  3895. xxx_messageInfo_PrivacyMetric_KAnonymityConfig.Merge(dst, src)
  3896. }
  3897. func (m *PrivacyMetric_KAnonymityConfig) XXX_Size() int {
  3898. return xxx_messageInfo_PrivacyMetric_KAnonymityConfig.Size(m)
  3899. }
  3900. func (m *PrivacyMetric_KAnonymityConfig) XXX_DiscardUnknown() {
  3901. xxx_messageInfo_PrivacyMetric_KAnonymityConfig.DiscardUnknown(m)
  3902. }
  3903. var xxx_messageInfo_PrivacyMetric_KAnonymityConfig proto.InternalMessageInfo
  3904. func (m *PrivacyMetric_KAnonymityConfig) GetQuasiIds() []*FieldId {
  3905. if m != nil {
  3906. return m.QuasiIds
  3907. }
  3908. return nil
  3909. }
  3910. func (m *PrivacyMetric_KAnonymityConfig) GetEntityId() *EntityId {
  3911. if m != nil {
  3912. return m.EntityId
  3913. }
  3914. return nil
  3915. }
  3916. // l-diversity metric, used for analysis of reidentification risk.
  3917. type PrivacyMetric_LDiversityConfig struct {
  3918. // Set of quasi-identifiers indicating how equivalence classes are
  3919. // defined for the l-diversity computation. When multiple fields are
  3920. // specified, they are considered a single composite key.
  3921. QuasiIds []*FieldId `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"`
  3922. // Sensitive field for computing the l-value.
  3923. SensitiveAttribute *FieldId `protobuf:"bytes,2,opt,name=sensitive_attribute,json=sensitiveAttribute,proto3" json:"sensitive_attribute,omitempty"`
  3924. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3925. XXX_unrecognized []byte `json:"-"`
  3926. XXX_sizecache int32 `json:"-"`
  3927. }
  3928. func (m *PrivacyMetric_LDiversityConfig) Reset() { *m = PrivacyMetric_LDiversityConfig{} }
  3929. func (m *PrivacyMetric_LDiversityConfig) String() string { return proto.CompactTextString(m) }
  3930. func (*PrivacyMetric_LDiversityConfig) ProtoMessage() {}
  3931. func (*PrivacyMetric_LDiversityConfig) Descriptor() ([]byte, []int) {
  3932. return fileDescriptor_dlp_9184f835f60c3220, []int{36, 3}
  3933. }
  3934. func (m *PrivacyMetric_LDiversityConfig) XXX_Unmarshal(b []byte) error {
  3935. return xxx_messageInfo_PrivacyMetric_LDiversityConfig.Unmarshal(m, b)
  3936. }
  3937. func (m *PrivacyMetric_LDiversityConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3938. return xxx_messageInfo_PrivacyMetric_LDiversityConfig.Marshal(b, m, deterministic)
  3939. }
  3940. func (dst *PrivacyMetric_LDiversityConfig) XXX_Merge(src proto.Message) {
  3941. xxx_messageInfo_PrivacyMetric_LDiversityConfig.Merge(dst, src)
  3942. }
  3943. func (m *PrivacyMetric_LDiversityConfig) XXX_Size() int {
  3944. return xxx_messageInfo_PrivacyMetric_LDiversityConfig.Size(m)
  3945. }
  3946. func (m *PrivacyMetric_LDiversityConfig) XXX_DiscardUnknown() {
  3947. xxx_messageInfo_PrivacyMetric_LDiversityConfig.DiscardUnknown(m)
  3948. }
  3949. var xxx_messageInfo_PrivacyMetric_LDiversityConfig proto.InternalMessageInfo
  3950. func (m *PrivacyMetric_LDiversityConfig) GetQuasiIds() []*FieldId {
  3951. if m != nil {
  3952. return m.QuasiIds
  3953. }
  3954. return nil
  3955. }
  3956. func (m *PrivacyMetric_LDiversityConfig) GetSensitiveAttribute() *FieldId {
  3957. if m != nil {
  3958. return m.SensitiveAttribute
  3959. }
  3960. return nil
  3961. }
  3962. // Reidentifiability metric. This corresponds to a risk model similar to what
  3963. // is called "journalist risk" in the literature, except the attack dataset is
  3964. // statistically modeled instead of being perfectly known. This can be done
  3965. // using publicly available data (like the US Census), or using a custom
  3966. // statistical model (indicated as one or several BigQuery tables), or by
  3967. // extrapolating from the distribution of values in the input dataset.
  3968. // A column with a semantic tag attached.
  3969. type PrivacyMetric_KMapEstimationConfig struct {
  3970. // Fields considered to be quasi-identifiers. No two columns can have the
  3971. // same tag. [required]
  3972. QuasiIds []*PrivacyMetric_KMapEstimationConfig_TaggedField `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"`
  3973. // ISO 3166-1 alpha-2 region code to use in the statistical modeling.
  3974. // Required if no column is tagged with a region-specific InfoType (like
  3975. // US_ZIP_5) or a region code.
  3976. RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
  3977. // Several auxiliary tables can be used in the analysis. Each custom_tag
  3978. // used to tag a quasi-identifiers column must appear in exactly one column
  3979. // of one auxiliary table.
  3980. AuxiliaryTables []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable `protobuf:"bytes,3,rep,name=auxiliary_tables,json=auxiliaryTables,proto3" json:"auxiliary_tables,omitempty"`
  3981. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3982. XXX_unrecognized []byte `json:"-"`
  3983. XXX_sizecache int32 `json:"-"`
  3984. }
  3985. func (m *PrivacyMetric_KMapEstimationConfig) Reset() { *m = PrivacyMetric_KMapEstimationConfig{} }
  3986. func (m *PrivacyMetric_KMapEstimationConfig) String() string { return proto.CompactTextString(m) }
  3987. func (*PrivacyMetric_KMapEstimationConfig) ProtoMessage() {}
  3988. func (*PrivacyMetric_KMapEstimationConfig) Descriptor() ([]byte, []int) {
  3989. return fileDescriptor_dlp_9184f835f60c3220, []int{36, 4}
  3990. }
  3991. func (m *PrivacyMetric_KMapEstimationConfig) XXX_Unmarshal(b []byte) error {
  3992. return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig.Unmarshal(m, b)
  3993. }
  3994. func (m *PrivacyMetric_KMapEstimationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3995. return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig.Marshal(b, m, deterministic)
  3996. }
  3997. func (dst *PrivacyMetric_KMapEstimationConfig) XXX_Merge(src proto.Message) {
  3998. xxx_messageInfo_PrivacyMetric_KMapEstimationConfig.Merge(dst, src)
  3999. }
  4000. func (m *PrivacyMetric_KMapEstimationConfig) XXX_Size() int {
  4001. return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig.Size(m)
  4002. }
  4003. func (m *PrivacyMetric_KMapEstimationConfig) XXX_DiscardUnknown() {
  4004. xxx_messageInfo_PrivacyMetric_KMapEstimationConfig.DiscardUnknown(m)
  4005. }
  4006. var xxx_messageInfo_PrivacyMetric_KMapEstimationConfig proto.InternalMessageInfo
  4007. func (m *PrivacyMetric_KMapEstimationConfig) GetQuasiIds() []*PrivacyMetric_KMapEstimationConfig_TaggedField {
  4008. if m != nil {
  4009. return m.QuasiIds
  4010. }
  4011. return nil
  4012. }
  4013. func (m *PrivacyMetric_KMapEstimationConfig) GetRegionCode() string {
  4014. if m != nil {
  4015. return m.RegionCode
  4016. }
  4017. return ""
  4018. }
  4019. func (m *PrivacyMetric_KMapEstimationConfig) GetAuxiliaryTables() []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable {
  4020. if m != nil {
  4021. return m.AuxiliaryTables
  4022. }
  4023. return nil
  4024. }
  4025. type PrivacyMetric_KMapEstimationConfig_TaggedField struct {
  4026. // Identifies the column. [required]
  4027. Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
  4028. // Semantic tag that identifies what a column contains, to determine which
  4029. // statistical model to use to estimate the reidentifiability of each
  4030. // value. [required]
  4031. //
  4032. // Types that are valid to be assigned to Tag:
  4033. // *PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType
  4034. // *PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag
  4035. // *PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred
  4036. Tag isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag `protobuf_oneof:"tag"`
  4037. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  4038. XXX_unrecognized []byte `json:"-"`
  4039. XXX_sizecache int32 `json:"-"`
  4040. }
  4041. func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) Reset() {
  4042. *m = PrivacyMetric_KMapEstimationConfig_TaggedField{}
  4043. }
  4044. func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) String() string {
  4045. return proto.CompactTextString(m)
  4046. }
  4047. func (*PrivacyMetric_KMapEstimationConfig_TaggedField) ProtoMessage() {}
  4048. func (*PrivacyMetric_KMapEstimationConfig_TaggedField) Descriptor() ([]byte, []int) {
  4049. return fileDescriptor_dlp_9184f835f60c3220, []int{36, 4, 0}
  4050. }
  4051. func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_Unmarshal(b []byte) error {
  4052. return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField.Unmarshal(m, b)
  4053. }
  4054. func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4055. return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField.Marshal(b, m, deterministic)
  4056. }
  4057. func (dst *PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_Merge(src proto.Message) {
  4058. xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField.Merge(dst, src)
  4059. }
  4060. func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_Size() int {
  4061. return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField.Size(m)
  4062. }
  4063. func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_DiscardUnknown() {
  4064. xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField.DiscardUnknown(m)
  4065. }
  4066. var xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField proto.InternalMessageInfo
  4067. func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetField() *FieldId {
  4068. if m != nil {
  4069. return m.Field
  4070. }
  4071. return nil
  4072. }
  4073. type isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag interface {
  4074. isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag()
  4075. }
  4076. type PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType struct {
  4077. InfoType *InfoType `protobuf:"bytes,2,opt,name=info_type,json=infoType,proto3,oneof"`
  4078. }
  4079. type PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag struct {
  4080. CustomTag string `protobuf:"bytes,3,opt,name=custom_tag,json=customTag,proto3,oneof"`
  4081. }
  4082. type PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred struct {
  4083. Inferred *empty.Empty `protobuf:"bytes,4,opt,name=inferred,proto3,oneof"`
  4084. }
  4085. func (*PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType) isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag() {
  4086. }
  4087. func (*PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag) isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag() {
  4088. }
  4089. func (*PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred) isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag() {
  4090. }
  4091. func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetTag() isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag {
  4092. if m != nil {
  4093. return m.Tag
  4094. }
  4095. return nil
  4096. }
  4097. func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetInfoType() *InfoType {
  4098. if x, ok := m.GetTag().(*PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType); ok {
  4099. return x.InfoType
  4100. }
  4101. return nil
  4102. }
  4103. func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetCustomTag() string {
  4104. if x, ok := m.GetTag().(*PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag); ok {
  4105. return x.CustomTag
  4106. }
  4107. return ""
  4108. }
  4109. func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetInferred() *empty.Empty {
  4110. if x, ok := m.GetTag().(*PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred); ok {
  4111. return x.Inferred
  4112. }
  4113. return nil
  4114. }
  4115. // XXX_OneofFuncs is for the internal use of the proto package.
  4116. func (*PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  4117. return _PrivacyMetric_KMapEstimationConfig_TaggedField_OneofMarshaler, _PrivacyMetric_KMapEstimationConfig_TaggedField_OneofUnmarshaler, _PrivacyMetric_KMapEstimationConfig_TaggedField_OneofSizer, []interface{}{
  4118. (*PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType)(nil),
  4119. (*PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag)(nil),
  4120. (*PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred)(nil),
  4121. }
  4122. }
  4123. func _PrivacyMetric_KMapEstimationConfig_TaggedField_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  4124. m := msg.(*PrivacyMetric_KMapEstimationConfig_TaggedField)
  4125. // tag
  4126. switch x := m.Tag.(type) {
  4127. case *PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType:
  4128. b.EncodeVarint(2<<3 | proto.WireBytes)
  4129. if err := b.EncodeMessage(x.InfoType); err != nil {
  4130. return err
  4131. }
  4132. case *PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag:
  4133. b.EncodeVarint(3<<3 | proto.WireBytes)
  4134. b.EncodeStringBytes(x.CustomTag)
  4135. case *PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred:
  4136. b.EncodeVarint(4<<3 | proto.WireBytes)
  4137. if err := b.EncodeMessage(x.Inferred); err != nil {
  4138. return err
  4139. }
  4140. case nil:
  4141. default:
  4142. return fmt.Errorf("PrivacyMetric_KMapEstimationConfig_TaggedField.Tag has unexpected type %T", x)
  4143. }
  4144. return nil
  4145. }
  4146. func _PrivacyMetric_KMapEstimationConfig_TaggedField_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  4147. m := msg.(*PrivacyMetric_KMapEstimationConfig_TaggedField)
  4148. switch tag {
  4149. case 2: // tag.info_type
  4150. if wire != proto.WireBytes {
  4151. return true, proto.ErrInternalBadWireType
  4152. }
  4153. msg := new(InfoType)
  4154. err := b.DecodeMessage(msg)
  4155. m.Tag = &PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType{msg}
  4156. return true, err
  4157. case 3: // tag.custom_tag
  4158. if wire != proto.WireBytes {
  4159. return true, proto.ErrInternalBadWireType
  4160. }
  4161. x, err := b.DecodeStringBytes()
  4162. m.Tag = &PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag{x}
  4163. return true, err
  4164. case 4: // tag.inferred
  4165. if wire != proto.WireBytes {
  4166. return true, proto.ErrInternalBadWireType
  4167. }
  4168. msg := new(empty.Empty)
  4169. err := b.DecodeMessage(msg)
  4170. m.Tag = &PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred{msg}
  4171. return true, err
  4172. default:
  4173. return false, nil
  4174. }
  4175. }
  4176. func _PrivacyMetric_KMapEstimationConfig_TaggedField_OneofSizer(msg proto.Message) (n int) {
  4177. m := msg.(*PrivacyMetric_KMapEstimationConfig_TaggedField)
  4178. // tag
  4179. switch x := m.Tag.(type) {
  4180. case *PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType:
  4181. s := proto.Size(x.InfoType)
  4182. n += 1 // tag and wire
  4183. n += proto.SizeVarint(uint64(s))
  4184. n += s
  4185. case *PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag:
  4186. n += 1 // tag and wire
  4187. n += proto.SizeVarint(uint64(len(x.CustomTag)))
  4188. n += len(x.CustomTag)
  4189. case *PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred:
  4190. s := proto.Size(x.Inferred)
  4191. n += 1 // tag and wire
  4192. n += proto.SizeVarint(uint64(s))
  4193. n += s
  4194. case nil:
  4195. default:
  4196. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  4197. }
  4198. return n
  4199. }
  4200. // An auxiliary table contains statistical information on the relative
  4201. // frequency of different quasi-identifiers values. It has one or several
  4202. // quasi-identifiers columns, and one column that indicates the relative
  4203. // frequency of each quasi-identifier tuple.
  4204. // If a tuple is present in the data but not in the auxiliary table, the
  4205. // corresponding relative frequency is assumed to be zero (and thus, the
  4206. // tuple is highly reidentifiable).
  4207. type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable struct {
  4208. // Auxiliary table location. [required]
  4209. Table *BigQueryTable `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"`
  4210. // Quasi-identifier columns. [required]
  4211. QuasiIds []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"`
  4212. // The relative frequency column must contain a floating-point number
  4213. // between 0 and 1 (inclusive). Null values are assumed to be zero.
  4214. // [required]
  4215. RelativeFrequency *FieldId `protobuf:"bytes,2,opt,name=relative_frequency,json=relativeFrequency,proto3" json:"relative_frequency,omitempty"`
  4216. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  4217. XXX_unrecognized []byte `json:"-"`
  4218. XXX_sizecache int32 `json:"-"`
  4219. }
  4220. func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) Reset() {
  4221. *m = PrivacyMetric_KMapEstimationConfig_AuxiliaryTable{}
  4222. }
  4223. func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) String() string {
  4224. return proto.CompactTextString(m)
  4225. }
  4226. func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) ProtoMessage() {}
  4227. func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) Descriptor() ([]byte, []int) {
  4228. return fileDescriptor_dlp_9184f835f60c3220, []int{36, 4, 1}
  4229. }
  4230. func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_Unmarshal(b []byte) error {
  4231. return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable.Unmarshal(m, b)
  4232. }
  4233. func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4234. return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable.Marshal(b, m, deterministic)
  4235. }
  4236. func (dst *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_Merge(src proto.Message) {
  4237. xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable.Merge(dst, src)
  4238. }
  4239. func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_Size() int {
  4240. return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable.Size(m)
  4241. }
  4242. func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_DiscardUnknown() {
  4243. xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable.DiscardUnknown(m)
  4244. }
  4245. var xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable proto.InternalMessageInfo
  4246. func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetTable() *BigQueryTable {
  4247. if m != nil {
  4248. return m.Table
  4249. }
  4250. return nil
  4251. }
  4252. func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetQuasiIds() []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField {
  4253. if m != nil {
  4254. return m.QuasiIds
  4255. }
  4256. return nil
  4257. }
  4258. func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetRelativeFrequency() *FieldId {
  4259. if m != nil {
  4260. return m.RelativeFrequency
  4261. }
  4262. return nil
  4263. }
  4264. // A quasi-identifier column has a custom_tag, used to know which column
  4265. // in the data corresponds to which column in the statistical model.
  4266. type PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField struct {
  4267. Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
  4268. CustomTag string `protobuf:"bytes,2,opt,name=custom_tag,json=customTag,proto3" json:"custom_tag,omitempty"`
  4269. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  4270. XXX_unrecognized []byte `json:"-"`
  4271. XXX_sizecache int32 `json:"-"`
  4272. }
  4273. func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) Reset() {
  4274. *m = PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField{}
  4275. }
  4276. func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) String() string {
  4277. return proto.CompactTextString(m)
  4278. }
  4279. func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) ProtoMessage() {}
  4280. func (*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) Descriptor() ([]byte, []int) {
  4281. return fileDescriptor_dlp_9184f835f60c3220, []int{36, 4, 1, 0}
  4282. }
  4283. func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_Unmarshal(b []byte) error {
  4284. return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField.Unmarshal(m, b)
  4285. }
  4286. func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4287. return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField.Marshal(b, m, deterministic)
  4288. }
  4289. func (dst *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_Merge(src proto.Message) {
  4290. xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField.Merge(dst, src)
  4291. }
  4292. func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_Size() int {
  4293. return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField.Size(m)
  4294. }
  4295. func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_DiscardUnknown() {
  4296. xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField.DiscardUnknown(m)
  4297. }
  4298. var xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField proto.InternalMessageInfo
  4299. func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) GetField() *FieldId {
  4300. if m != nil {
  4301. return m.Field
  4302. }
  4303. return nil
  4304. }
  4305. func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) GetCustomTag() string {
  4306. if m != nil {
  4307. return m.CustomTag
  4308. }
  4309. return ""
  4310. }
  4311. // δ-presence metric, used to estimate how likely it is for an attacker to
  4312. // figure out that one given individual appears in a de-identified dataset.
  4313. // Similarly to the k-map metric, we cannot compute δ-presence exactly without
  4314. // knowing the attack dataset, so we use a statistical model instead.
  4315. type PrivacyMetric_DeltaPresenceEstimationConfig struct {
  4316. // Fields considered to be quasi-identifiers. No two fields can have the
  4317. // same tag. [required]
  4318. QuasiIds []*QuasiId `protobuf:"bytes,1,rep,name=quasi_ids,json=quasiIds,proto3" json:"quasi_ids,omitempty"`
  4319. // ISO 3166-1 alpha-2 region code to use in the statistical modeling.
  4320. // Required if no column is tagged with a region-specific InfoType (like
  4321. // US_ZIP_5) or a region code.
  4322. RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
  4323. // Several auxiliary tables can be used in the analysis. Each custom_tag
  4324. // used to tag a quasi-identifiers field must appear in exactly one
  4325. // field of one auxiliary table.
  4326. AuxiliaryTables []*StatisticalTable `protobuf:"bytes,3,rep,name=auxiliary_tables,json=auxiliaryTables,proto3" json:"auxiliary_tables,omitempty"`
  4327. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  4328. XXX_unrecognized []byte `json:"-"`
  4329. XXX_sizecache int32 `json:"-"`
  4330. }
  4331. func (m *PrivacyMetric_DeltaPresenceEstimationConfig) Reset() {
  4332. *m = PrivacyMetric_DeltaPresenceEstimationConfig{}
  4333. }
  4334. func (m *PrivacyMetric_DeltaPresenceEstimationConfig) String() string {
  4335. return proto.CompactTextString(m)
  4336. }
  4337. func (*PrivacyMetric_DeltaPresenceEstimationConfig) ProtoMessage() {}
  4338. func (*PrivacyMetric_DeltaPresenceEstimationConfig) Descriptor() ([]byte, []int) {
  4339. return fileDescriptor_dlp_9184f835f60c3220, []int{36, 5}
  4340. }
  4341. func (m *PrivacyMetric_DeltaPresenceEstimationConfig) XXX_Unmarshal(b []byte) error {
  4342. return xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig.Unmarshal(m, b)
  4343. }
  4344. func (m *PrivacyMetric_DeltaPresenceEstimationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4345. return xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig.Marshal(b, m, deterministic)
  4346. }
  4347. func (dst *PrivacyMetric_DeltaPresenceEstimationConfig) XXX_Merge(src proto.Message) {
  4348. xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig.Merge(dst, src)
  4349. }
  4350. func (m *PrivacyMetric_DeltaPresenceEstimationConfig) XXX_Size() int {
  4351. return xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig.Size(m)
  4352. }
  4353. func (m *PrivacyMetric_DeltaPresenceEstimationConfig) XXX_DiscardUnknown() {
  4354. xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig.DiscardUnknown(m)
  4355. }
  4356. var xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig proto.InternalMessageInfo
  4357. func (m *PrivacyMetric_DeltaPresenceEstimationConfig) GetQuasiIds() []*QuasiId {
  4358. if m != nil {
  4359. return m.QuasiIds
  4360. }
  4361. return nil
  4362. }
  4363. func (m *PrivacyMetric_DeltaPresenceEstimationConfig) GetRegionCode() string {
  4364. if m != nil {
  4365. return m.RegionCode
  4366. }
  4367. return ""
  4368. }
  4369. func (m *PrivacyMetric_DeltaPresenceEstimationConfig) GetAuxiliaryTables() []*StatisticalTable {
  4370. if m != nil {
  4371. return m.AuxiliaryTables
  4372. }
  4373. return nil
  4374. }
  4375. // Result of a risk analysis operation request.
  4376. type AnalyzeDataSourceRiskDetails struct {
  4377. // Privacy metric to compute.
  4378. RequestedPrivacyMetric *PrivacyMetric `protobuf:"bytes,1,opt,name=requested_privacy_metric,json=requestedPrivacyMetric,proto3" json:"requested_privacy_metric,omitempty"`
  4379. // Input dataset to compute metrics over.
  4380. RequestedSourceTable *BigQueryTable `protobuf:"bytes,2,opt,name=requested_source_table,json=requestedSourceTable,proto3" json:"requested_source_table,omitempty"`
  4381. // Values associated with this metric.
  4382. //
  4383. // Types that are valid to be assigned to Result:
  4384. // *AnalyzeDataSourceRiskDetails_NumericalStatsResult_
  4385. // *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_
  4386. // *AnalyzeDataSourceRiskDetails_KAnonymityResult_
  4387. // *AnalyzeDataSourceRiskDetails_LDiversityResult_
  4388. // *AnalyzeDataSourceRiskDetails_KMapEstimationResult_
  4389. // *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_
  4390. Result isAnalyzeDataSourceRiskDetails_Result `protobuf_oneof:"result"`
  4391. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  4392. XXX_unrecognized []byte `json:"-"`
  4393. XXX_sizecache int32 `json:"-"`
  4394. }
  4395. func (m *AnalyzeDataSourceRiskDetails) Reset() { *m = AnalyzeDataSourceRiskDetails{} }
  4396. func (m *AnalyzeDataSourceRiskDetails) String() string { return proto.CompactTextString(m) }
  4397. func (*AnalyzeDataSourceRiskDetails) ProtoMessage() {}
  4398. func (*AnalyzeDataSourceRiskDetails) Descriptor() ([]byte, []int) {
  4399. return fileDescriptor_dlp_9184f835f60c3220, []int{37}
  4400. }
  4401. func (m *AnalyzeDataSourceRiskDetails) XXX_Unmarshal(b []byte) error {
  4402. return xxx_messageInfo_AnalyzeDataSourceRiskDetails.Unmarshal(m, b)
  4403. }
  4404. func (m *AnalyzeDataSourceRiskDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4405. return xxx_messageInfo_AnalyzeDataSourceRiskDetails.Marshal(b, m, deterministic)
  4406. }
  4407. func (dst *AnalyzeDataSourceRiskDetails) XXX_Merge(src proto.Message) {
  4408. xxx_messageInfo_AnalyzeDataSourceRiskDetails.Merge(dst, src)
  4409. }
  4410. func (m *AnalyzeDataSourceRiskDetails) XXX_Size() int {
  4411. return xxx_messageInfo_AnalyzeDataSourceRiskDetails.Size(m)
  4412. }
  4413. func (m *AnalyzeDataSourceRiskDetails) XXX_DiscardUnknown() {
  4414. xxx_messageInfo_AnalyzeDataSourceRiskDetails.DiscardUnknown(m)
  4415. }
  4416. var xxx_messageInfo_AnalyzeDataSourceRiskDetails proto.InternalMessageInfo
  4417. func (m *AnalyzeDataSourceRiskDetails) GetRequestedPrivacyMetric() *PrivacyMetric {
  4418. if m != nil {
  4419. return m.RequestedPrivacyMetric
  4420. }
  4421. return nil
  4422. }
  4423. func (m *AnalyzeDataSourceRiskDetails) GetRequestedSourceTable() *BigQueryTable {
  4424. if m != nil {
  4425. return m.RequestedSourceTable
  4426. }
  4427. return nil
  4428. }
  4429. type isAnalyzeDataSourceRiskDetails_Result interface {
  4430. isAnalyzeDataSourceRiskDetails_Result()
  4431. }
  4432. type AnalyzeDataSourceRiskDetails_NumericalStatsResult_ struct {
  4433. NumericalStatsResult *AnalyzeDataSourceRiskDetails_NumericalStatsResult `protobuf:"bytes,3,opt,name=numerical_stats_result,json=numericalStatsResult,proto3,oneof"`
  4434. }
  4435. type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_ struct {
  4436. CategoricalStatsResult *AnalyzeDataSourceRiskDetails_CategoricalStatsResult `protobuf:"bytes,4,opt,name=categorical_stats_result,json=categoricalStatsResult,proto3,oneof"`
  4437. }
  4438. type AnalyzeDataSourceRiskDetails_KAnonymityResult_ struct {
  4439. KAnonymityResult *AnalyzeDataSourceRiskDetails_KAnonymityResult `protobuf:"bytes,5,opt,name=k_anonymity_result,json=kAnonymityResult,proto3,oneof"`
  4440. }
  4441. type AnalyzeDataSourceRiskDetails_LDiversityResult_ struct {
  4442. LDiversityResult *AnalyzeDataSourceRiskDetails_LDiversityResult `protobuf:"bytes,6,opt,name=l_diversity_result,json=lDiversityResult,proto3,oneof"`
  4443. }
  4444. type AnalyzeDataSourceRiskDetails_KMapEstimationResult_ struct {
  4445. KMapEstimationResult *AnalyzeDataSourceRiskDetails_KMapEstimationResult `protobuf:"bytes,7,opt,name=k_map_estimation_result,json=kMapEstimationResult,proto3,oneof"`
  4446. }
  4447. type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_ struct {
  4448. DeltaPresenceEstimationResult *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult `protobuf:"bytes,9,opt,name=delta_presence_estimation_result,json=deltaPresenceEstimationResult,proto3,oneof"`
  4449. }
  4450. func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult_) isAnalyzeDataSourceRiskDetails_Result() {}
  4451. func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_) isAnalyzeDataSourceRiskDetails_Result() {}
  4452. func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_) isAnalyzeDataSourceRiskDetails_Result() {}
  4453. func (*AnalyzeDataSourceRiskDetails_LDiversityResult_) isAnalyzeDataSourceRiskDetails_Result() {}
  4454. func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_) isAnalyzeDataSourceRiskDetails_Result() {}
  4455. func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_) isAnalyzeDataSourceRiskDetails_Result() {
  4456. }
  4457. func (m *AnalyzeDataSourceRiskDetails) GetResult() isAnalyzeDataSourceRiskDetails_Result {
  4458. if m != nil {
  4459. return m.Result
  4460. }
  4461. return nil
  4462. }
  4463. func (m *AnalyzeDataSourceRiskDetails) GetNumericalStatsResult() *AnalyzeDataSourceRiskDetails_NumericalStatsResult {
  4464. if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_NumericalStatsResult_); ok {
  4465. return x.NumericalStatsResult
  4466. }
  4467. return nil
  4468. }
  4469. func (m *AnalyzeDataSourceRiskDetails) GetCategoricalStatsResult() *AnalyzeDataSourceRiskDetails_CategoricalStatsResult {
  4470. if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_); ok {
  4471. return x.CategoricalStatsResult
  4472. }
  4473. return nil
  4474. }
  4475. func (m *AnalyzeDataSourceRiskDetails) GetKAnonymityResult() *AnalyzeDataSourceRiskDetails_KAnonymityResult {
  4476. if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_KAnonymityResult_); ok {
  4477. return x.KAnonymityResult
  4478. }
  4479. return nil
  4480. }
  4481. func (m *AnalyzeDataSourceRiskDetails) GetLDiversityResult() *AnalyzeDataSourceRiskDetails_LDiversityResult {
  4482. if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_LDiversityResult_); ok {
  4483. return x.LDiversityResult
  4484. }
  4485. return nil
  4486. }
  4487. func (m *AnalyzeDataSourceRiskDetails) GetKMapEstimationResult() *AnalyzeDataSourceRiskDetails_KMapEstimationResult {
  4488. if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_KMapEstimationResult_); ok {
  4489. return x.KMapEstimationResult
  4490. }
  4491. return nil
  4492. }
  4493. func (m *AnalyzeDataSourceRiskDetails) GetDeltaPresenceEstimationResult() *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult {
  4494. if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_); ok {
  4495. return x.DeltaPresenceEstimationResult
  4496. }
  4497. return nil
  4498. }
  4499. // XXX_OneofFuncs is for the internal use of the proto package.
  4500. func (*AnalyzeDataSourceRiskDetails) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  4501. return _AnalyzeDataSourceRiskDetails_OneofMarshaler, _AnalyzeDataSourceRiskDetails_OneofUnmarshaler, _AnalyzeDataSourceRiskDetails_OneofSizer, []interface{}{
  4502. (*AnalyzeDataSourceRiskDetails_NumericalStatsResult_)(nil),
  4503. (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_)(nil),
  4504. (*AnalyzeDataSourceRiskDetails_KAnonymityResult_)(nil),
  4505. (*AnalyzeDataSourceRiskDetails_LDiversityResult_)(nil),
  4506. (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_)(nil),
  4507. (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_)(nil),
  4508. }
  4509. }
  4510. func _AnalyzeDataSourceRiskDetails_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  4511. m := msg.(*AnalyzeDataSourceRiskDetails)
  4512. // result
  4513. switch x := m.Result.(type) {
  4514. case *AnalyzeDataSourceRiskDetails_NumericalStatsResult_:
  4515. b.EncodeVarint(3<<3 | proto.WireBytes)
  4516. if err := b.EncodeMessage(x.NumericalStatsResult); err != nil {
  4517. return err
  4518. }
  4519. case *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_:
  4520. b.EncodeVarint(4<<3 | proto.WireBytes)
  4521. if err := b.EncodeMessage(x.CategoricalStatsResult); err != nil {
  4522. return err
  4523. }
  4524. case *AnalyzeDataSourceRiskDetails_KAnonymityResult_:
  4525. b.EncodeVarint(5<<3 | proto.WireBytes)
  4526. if err := b.EncodeMessage(x.KAnonymityResult); err != nil {
  4527. return err
  4528. }
  4529. case *AnalyzeDataSourceRiskDetails_LDiversityResult_:
  4530. b.EncodeVarint(6<<3 | proto.WireBytes)
  4531. if err := b.EncodeMessage(x.LDiversityResult); err != nil {
  4532. return err
  4533. }
  4534. case *AnalyzeDataSourceRiskDetails_KMapEstimationResult_:
  4535. b.EncodeVarint(7<<3 | proto.WireBytes)
  4536. if err := b.EncodeMessage(x.KMapEstimationResult); err != nil {
  4537. return err
  4538. }
  4539. case *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_:
  4540. b.EncodeVarint(9<<3 | proto.WireBytes)
  4541. if err := b.EncodeMessage(x.DeltaPresenceEstimationResult); err != nil {
  4542. return err
  4543. }
  4544. case nil:
  4545. default:
  4546. return fmt.Errorf("AnalyzeDataSourceRiskDetails.Result has unexpected type %T", x)
  4547. }
  4548. return nil
  4549. }
  4550. func _AnalyzeDataSourceRiskDetails_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  4551. m := msg.(*AnalyzeDataSourceRiskDetails)
  4552. switch tag {
  4553. case 3: // result.numerical_stats_result
  4554. if wire != proto.WireBytes {
  4555. return true, proto.ErrInternalBadWireType
  4556. }
  4557. msg := new(AnalyzeDataSourceRiskDetails_NumericalStatsResult)
  4558. err := b.DecodeMessage(msg)
  4559. m.Result = &AnalyzeDataSourceRiskDetails_NumericalStatsResult_{msg}
  4560. return true, err
  4561. case 4: // result.categorical_stats_result
  4562. if wire != proto.WireBytes {
  4563. return true, proto.ErrInternalBadWireType
  4564. }
  4565. msg := new(AnalyzeDataSourceRiskDetails_CategoricalStatsResult)
  4566. err := b.DecodeMessage(msg)
  4567. m.Result = &AnalyzeDataSourceRiskDetails_CategoricalStatsResult_{msg}
  4568. return true, err
  4569. case 5: // result.k_anonymity_result
  4570. if wire != proto.WireBytes {
  4571. return true, proto.ErrInternalBadWireType
  4572. }
  4573. msg := new(AnalyzeDataSourceRiskDetails_KAnonymityResult)
  4574. err := b.DecodeMessage(msg)
  4575. m.Result = &AnalyzeDataSourceRiskDetails_KAnonymityResult_{msg}
  4576. return true, err
  4577. case 6: // result.l_diversity_result
  4578. if wire != proto.WireBytes {
  4579. return true, proto.ErrInternalBadWireType
  4580. }
  4581. msg := new(AnalyzeDataSourceRiskDetails_LDiversityResult)
  4582. err := b.DecodeMessage(msg)
  4583. m.Result = &AnalyzeDataSourceRiskDetails_LDiversityResult_{msg}
  4584. return true, err
  4585. case 7: // result.k_map_estimation_result
  4586. if wire != proto.WireBytes {
  4587. return true, proto.ErrInternalBadWireType
  4588. }
  4589. msg := new(AnalyzeDataSourceRiskDetails_KMapEstimationResult)
  4590. err := b.DecodeMessage(msg)
  4591. m.Result = &AnalyzeDataSourceRiskDetails_KMapEstimationResult_{msg}
  4592. return true, err
  4593. case 9: // result.delta_presence_estimation_result
  4594. if wire != proto.WireBytes {
  4595. return true, proto.ErrInternalBadWireType
  4596. }
  4597. msg := new(AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult)
  4598. err := b.DecodeMessage(msg)
  4599. m.Result = &AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_{msg}
  4600. return true, err
  4601. default:
  4602. return false, nil
  4603. }
  4604. }
  4605. func _AnalyzeDataSourceRiskDetails_OneofSizer(msg proto.Message) (n int) {
  4606. m := msg.(*AnalyzeDataSourceRiskDetails)
  4607. // result
  4608. switch x := m.Result.(type) {
  4609. case *AnalyzeDataSourceRiskDetails_NumericalStatsResult_:
  4610. s := proto.Size(x.NumericalStatsResult)
  4611. n += 1 // tag and wire
  4612. n += proto.SizeVarint(uint64(s))
  4613. n += s
  4614. case *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_:
  4615. s := proto.Size(x.CategoricalStatsResult)
  4616. n += 1 // tag and wire
  4617. n += proto.SizeVarint(uint64(s))
  4618. n += s
  4619. case *AnalyzeDataSourceRiskDetails_KAnonymityResult_:
  4620. s := proto.Size(x.KAnonymityResult)
  4621. n += 1 // tag and wire
  4622. n += proto.SizeVarint(uint64(s))
  4623. n += s
  4624. case *AnalyzeDataSourceRiskDetails_LDiversityResult_:
  4625. s := proto.Size(x.LDiversityResult)
  4626. n += 1 // tag and wire
  4627. n += proto.SizeVarint(uint64(s))
  4628. n += s
  4629. case *AnalyzeDataSourceRiskDetails_KMapEstimationResult_:
  4630. s := proto.Size(x.KMapEstimationResult)
  4631. n += 1 // tag and wire
  4632. n += proto.SizeVarint(uint64(s))
  4633. n += s
  4634. case *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_:
  4635. s := proto.Size(x.DeltaPresenceEstimationResult)
  4636. n += 1 // tag and wire
  4637. n += proto.SizeVarint(uint64(s))
  4638. n += s
  4639. case nil:
  4640. default:
  4641. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  4642. }
  4643. return n
  4644. }
  4645. // Result of the numerical stats computation.
  4646. type AnalyzeDataSourceRiskDetails_NumericalStatsResult struct {
  4647. // Minimum value appearing in the column.
  4648. MinValue *Value `protobuf:"bytes,1,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"`
  4649. // Maximum value appearing in the column.
  4650. MaxValue *Value `protobuf:"bytes,2,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"`
  4651. // List of 99 values that partition the set of field values into 100 equal
  4652. // sized buckets.
  4653. QuantileValues []*Value `protobuf:"bytes,4,rep,name=quantile_values,json=quantileValues,proto3" json:"quantile_values,omitempty"`
  4654. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  4655. XXX_unrecognized []byte `json:"-"`
  4656. XXX_sizecache int32 `json:"-"`
  4657. }
  4658. func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) Reset() {
  4659. *m = AnalyzeDataSourceRiskDetails_NumericalStatsResult{}
  4660. }
  4661. func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) String() string {
  4662. return proto.CompactTextString(m)
  4663. }
  4664. func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) ProtoMessage() {}
  4665. func (*AnalyzeDataSourceRiskDetails_NumericalStatsResult) Descriptor() ([]byte, []int) {
  4666. return fileDescriptor_dlp_9184f835f60c3220, []int{37, 0}
  4667. }
  4668. func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Unmarshal(b []byte) error {
  4669. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult.Unmarshal(m, b)
  4670. }
  4671. func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4672. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult.Marshal(b, m, deterministic)
  4673. }
  4674. func (dst *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Merge(src proto.Message) {
  4675. xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult.Merge(dst, src)
  4676. }
  4677. func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Size() int {
  4678. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult.Size(m)
  4679. }
  4680. func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_DiscardUnknown() {
  4681. xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult.DiscardUnknown(m)
  4682. }
  4683. var xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult proto.InternalMessageInfo
  4684. func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMinValue() *Value {
  4685. if m != nil {
  4686. return m.MinValue
  4687. }
  4688. return nil
  4689. }
  4690. func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMaxValue() *Value {
  4691. if m != nil {
  4692. return m.MaxValue
  4693. }
  4694. return nil
  4695. }
  4696. func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetQuantileValues() []*Value {
  4697. if m != nil {
  4698. return m.QuantileValues
  4699. }
  4700. return nil
  4701. }
  4702. // Result of the categorical stats computation.
  4703. type AnalyzeDataSourceRiskDetails_CategoricalStatsResult struct {
  4704. // Histogram of value frequencies in the column.
  4705. ValueFrequencyHistogramBuckets []*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket `protobuf:"bytes,5,rep,name=value_frequency_histogram_buckets,json=valueFrequencyHistogramBuckets,proto3" json:"value_frequency_histogram_buckets,omitempty"`
  4706. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  4707. XXX_unrecognized []byte `json:"-"`
  4708. XXX_sizecache int32 `json:"-"`
  4709. }
  4710. func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Reset() {
  4711. *m = AnalyzeDataSourceRiskDetails_CategoricalStatsResult{}
  4712. }
  4713. func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) String() string {
  4714. return proto.CompactTextString(m)
  4715. }
  4716. func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) ProtoMessage() {}
  4717. func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult) Descriptor() ([]byte, []int) {
  4718. return fileDescriptor_dlp_9184f835f60c3220, []int{37, 1}
  4719. }
  4720. func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Unmarshal(b []byte) error {
  4721. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult.Unmarshal(m, b)
  4722. }
  4723. func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4724. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult.Marshal(b, m, deterministic)
  4725. }
  4726. func (dst *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Merge(src proto.Message) {
  4727. xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult.Merge(dst, src)
  4728. }
  4729. func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Size() int {
  4730. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult.Size(m)
  4731. }
  4732. func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_DiscardUnknown() {
  4733. xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult.DiscardUnknown(m)
  4734. }
  4735. var xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult proto.InternalMessageInfo
  4736. func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) GetValueFrequencyHistogramBuckets() []*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket {
  4737. if m != nil {
  4738. return m.ValueFrequencyHistogramBuckets
  4739. }
  4740. return nil
  4741. }
  4742. type AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket struct {
  4743. // Lower bound on the value frequency of the values in this bucket.
  4744. ValueFrequencyLowerBound int64 `protobuf:"varint,1,opt,name=value_frequency_lower_bound,json=valueFrequencyLowerBound,proto3" json:"value_frequency_lower_bound,omitempty"`
  4745. // Upper bound on the value frequency of the values in this bucket.
  4746. ValueFrequencyUpperBound int64 `protobuf:"varint,2,opt,name=value_frequency_upper_bound,json=valueFrequencyUpperBound,proto3" json:"value_frequency_upper_bound,omitempty"`
  4747. // Total number of values in this bucket.
  4748. BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"`
  4749. // Sample of value frequencies in this bucket. The total number of
  4750. // values returned per bucket is capped at 20.
  4751. BucketValues []*ValueFrequency `protobuf:"bytes,4,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"`
  4752. // Total number of distinct values in this bucket.
  4753. BucketValueCount int64 `protobuf:"varint,5,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"`
  4754. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  4755. XXX_unrecognized []byte `json:"-"`
  4756. XXX_sizecache int32 `json:"-"`
  4757. }
  4758. func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Reset() {
  4759. *m = AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket{}
  4760. }
  4761. func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) String() string {
  4762. return proto.CompactTextString(m)
  4763. }
  4764. func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) ProtoMessage() {
  4765. }
  4766. func (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) Descriptor() ([]byte, []int) {
  4767. return fileDescriptor_dlp_9184f835f60c3220, []int{37, 1, 0}
  4768. }
  4769. func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Unmarshal(b []byte) error {
  4770. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket.Unmarshal(m, b)
  4771. }
  4772. func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4773. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket.Marshal(b, m, deterministic)
  4774. }
  4775. func (dst *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Merge(src proto.Message) {
  4776. xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket.Merge(dst, src)
  4777. }
  4778. func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Size() int {
  4779. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket.Size(m)
  4780. }
  4781. func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_DiscardUnknown() {
  4782. xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket.DiscardUnknown(m)
  4783. }
  4784. var xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket proto.InternalMessageInfo
  4785. func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyLowerBound() int64 {
  4786. if m != nil {
  4787. return m.ValueFrequencyLowerBound
  4788. }
  4789. return 0
  4790. }
  4791. func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyUpperBound() int64 {
  4792. if m != nil {
  4793. return m.ValueFrequencyUpperBound
  4794. }
  4795. return 0
  4796. }
  4797. func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketSize() int64 {
  4798. if m != nil {
  4799. return m.BucketSize
  4800. }
  4801. return 0
  4802. }
  4803. func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValues() []*ValueFrequency {
  4804. if m != nil {
  4805. return m.BucketValues
  4806. }
  4807. return nil
  4808. }
  4809. func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValueCount() int64 {
  4810. if m != nil {
  4811. return m.BucketValueCount
  4812. }
  4813. return 0
  4814. }
  4815. // Result of the k-anonymity computation.
  4816. type AnalyzeDataSourceRiskDetails_KAnonymityResult struct {
  4817. // Histogram of k-anonymity equivalence classes.
  4818. EquivalenceClassHistogramBuckets []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket `protobuf:"bytes,5,rep,name=equivalence_class_histogram_buckets,json=equivalenceClassHistogramBuckets,proto3" json:"equivalence_class_histogram_buckets,omitempty"`
  4819. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  4820. XXX_unrecognized []byte `json:"-"`
  4821. XXX_sizecache int32 `json:"-"`
  4822. }
  4823. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) Reset() {
  4824. *m = AnalyzeDataSourceRiskDetails_KAnonymityResult{}
  4825. }
  4826. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) String() string {
  4827. return proto.CompactTextString(m)
  4828. }
  4829. func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) ProtoMessage() {}
  4830. func (*AnalyzeDataSourceRiskDetails_KAnonymityResult) Descriptor() ([]byte, []int) {
  4831. return fileDescriptor_dlp_9184f835f60c3220, []int{37, 2}
  4832. }
  4833. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Unmarshal(b []byte) error {
  4834. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult.Unmarshal(m, b)
  4835. }
  4836. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4837. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult.Marshal(b, m, deterministic)
  4838. }
  4839. func (dst *AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Merge(src proto.Message) {
  4840. xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult.Merge(dst, src)
  4841. }
  4842. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Size() int {
  4843. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult.Size(m)
  4844. }
  4845. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_DiscardUnknown() {
  4846. xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult.DiscardUnknown(m)
  4847. }
  4848. var xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult proto.InternalMessageInfo
  4849. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) GetEquivalenceClassHistogramBuckets() []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket {
  4850. if m != nil {
  4851. return m.EquivalenceClassHistogramBuckets
  4852. }
  4853. return nil
  4854. }
  4855. // The set of columns' values that share the same ldiversity value
  4856. type AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass struct {
  4857. // Set of values defining the equivalence class. One value per
  4858. // quasi-identifier column in the original KAnonymity metric message.
  4859. // The order is always the same as the original request.
  4860. QuasiIdsValues []*Value `protobuf:"bytes,1,rep,name=quasi_ids_values,json=quasiIdsValues,proto3" json:"quasi_ids_values,omitempty"`
  4861. // Size of the equivalence class, for example number of rows with the
  4862. // above set of values.
  4863. EquivalenceClassSize int64 `protobuf:"varint,2,opt,name=equivalence_class_size,json=equivalenceClassSize,proto3" json:"equivalence_class_size,omitempty"`
  4864. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  4865. XXX_unrecognized []byte `json:"-"`
  4866. XXX_sizecache int32 `json:"-"`
  4867. }
  4868. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Reset() {
  4869. *m = AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass{}
  4870. }
  4871. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) String() string {
  4872. return proto.CompactTextString(m)
  4873. }
  4874. func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) ProtoMessage() {}
  4875. func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Descriptor() ([]byte, []int) {
  4876. return fileDescriptor_dlp_9184f835f60c3220, []int{37, 2, 0}
  4877. }
  4878. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_Unmarshal(b []byte) error {
  4879. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass.Unmarshal(m, b)
  4880. }
  4881. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4882. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass.Marshal(b, m, deterministic)
  4883. }
  4884. func (dst *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_Merge(src proto.Message) {
  4885. xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass.Merge(dst, src)
  4886. }
  4887. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_Size() int {
  4888. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass.Size(m)
  4889. }
  4890. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_DiscardUnknown() {
  4891. xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass.DiscardUnknown(m)
  4892. }
  4893. var xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass proto.InternalMessageInfo
  4894. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetQuasiIdsValues() []*Value {
  4895. if m != nil {
  4896. return m.QuasiIdsValues
  4897. }
  4898. return nil
  4899. }
  4900. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetEquivalenceClassSize() int64 {
  4901. if m != nil {
  4902. return m.EquivalenceClassSize
  4903. }
  4904. return 0
  4905. }
  4906. type AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket struct {
  4907. // Lower bound on the size of the equivalence classes in this bucket.
  4908. EquivalenceClassSizeLowerBound int64 `protobuf:"varint,1,opt,name=equivalence_class_size_lower_bound,json=equivalenceClassSizeLowerBound,proto3" json:"equivalence_class_size_lower_bound,omitempty"`
  4909. // Upper bound on the size of the equivalence classes in this bucket.
  4910. EquivalenceClassSizeUpperBound int64 `protobuf:"varint,2,opt,name=equivalence_class_size_upper_bound,json=equivalenceClassSizeUpperBound,proto3" json:"equivalence_class_size_upper_bound,omitempty"`
  4911. // Total number of equivalence classes in this bucket.
  4912. BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"`
  4913. // Sample of equivalence classes in this bucket. The total number of
  4914. // classes returned per bucket is capped at 20.
  4915. BucketValues []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass `protobuf:"bytes,4,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"`
  4916. // Total number of distinct equivalence classes in this bucket.
  4917. BucketValueCount int64 `protobuf:"varint,5,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"`
  4918. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  4919. XXX_unrecognized []byte `json:"-"`
  4920. XXX_sizecache int32 `json:"-"`
  4921. }
  4922. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Reset() {
  4923. *m = AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket{}
  4924. }
  4925. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) String() string {
  4926. return proto.CompactTextString(m)
  4927. }
  4928. func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoMessage() {}
  4929. func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Descriptor() ([]byte, []int) {
  4930. return fileDescriptor_dlp_9184f835f60c3220, []int{37, 2, 1}
  4931. }
  4932. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Unmarshal(b []byte) error {
  4933. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket.Unmarshal(m, b)
  4934. }
  4935. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4936. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket.Marshal(b, m, deterministic)
  4937. }
  4938. func (dst *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Merge(src proto.Message) {
  4939. xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket.Merge(dst, src)
  4940. }
  4941. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Size() int {
  4942. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket.Size(m)
  4943. }
  4944. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_DiscardUnknown() {
  4945. xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket.DiscardUnknown(m)
  4946. }
  4947. var xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket proto.InternalMessageInfo
  4948. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeLowerBound() int64 {
  4949. if m != nil {
  4950. return m.EquivalenceClassSizeLowerBound
  4951. }
  4952. return 0
  4953. }
  4954. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeUpperBound() int64 {
  4955. if m != nil {
  4956. return m.EquivalenceClassSizeUpperBound
  4957. }
  4958. return 0
  4959. }
  4960. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketSize() int64 {
  4961. if m != nil {
  4962. return m.BucketSize
  4963. }
  4964. return 0
  4965. }
  4966. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass {
  4967. if m != nil {
  4968. return m.BucketValues
  4969. }
  4970. return nil
  4971. }
  4972. func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValueCount() int64 {
  4973. if m != nil {
  4974. return m.BucketValueCount
  4975. }
  4976. return 0
  4977. }
  4978. // Result of the l-diversity computation.
  4979. type AnalyzeDataSourceRiskDetails_LDiversityResult struct {
  4980. // Histogram of l-diversity equivalence class sensitive value frequencies.
  4981. SensitiveValueFrequencyHistogramBuckets []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket `protobuf:"bytes,5,rep,name=sensitive_value_frequency_histogram_buckets,json=sensitiveValueFrequencyHistogramBuckets,proto3" json:"sensitive_value_frequency_histogram_buckets,omitempty"`
  4982. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  4983. XXX_unrecognized []byte `json:"-"`
  4984. XXX_sizecache int32 `json:"-"`
  4985. }
  4986. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) Reset() {
  4987. *m = AnalyzeDataSourceRiskDetails_LDiversityResult{}
  4988. }
  4989. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) String() string {
  4990. return proto.CompactTextString(m)
  4991. }
  4992. func (*AnalyzeDataSourceRiskDetails_LDiversityResult) ProtoMessage() {}
  4993. func (*AnalyzeDataSourceRiskDetails_LDiversityResult) Descriptor() ([]byte, []int) {
  4994. return fileDescriptor_dlp_9184f835f60c3220, []int{37, 3}
  4995. }
  4996. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Unmarshal(b []byte) error {
  4997. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult.Unmarshal(m, b)
  4998. }
  4999. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5000. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult.Marshal(b, m, deterministic)
  5001. }
  5002. func (dst *AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Merge(src proto.Message) {
  5003. xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult.Merge(dst, src)
  5004. }
  5005. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Size() int {
  5006. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult.Size(m)
  5007. }
  5008. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_DiscardUnknown() {
  5009. xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult.DiscardUnknown(m)
  5010. }
  5011. var xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult proto.InternalMessageInfo
  5012. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) GetSensitiveValueFrequencyHistogramBuckets() []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket {
  5013. if m != nil {
  5014. return m.SensitiveValueFrequencyHistogramBuckets
  5015. }
  5016. return nil
  5017. }
  5018. // The set of columns' values that share the same ldiversity value.
  5019. type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass struct {
  5020. // Quasi-identifier values defining the k-anonymity equivalence
  5021. // class. The order is always the same as the original request.
  5022. QuasiIdsValues []*Value `protobuf:"bytes,1,rep,name=quasi_ids_values,json=quasiIdsValues,proto3" json:"quasi_ids_values,omitempty"`
  5023. // Size of the k-anonymity equivalence class.
  5024. EquivalenceClassSize int64 `protobuf:"varint,2,opt,name=equivalence_class_size,json=equivalenceClassSize,proto3" json:"equivalence_class_size,omitempty"`
  5025. // Number of distinct sensitive values in this equivalence class.
  5026. NumDistinctSensitiveValues int64 `protobuf:"varint,3,opt,name=num_distinct_sensitive_values,json=numDistinctSensitiveValues,proto3" json:"num_distinct_sensitive_values,omitempty"`
  5027. // Estimated frequencies of top sensitive values.
  5028. TopSensitiveValues []*ValueFrequency `protobuf:"bytes,4,rep,name=top_sensitive_values,json=topSensitiveValues,proto3" json:"top_sensitive_values,omitempty"`
  5029. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  5030. XXX_unrecognized []byte `json:"-"`
  5031. XXX_sizecache int32 `json:"-"`
  5032. }
  5033. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Reset() {
  5034. *m = AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass{}
  5035. }
  5036. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) String() string {
  5037. return proto.CompactTextString(m)
  5038. }
  5039. func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) ProtoMessage() {}
  5040. func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) Descriptor() ([]byte, []int) {
  5041. return fileDescriptor_dlp_9184f835f60c3220, []int{37, 3, 0}
  5042. }
  5043. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_Unmarshal(b []byte) error {
  5044. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass.Unmarshal(m, b)
  5045. }
  5046. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5047. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass.Marshal(b, m, deterministic)
  5048. }
  5049. func (dst *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_Merge(src proto.Message) {
  5050. xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass.Merge(dst, src)
  5051. }
  5052. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_Size() int {
  5053. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass.Size(m)
  5054. }
  5055. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_DiscardUnknown() {
  5056. xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass.DiscardUnknown(m)
  5057. }
  5058. var xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass proto.InternalMessageInfo
  5059. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetQuasiIdsValues() []*Value {
  5060. if m != nil {
  5061. return m.QuasiIdsValues
  5062. }
  5063. return nil
  5064. }
  5065. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetEquivalenceClassSize() int64 {
  5066. if m != nil {
  5067. return m.EquivalenceClassSize
  5068. }
  5069. return 0
  5070. }
  5071. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetNumDistinctSensitiveValues() int64 {
  5072. if m != nil {
  5073. return m.NumDistinctSensitiveValues
  5074. }
  5075. return 0
  5076. }
  5077. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetTopSensitiveValues() []*ValueFrequency {
  5078. if m != nil {
  5079. return m.TopSensitiveValues
  5080. }
  5081. return nil
  5082. }
  5083. type AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket struct {
  5084. // Lower bound on the sensitive value frequencies of the equivalence
  5085. // classes in this bucket.
  5086. SensitiveValueFrequencyLowerBound int64 `protobuf:"varint,1,opt,name=sensitive_value_frequency_lower_bound,json=sensitiveValueFrequencyLowerBound,proto3" json:"sensitive_value_frequency_lower_bound,omitempty"`
  5087. // Upper bound on the sensitive value frequencies of the equivalence
  5088. // classes in this bucket.
  5089. SensitiveValueFrequencyUpperBound int64 `protobuf:"varint,2,opt,name=sensitive_value_frequency_upper_bound,json=sensitiveValueFrequencyUpperBound,proto3" json:"sensitive_value_frequency_upper_bound,omitempty"`
  5090. // Total number of equivalence classes in this bucket.
  5091. BucketSize int64 `protobuf:"varint,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"`
  5092. // Sample of equivalence classes in this bucket. The total number of
  5093. // classes returned per bucket is capped at 20.
  5094. BucketValues []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass `protobuf:"bytes,4,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"`
  5095. // Total number of distinct equivalence classes in this bucket.
  5096. BucketValueCount int64 `protobuf:"varint,5,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"`
  5097. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  5098. XXX_unrecognized []byte `json:"-"`
  5099. XXX_sizecache int32 `json:"-"`
  5100. }
  5101. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Reset() {
  5102. *m = AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket{}
  5103. }
  5104. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) String() string {
  5105. return proto.CompactTextString(m)
  5106. }
  5107. func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) ProtoMessage() {}
  5108. func (*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) Descriptor() ([]byte, []int) {
  5109. return fileDescriptor_dlp_9184f835f60c3220, []int{37, 3, 1}
  5110. }
  5111. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_Unmarshal(b []byte) error {
  5112. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket.Unmarshal(m, b)
  5113. }
  5114. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5115. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket.Marshal(b, m, deterministic)
  5116. }
  5117. func (dst *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_Merge(src proto.Message) {
  5118. xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket.Merge(dst, src)
  5119. }
  5120. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_Size() int {
  5121. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket.Size(m)
  5122. }
  5123. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_DiscardUnknown() {
  5124. xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket.DiscardUnknown(m)
  5125. }
  5126. var xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket proto.InternalMessageInfo
  5127. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyLowerBound() int64 {
  5128. if m != nil {
  5129. return m.SensitiveValueFrequencyLowerBound
  5130. }
  5131. return 0
  5132. }
  5133. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetSensitiveValueFrequencyUpperBound() int64 {
  5134. if m != nil {
  5135. return m.SensitiveValueFrequencyUpperBound
  5136. }
  5137. return 0
  5138. }
  5139. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketSize() int64 {
  5140. if m != nil {
  5141. return m.BucketSize
  5142. }
  5143. return 0
  5144. }
  5145. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass {
  5146. if m != nil {
  5147. return m.BucketValues
  5148. }
  5149. return nil
  5150. }
  5151. func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) GetBucketValueCount() int64 {
  5152. if m != nil {
  5153. return m.BucketValueCount
  5154. }
  5155. return 0
  5156. }
  5157. // Result of the reidentifiability analysis. Note that these results are an
  5158. // estimation, not exact values.
  5159. type AnalyzeDataSourceRiskDetails_KMapEstimationResult struct {
  5160. // The intervals [min_anonymity, max_anonymity] do not overlap. If a value
  5161. // doesn't correspond to any such interval, the associated frequency is
  5162. // zero. For example, the following records:
  5163. // {min_anonymity: 1, max_anonymity: 1, frequency: 17}
  5164. // {min_anonymity: 2, max_anonymity: 3, frequency: 42}
  5165. // {min_anonymity: 5, max_anonymity: 10, frequency: 99}
  5166. // mean that there are no record with an estimated anonymity of 4, 5, or
  5167. // larger than 10.
  5168. KMapEstimationHistogram []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket `protobuf:"bytes,1,rep,name=k_map_estimation_histogram,json=kMapEstimationHistogram,proto3" json:"k_map_estimation_histogram,omitempty"`
  5169. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  5170. XXX_unrecognized []byte `json:"-"`
  5171. XXX_sizecache int32 `json:"-"`
  5172. }
  5173. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) Reset() {
  5174. *m = AnalyzeDataSourceRiskDetails_KMapEstimationResult{}
  5175. }
  5176. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) String() string {
  5177. return proto.CompactTextString(m)
  5178. }
  5179. func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) ProtoMessage() {}
  5180. func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult) Descriptor() ([]byte, []int) {
  5181. return fileDescriptor_dlp_9184f835f60c3220, []int{37, 4}
  5182. }
  5183. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Unmarshal(b []byte) error {
  5184. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult.Unmarshal(m, b)
  5185. }
  5186. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5187. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult.Marshal(b, m, deterministic)
  5188. }
  5189. func (dst *AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Merge(src proto.Message) {
  5190. xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult.Merge(dst, src)
  5191. }
  5192. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Size() int {
  5193. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult.Size(m)
  5194. }
  5195. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_DiscardUnknown() {
  5196. xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult.DiscardUnknown(m)
  5197. }
  5198. var xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult proto.InternalMessageInfo
  5199. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) GetKMapEstimationHistogram() []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket {
  5200. if m != nil {
  5201. return m.KMapEstimationHistogram
  5202. }
  5203. return nil
  5204. }
  5205. // A tuple of values for the quasi-identifier columns.
  5206. type AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues struct {
  5207. // The quasi-identifier values.
  5208. QuasiIdsValues []*Value `protobuf:"bytes,1,rep,name=quasi_ids_values,json=quasiIdsValues,proto3" json:"quasi_ids_values,omitempty"`
  5209. // The estimated anonymity for these quasi-identifier values.
  5210. EstimatedAnonymity int64 `protobuf:"varint,2,opt,name=estimated_anonymity,json=estimatedAnonymity,proto3" json:"estimated_anonymity,omitempty"`
  5211. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  5212. XXX_unrecognized []byte `json:"-"`
  5213. XXX_sizecache int32 `json:"-"`
  5214. }
  5215. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Reset() {
  5216. *m = AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues{}
  5217. }
  5218. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) String() string {
  5219. return proto.CompactTextString(m)
  5220. }
  5221. func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) ProtoMessage() {}
  5222. func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) Descriptor() ([]byte, []int) {
  5223. return fileDescriptor_dlp_9184f835f60c3220, []int{37, 4, 0}
  5224. }
  5225. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_Unmarshal(b []byte) error {
  5226. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues.Unmarshal(m, b)
  5227. }
  5228. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5229. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues.Marshal(b, m, deterministic)
  5230. }
  5231. func (dst *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_Merge(src proto.Message) {
  5232. xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues.Merge(dst, src)
  5233. }
  5234. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_Size() int {
  5235. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues.Size(m)
  5236. }
  5237. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_DiscardUnknown() {
  5238. xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues.DiscardUnknown(m)
  5239. }
  5240. var xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues proto.InternalMessageInfo
  5241. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetQuasiIdsValues() []*Value {
  5242. if m != nil {
  5243. return m.QuasiIdsValues
  5244. }
  5245. return nil
  5246. }
  5247. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) GetEstimatedAnonymity() int64 {
  5248. if m != nil {
  5249. return m.EstimatedAnonymity
  5250. }
  5251. return 0
  5252. }
  5253. // A KMapEstimationHistogramBucket message with the following values:
  5254. // min_anonymity: 3
  5255. // max_anonymity: 5
  5256. // frequency: 42
  5257. // means that there are 42 records whose quasi-identifier values correspond
  5258. // to 3, 4 or 5 people in the overlying population. An important particular
  5259. // case is when min_anonymity = max_anonymity = 1: the frequency field then
  5260. // corresponds to the number of uniquely identifiable records.
  5261. type AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket struct {
  5262. // Always positive.
  5263. MinAnonymity int64 `protobuf:"varint,1,opt,name=min_anonymity,json=minAnonymity,proto3" json:"min_anonymity,omitempty"`
  5264. // Always greater than or equal to min_anonymity.
  5265. MaxAnonymity int64 `protobuf:"varint,2,opt,name=max_anonymity,json=maxAnonymity,proto3" json:"max_anonymity,omitempty"`
  5266. // Number of records within these anonymity bounds.
  5267. BucketSize int64 `protobuf:"varint,5,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"`
  5268. // Sample of quasi-identifier tuple values in this bucket. The total
  5269. // number of classes returned per bucket is capped at 20.
  5270. BucketValues []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues `protobuf:"bytes,6,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"`
  5271. // Total number of distinct quasi-identifier tuple values in this bucket.
  5272. BucketValueCount int64 `protobuf:"varint,7,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"`
  5273. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  5274. XXX_unrecognized []byte `json:"-"`
  5275. XXX_sizecache int32 `json:"-"`
  5276. }
  5277. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Reset() {
  5278. *m = AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket{}
  5279. }
  5280. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) String() string {
  5281. return proto.CompactTextString(m)
  5282. }
  5283. func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) ProtoMessage() {
  5284. }
  5285. func (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) Descriptor() ([]byte, []int) {
  5286. return fileDescriptor_dlp_9184f835f60c3220, []int{37, 4, 1}
  5287. }
  5288. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_Unmarshal(b []byte) error {
  5289. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket.Unmarshal(m, b)
  5290. }
  5291. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5292. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket.Marshal(b, m, deterministic)
  5293. }
  5294. func (dst *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_Merge(src proto.Message) {
  5295. xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket.Merge(dst, src)
  5296. }
  5297. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_Size() int {
  5298. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket.Size(m)
  5299. }
  5300. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_DiscardUnknown() {
  5301. xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket.DiscardUnknown(m)
  5302. }
  5303. var xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket proto.InternalMessageInfo
  5304. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMinAnonymity() int64 {
  5305. if m != nil {
  5306. return m.MinAnonymity
  5307. }
  5308. return 0
  5309. }
  5310. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetMaxAnonymity() int64 {
  5311. if m != nil {
  5312. return m.MaxAnonymity
  5313. }
  5314. return 0
  5315. }
  5316. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketSize() int64 {
  5317. if m != nil {
  5318. return m.BucketSize
  5319. }
  5320. return 0
  5321. }
  5322. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues {
  5323. if m != nil {
  5324. return m.BucketValues
  5325. }
  5326. return nil
  5327. }
  5328. func (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) GetBucketValueCount() int64 {
  5329. if m != nil {
  5330. return m.BucketValueCount
  5331. }
  5332. return 0
  5333. }
  5334. // Result of the δ-presence computation. Note that these results are an
  5335. // estimation, not exact values.
  5336. type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult struct {
  5337. // The intervals [min_probability, max_probability) do not overlap. If a
  5338. // value doesn't correspond to any such interval, the associated frequency
  5339. // is zero. For example, the following records:
  5340. // {min_probability: 0, max_probability: 0.1, frequency: 17}
  5341. // {min_probability: 0.2, max_probability: 0.3, frequency: 42}
  5342. // {min_probability: 0.3, max_probability: 0.4, frequency: 99}
  5343. // mean that there are no record with an estimated probability in [0.1, 0.2)
  5344. // nor larger or equal to 0.4.
  5345. DeltaPresenceEstimationHistogram []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket `protobuf:"bytes,1,rep,name=delta_presence_estimation_histogram,json=deltaPresenceEstimationHistogram,proto3" json:"delta_presence_estimation_histogram,omitempty"`
  5346. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  5347. XXX_unrecognized []byte `json:"-"`
  5348. XXX_sizecache int32 `json:"-"`
  5349. }
  5350. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Reset() {
  5351. *m = AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult{}
  5352. }
  5353. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) String() string {
  5354. return proto.CompactTextString(m)
  5355. }
  5356. func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) ProtoMessage() {}
  5357. func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) Descriptor() ([]byte, []int) {
  5358. return fileDescriptor_dlp_9184f835f60c3220, []int{37, 5}
  5359. }
  5360. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Unmarshal(b []byte) error {
  5361. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult.Unmarshal(m, b)
  5362. }
  5363. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5364. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult.Marshal(b, m, deterministic)
  5365. }
  5366. func (dst *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Merge(src proto.Message) {
  5367. xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult.Merge(dst, src)
  5368. }
  5369. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Size() int {
  5370. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult.Size(m)
  5371. }
  5372. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_DiscardUnknown() {
  5373. xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult.DiscardUnknown(m)
  5374. }
  5375. var xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult proto.InternalMessageInfo
  5376. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) GetDeltaPresenceEstimationHistogram() []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket {
  5377. if m != nil {
  5378. return m.DeltaPresenceEstimationHistogram
  5379. }
  5380. return nil
  5381. }
  5382. // A tuple of values for the quasi-identifier columns.
  5383. type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues struct {
  5384. // The quasi-identifier values.
  5385. QuasiIdsValues []*Value `protobuf:"bytes,1,rep,name=quasi_ids_values,json=quasiIdsValues,proto3" json:"quasi_ids_values,omitempty"`
  5386. // The estimated probability that a given individual sharing these
  5387. // quasi-identifier values is in the dataset. This value, typically called
  5388. // δ, is the ratio between the number of records in the dataset with these
  5389. // quasi-identifier values, and the total number of individuals (inside
  5390. // *and* outside the dataset) with these quasi-identifier values.
  5391. // For example, if there are 15 individuals in the dataset who share the
  5392. // same quasi-identifier values, and an estimated 100 people in the entire
  5393. // population with these values, then δ is 0.15.
  5394. EstimatedProbability float64 `protobuf:"fixed64,2,opt,name=estimated_probability,json=estimatedProbability,proto3" json:"estimated_probability,omitempty"`
  5395. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  5396. XXX_unrecognized []byte `json:"-"`
  5397. XXX_sizecache int32 `json:"-"`
  5398. }
  5399. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Reset() {
  5400. *m = AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues{}
  5401. }
  5402. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) String() string {
  5403. return proto.CompactTextString(m)
  5404. }
  5405. func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) ProtoMessage() {
  5406. }
  5407. func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) Descriptor() ([]byte, []int) {
  5408. return fileDescriptor_dlp_9184f835f60c3220, []int{37, 5, 0}
  5409. }
  5410. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_Unmarshal(b []byte) error {
  5411. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues.Unmarshal(m, b)
  5412. }
  5413. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5414. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues.Marshal(b, m, deterministic)
  5415. }
  5416. func (dst *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_Merge(src proto.Message) {
  5417. xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues.Merge(dst, src)
  5418. }
  5419. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_Size() int {
  5420. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues.Size(m)
  5421. }
  5422. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_DiscardUnknown() {
  5423. xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues.DiscardUnknown(m)
  5424. }
  5425. var xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues proto.InternalMessageInfo
  5426. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetQuasiIdsValues() []*Value {
  5427. if m != nil {
  5428. return m.QuasiIdsValues
  5429. }
  5430. return nil
  5431. }
  5432. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) GetEstimatedProbability() float64 {
  5433. if m != nil {
  5434. return m.EstimatedProbability
  5435. }
  5436. return 0
  5437. }
  5438. // A DeltaPresenceEstimationHistogramBucket message with the following
  5439. // values:
  5440. // min_probability: 0.1
  5441. // max_probability: 0.2
  5442. // frequency: 42
  5443. // means that there are 42 records for which δ is in [0.1, 0.2). An
  5444. // important particular case is when min_probability = max_probability = 1:
  5445. // then, every individual who shares this quasi-identifier combination is in
  5446. // the dataset.
  5447. type AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket struct {
  5448. // Between 0 and 1.
  5449. MinProbability float64 `protobuf:"fixed64,1,opt,name=min_probability,json=minProbability,proto3" json:"min_probability,omitempty"`
  5450. // Always greater than or equal to min_probability.
  5451. MaxProbability float64 `protobuf:"fixed64,2,opt,name=max_probability,json=maxProbability,proto3" json:"max_probability,omitempty"`
  5452. // Number of records within these probability bounds.
  5453. BucketSize int64 `protobuf:"varint,5,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"`
  5454. // Sample of quasi-identifier tuple values in this bucket. The total
  5455. // number of classes returned per bucket is capped at 20.
  5456. BucketValues []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues `protobuf:"bytes,6,rep,name=bucket_values,json=bucketValues,proto3" json:"bucket_values,omitempty"`
  5457. // Total number of distinct quasi-identifier tuple values in this bucket.
  5458. BucketValueCount int64 `protobuf:"varint,7,opt,name=bucket_value_count,json=bucketValueCount,proto3" json:"bucket_value_count,omitempty"`
  5459. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  5460. XXX_unrecognized []byte `json:"-"`
  5461. XXX_sizecache int32 `json:"-"`
  5462. }
  5463. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) Reset() {
  5464. *m = AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket{}
  5465. }
  5466. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) String() string {
  5467. return proto.CompactTextString(m)
  5468. }
  5469. func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) ProtoMessage() {
  5470. }
  5471. func (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) Descriptor() ([]byte, []int) {
  5472. return fileDescriptor_dlp_9184f835f60c3220, []int{37, 5, 1}
  5473. }
  5474. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_Unmarshal(b []byte) error {
  5475. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket.Unmarshal(m, b)
  5476. }
  5477. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5478. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket.Marshal(b, m, deterministic)
  5479. }
  5480. func (dst *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_Merge(src proto.Message) {
  5481. xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket.Merge(dst, src)
  5482. }
  5483. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_Size() int {
  5484. return xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket.Size(m)
  5485. }
  5486. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_DiscardUnknown() {
  5487. xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket.DiscardUnknown(m)
  5488. }
  5489. var xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket proto.InternalMessageInfo
  5490. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMinProbability() float64 {
  5491. if m != nil {
  5492. return m.MinProbability
  5493. }
  5494. return 0
  5495. }
  5496. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetMaxProbability() float64 {
  5497. if m != nil {
  5498. return m.MaxProbability
  5499. }
  5500. return 0
  5501. }
  5502. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketSize() int64 {
  5503. if m != nil {
  5504. return m.BucketSize
  5505. }
  5506. return 0
  5507. }
  5508. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues {
  5509. if m != nil {
  5510. return m.BucketValues
  5511. }
  5512. return nil
  5513. }
  5514. func (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) GetBucketValueCount() int64 {
  5515. if m != nil {
  5516. return m.BucketValueCount
  5517. }
  5518. return 0
  5519. }
  5520. // A value of a field, including its frequency.
  5521. type ValueFrequency struct {
  5522. // A value contained in the field in question.
  5523. Value *Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
  5524. // How many times the value is contained in the field.
  5525. Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
  5526. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  5527. XXX_unrecognized []byte `json:"-"`
  5528. XXX_sizecache int32 `json:"-"`
  5529. }
  5530. func (m *ValueFrequency) Reset() { *m = ValueFrequency{} }
  5531. func (m *ValueFrequency) String() string { return proto.CompactTextString(m) }
  5532. func (*ValueFrequency) ProtoMessage() {}
  5533. func (*ValueFrequency) Descriptor() ([]byte, []int) {
  5534. return fileDescriptor_dlp_9184f835f60c3220, []int{38}
  5535. }
  5536. func (m *ValueFrequency) XXX_Unmarshal(b []byte) error {
  5537. return xxx_messageInfo_ValueFrequency.Unmarshal(m, b)
  5538. }
  5539. func (m *ValueFrequency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5540. return xxx_messageInfo_ValueFrequency.Marshal(b, m, deterministic)
  5541. }
  5542. func (dst *ValueFrequency) XXX_Merge(src proto.Message) {
  5543. xxx_messageInfo_ValueFrequency.Merge(dst, src)
  5544. }
  5545. func (m *ValueFrequency) XXX_Size() int {
  5546. return xxx_messageInfo_ValueFrequency.Size(m)
  5547. }
  5548. func (m *ValueFrequency) XXX_DiscardUnknown() {
  5549. xxx_messageInfo_ValueFrequency.DiscardUnknown(m)
  5550. }
  5551. var xxx_messageInfo_ValueFrequency proto.InternalMessageInfo
  5552. func (m *ValueFrequency) GetValue() *Value {
  5553. if m != nil {
  5554. return m.Value
  5555. }
  5556. return nil
  5557. }
  5558. func (m *ValueFrequency) GetCount() int64 {
  5559. if m != nil {
  5560. return m.Count
  5561. }
  5562. return 0
  5563. }
  5564. // Set of primitive values supported by the system.
  5565. // Note that for the purposes of inspection or transformation, the number
  5566. // of bytes considered to comprise a 'Value' is based on its representation
  5567. // as a UTF-8 encoded string. For example, if 'integer_value' is set to
  5568. // 123456789, the number of bytes would be counted as 9, even though an
  5569. // int64 only holds up to 8 bytes of data.
  5570. type Value struct {
  5571. // Types that are valid to be assigned to Type:
  5572. // *Value_IntegerValue
  5573. // *Value_FloatValue
  5574. // *Value_StringValue
  5575. // *Value_BooleanValue
  5576. // *Value_TimestampValue
  5577. // *Value_TimeValue
  5578. // *Value_DateValue
  5579. // *Value_DayOfWeekValue
  5580. Type isValue_Type `protobuf_oneof:"type"`
  5581. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  5582. XXX_unrecognized []byte `json:"-"`
  5583. XXX_sizecache int32 `json:"-"`
  5584. }
  5585. func (m *Value) Reset() { *m = Value{} }
  5586. func (m *Value) String() string { return proto.CompactTextString(m) }
  5587. func (*Value) ProtoMessage() {}
  5588. func (*Value) Descriptor() ([]byte, []int) {
  5589. return fileDescriptor_dlp_9184f835f60c3220, []int{39}
  5590. }
  5591. func (m *Value) XXX_Unmarshal(b []byte) error {
  5592. return xxx_messageInfo_Value.Unmarshal(m, b)
  5593. }
  5594. func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5595. return xxx_messageInfo_Value.Marshal(b, m, deterministic)
  5596. }
  5597. func (dst *Value) XXX_Merge(src proto.Message) {
  5598. xxx_messageInfo_Value.Merge(dst, src)
  5599. }
  5600. func (m *Value) XXX_Size() int {
  5601. return xxx_messageInfo_Value.Size(m)
  5602. }
  5603. func (m *Value) XXX_DiscardUnknown() {
  5604. xxx_messageInfo_Value.DiscardUnknown(m)
  5605. }
  5606. var xxx_messageInfo_Value proto.InternalMessageInfo
  5607. type isValue_Type interface {
  5608. isValue_Type()
  5609. }
  5610. type Value_IntegerValue struct {
  5611. IntegerValue int64 `protobuf:"varint,1,opt,name=integer_value,json=integerValue,proto3,oneof"`
  5612. }
  5613. type Value_FloatValue struct {
  5614. FloatValue float64 `protobuf:"fixed64,2,opt,name=float_value,json=floatValue,proto3,oneof"`
  5615. }
  5616. type Value_StringValue struct {
  5617. StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
  5618. }
  5619. type Value_BooleanValue struct {
  5620. BooleanValue bool `protobuf:"varint,4,opt,name=boolean_value,json=booleanValue,proto3,oneof"`
  5621. }
  5622. type Value_TimestampValue struct {
  5623. TimestampValue *timestamp.Timestamp `protobuf:"bytes,5,opt,name=timestamp_value,json=timestampValue,proto3,oneof"`
  5624. }
  5625. type Value_TimeValue struct {
  5626. TimeValue *timeofday.TimeOfDay `protobuf:"bytes,6,opt,name=time_value,json=timeValue,proto3,oneof"`
  5627. }
  5628. type Value_DateValue struct {
  5629. DateValue *date.Date `protobuf:"bytes,7,opt,name=date_value,json=dateValue,proto3,oneof"`
  5630. }
  5631. type Value_DayOfWeekValue struct {
  5632. DayOfWeekValue dayofweek.DayOfWeek `protobuf:"varint,8,opt,name=day_of_week_value,json=dayOfWeekValue,proto3,enum=google.type.DayOfWeek,oneof"`
  5633. }
  5634. func (*Value_IntegerValue) isValue_Type() {}
  5635. func (*Value_FloatValue) isValue_Type() {}
  5636. func (*Value_StringValue) isValue_Type() {}
  5637. func (*Value_BooleanValue) isValue_Type() {}
  5638. func (*Value_TimestampValue) isValue_Type() {}
  5639. func (*Value_TimeValue) isValue_Type() {}
  5640. func (*Value_DateValue) isValue_Type() {}
  5641. func (*Value_DayOfWeekValue) isValue_Type() {}
  5642. func (m *Value) GetType() isValue_Type {
  5643. if m != nil {
  5644. return m.Type
  5645. }
  5646. return nil
  5647. }
  5648. func (m *Value) GetIntegerValue() int64 {
  5649. if x, ok := m.GetType().(*Value_IntegerValue); ok {
  5650. return x.IntegerValue
  5651. }
  5652. return 0
  5653. }
  5654. func (m *Value) GetFloatValue() float64 {
  5655. if x, ok := m.GetType().(*Value_FloatValue); ok {
  5656. return x.FloatValue
  5657. }
  5658. return 0
  5659. }
  5660. func (m *Value) GetStringValue() string {
  5661. if x, ok := m.GetType().(*Value_StringValue); ok {
  5662. return x.StringValue
  5663. }
  5664. return ""
  5665. }
  5666. func (m *Value) GetBooleanValue() bool {
  5667. if x, ok := m.GetType().(*Value_BooleanValue); ok {
  5668. return x.BooleanValue
  5669. }
  5670. return false
  5671. }
  5672. func (m *Value) GetTimestampValue() *timestamp.Timestamp {
  5673. if x, ok := m.GetType().(*Value_TimestampValue); ok {
  5674. return x.TimestampValue
  5675. }
  5676. return nil
  5677. }
  5678. func (m *Value) GetTimeValue() *timeofday.TimeOfDay {
  5679. if x, ok := m.GetType().(*Value_TimeValue); ok {
  5680. return x.TimeValue
  5681. }
  5682. return nil
  5683. }
  5684. func (m *Value) GetDateValue() *date.Date {
  5685. if x, ok := m.GetType().(*Value_DateValue); ok {
  5686. return x.DateValue
  5687. }
  5688. return nil
  5689. }
  5690. func (m *Value) GetDayOfWeekValue() dayofweek.DayOfWeek {
  5691. if x, ok := m.GetType().(*Value_DayOfWeekValue); ok {
  5692. return x.DayOfWeekValue
  5693. }
  5694. return dayofweek.DayOfWeek_DAY_OF_WEEK_UNSPECIFIED
  5695. }
  5696. // XXX_OneofFuncs is for the internal use of the proto package.
  5697. func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  5698. return _Value_OneofMarshaler, _Value_OneofUnmarshaler, _Value_OneofSizer, []interface{}{
  5699. (*Value_IntegerValue)(nil),
  5700. (*Value_FloatValue)(nil),
  5701. (*Value_StringValue)(nil),
  5702. (*Value_BooleanValue)(nil),
  5703. (*Value_TimestampValue)(nil),
  5704. (*Value_TimeValue)(nil),
  5705. (*Value_DateValue)(nil),
  5706. (*Value_DayOfWeekValue)(nil),
  5707. }
  5708. }
  5709. func _Value_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  5710. m := msg.(*Value)
  5711. // type
  5712. switch x := m.Type.(type) {
  5713. case *Value_IntegerValue:
  5714. b.EncodeVarint(1<<3 | proto.WireVarint)
  5715. b.EncodeVarint(uint64(x.IntegerValue))
  5716. case *Value_FloatValue:
  5717. b.EncodeVarint(2<<3 | proto.WireFixed64)
  5718. b.EncodeFixed64(math.Float64bits(x.FloatValue))
  5719. case *Value_StringValue:
  5720. b.EncodeVarint(3<<3 | proto.WireBytes)
  5721. b.EncodeStringBytes(x.StringValue)
  5722. case *Value_BooleanValue:
  5723. t := uint64(0)
  5724. if x.BooleanValue {
  5725. t = 1
  5726. }
  5727. b.EncodeVarint(4<<3 | proto.WireVarint)
  5728. b.EncodeVarint(t)
  5729. case *Value_TimestampValue:
  5730. b.EncodeVarint(5<<3 | proto.WireBytes)
  5731. if err := b.EncodeMessage(x.TimestampValue); err != nil {
  5732. return err
  5733. }
  5734. case *Value_TimeValue:
  5735. b.EncodeVarint(6<<3 | proto.WireBytes)
  5736. if err := b.EncodeMessage(x.TimeValue); err != nil {
  5737. return err
  5738. }
  5739. case *Value_DateValue:
  5740. b.EncodeVarint(7<<3 | proto.WireBytes)
  5741. if err := b.EncodeMessage(x.DateValue); err != nil {
  5742. return err
  5743. }
  5744. case *Value_DayOfWeekValue:
  5745. b.EncodeVarint(8<<3 | proto.WireVarint)
  5746. b.EncodeVarint(uint64(x.DayOfWeekValue))
  5747. case nil:
  5748. default:
  5749. return fmt.Errorf("Value.Type has unexpected type %T", x)
  5750. }
  5751. return nil
  5752. }
  5753. func _Value_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  5754. m := msg.(*Value)
  5755. switch tag {
  5756. case 1: // type.integer_value
  5757. if wire != proto.WireVarint {
  5758. return true, proto.ErrInternalBadWireType
  5759. }
  5760. x, err := b.DecodeVarint()
  5761. m.Type = &Value_IntegerValue{int64(x)}
  5762. return true, err
  5763. case 2: // type.float_value
  5764. if wire != proto.WireFixed64 {
  5765. return true, proto.ErrInternalBadWireType
  5766. }
  5767. x, err := b.DecodeFixed64()
  5768. m.Type = &Value_FloatValue{math.Float64frombits(x)}
  5769. return true, err
  5770. case 3: // type.string_value
  5771. if wire != proto.WireBytes {
  5772. return true, proto.ErrInternalBadWireType
  5773. }
  5774. x, err := b.DecodeStringBytes()
  5775. m.Type = &Value_StringValue{x}
  5776. return true, err
  5777. case 4: // type.boolean_value
  5778. if wire != proto.WireVarint {
  5779. return true, proto.ErrInternalBadWireType
  5780. }
  5781. x, err := b.DecodeVarint()
  5782. m.Type = &Value_BooleanValue{x != 0}
  5783. return true, err
  5784. case 5: // type.timestamp_value
  5785. if wire != proto.WireBytes {
  5786. return true, proto.ErrInternalBadWireType
  5787. }
  5788. msg := new(timestamp.Timestamp)
  5789. err := b.DecodeMessage(msg)
  5790. m.Type = &Value_TimestampValue{msg}
  5791. return true, err
  5792. case 6: // type.time_value
  5793. if wire != proto.WireBytes {
  5794. return true, proto.ErrInternalBadWireType
  5795. }
  5796. msg := new(timeofday.TimeOfDay)
  5797. err := b.DecodeMessage(msg)
  5798. m.Type = &Value_TimeValue{msg}
  5799. return true, err
  5800. case 7: // type.date_value
  5801. if wire != proto.WireBytes {
  5802. return true, proto.ErrInternalBadWireType
  5803. }
  5804. msg := new(date.Date)
  5805. err := b.DecodeMessage(msg)
  5806. m.Type = &Value_DateValue{msg}
  5807. return true, err
  5808. case 8: // type.day_of_week_value
  5809. if wire != proto.WireVarint {
  5810. return true, proto.ErrInternalBadWireType
  5811. }
  5812. x, err := b.DecodeVarint()
  5813. m.Type = &Value_DayOfWeekValue{dayofweek.DayOfWeek(x)}
  5814. return true, err
  5815. default:
  5816. return false, nil
  5817. }
  5818. }
  5819. func _Value_OneofSizer(msg proto.Message) (n int) {
  5820. m := msg.(*Value)
  5821. // type
  5822. switch x := m.Type.(type) {
  5823. case *Value_IntegerValue:
  5824. n += 1 // tag and wire
  5825. n += proto.SizeVarint(uint64(x.IntegerValue))
  5826. case *Value_FloatValue:
  5827. n += 1 // tag and wire
  5828. n += 8
  5829. case *Value_StringValue:
  5830. n += 1 // tag and wire
  5831. n += proto.SizeVarint(uint64(len(x.StringValue)))
  5832. n += len(x.StringValue)
  5833. case *Value_BooleanValue:
  5834. n += 1 // tag and wire
  5835. n += 1
  5836. case *Value_TimestampValue:
  5837. s := proto.Size(x.TimestampValue)
  5838. n += 1 // tag and wire
  5839. n += proto.SizeVarint(uint64(s))
  5840. n += s
  5841. case *Value_TimeValue:
  5842. s := proto.Size(x.TimeValue)
  5843. n += 1 // tag and wire
  5844. n += proto.SizeVarint(uint64(s))
  5845. n += s
  5846. case *Value_DateValue:
  5847. s := proto.Size(x.DateValue)
  5848. n += 1 // tag and wire
  5849. n += proto.SizeVarint(uint64(s))
  5850. n += s
  5851. case *Value_DayOfWeekValue:
  5852. n += 1 // tag and wire
  5853. n += proto.SizeVarint(uint64(x.DayOfWeekValue))
  5854. case nil:
  5855. default:
  5856. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  5857. }
  5858. return n
  5859. }
  5860. // Message for infoType-dependent details parsed from quote.
  5861. type QuoteInfo struct {
  5862. // Object representation of the quote.
  5863. //
  5864. // Types that are valid to be assigned to ParsedQuote:
  5865. // *QuoteInfo_DateTime
  5866. ParsedQuote isQuoteInfo_ParsedQuote `protobuf_oneof:"parsed_quote"`
  5867. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  5868. XXX_unrecognized []byte `json:"-"`
  5869. XXX_sizecache int32 `json:"-"`
  5870. }
  5871. func (m *QuoteInfo) Reset() { *m = QuoteInfo{} }
  5872. func (m *QuoteInfo) String() string { return proto.CompactTextString(m) }
  5873. func (*QuoteInfo) ProtoMessage() {}
  5874. func (*QuoteInfo) Descriptor() ([]byte, []int) {
  5875. return fileDescriptor_dlp_9184f835f60c3220, []int{40}
  5876. }
  5877. func (m *QuoteInfo) XXX_Unmarshal(b []byte) error {
  5878. return xxx_messageInfo_QuoteInfo.Unmarshal(m, b)
  5879. }
  5880. func (m *QuoteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5881. return xxx_messageInfo_QuoteInfo.Marshal(b, m, deterministic)
  5882. }
  5883. func (dst *QuoteInfo) XXX_Merge(src proto.Message) {
  5884. xxx_messageInfo_QuoteInfo.Merge(dst, src)
  5885. }
  5886. func (m *QuoteInfo) XXX_Size() int {
  5887. return xxx_messageInfo_QuoteInfo.Size(m)
  5888. }
  5889. func (m *QuoteInfo) XXX_DiscardUnknown() {
  5890. xxx_messageInfo_QuoteInfo.DiscardUnknown(m)
  5891. }
  5892. var xxx_messageInfo_QuoteInfo proto.InternalMessageInfo
  5893. type isQuoteInfo_ParsedQuote interface {
  5894. isQuoteInfo_ParsedQuote()
  5895. }
  5896. type QuoteInfo_DateTime struct {
  5897. DateTime *DateTime `protobuf:"bytes,2,opt,name=date_time,json=dateTime,proto3,oneof"`
  5898. }
  5899. func (*QuoteInfo_DateTime) isQuoteInfo_ParsedQuote() {}
  5900. func (m *QuoteInfo) GetParsedQuote() isQuoteInfo_ParsedQuote {
  5901. if m != nil {
  5902. return m.ParsedQuote
  5903. }
  5904. return nil
  5905. }
  5906. func (m *QuoteInfo) GetDateTime() *DateTime {
  5907. if x, ok := m.GetParsedQuote().(*QuoteInfo_DateTime); ok {
  5908. return x.DateTime
  5909. }
  5910. return nil
  5911. }
  5912. // XXX_OneofFuncs is for the internal use of the proto package.
  5913. func (*QuoteInfo) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  5914. return _QuoteInfo_OneofMarshaler, _QuoteInfo_OneofUnmarshaler, _QuoteInfo_OneofSizer, []interface{}{
  5915. (*QuoteInfo_DateTime)(nil),
  5916. }
  5917. }
  5918. func _QuoteInfo_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  5919. m := msg.(*QuoteInfo)
  5920. // parsed_quote
  5921. switch x := m.ParsedQuote.(type) {
  5922. case *QuoteInfo_DateTime:
  5923. b.EncodeVarint(2<<3 | proto.WireBytes)
  5924. if err := b.EncodeMessage(x.DateTime); err != nil {
  5925. return err
  5926. }
  5927. case nil:
  5928. default:
  5929. return fmt.Errorf("QuoteInfo.ParsedQuote has unexpected type %T", x)
  5930. }
  5931. return nil
  5932. }
  5933. func _QuoteInfo_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  5934. m := msg.(*QuoteInfo)
  5935. switch tag {
  5936. case 2: // parsed_quote.date_time
  5937. if wire != proto.WireBytes {
  5938. return true, proto.ErrInternalBadWireType
  5939. }
  5940. msg := new(DateTime)
  5941. err := b.DecodeMessage(msg)
  5942. m.ParsedQuote = &QuoteInfo_DateTime{msg}
  5943. return true, err
  5944. default:
  5945. return false, nil
  5946. }
  5947. }
  5948. func _QuoteInfo_OneofSizer(msg proto.Message) (n int) {
  5949. m := msg.(*QuoteInfo)
  5950. // parsed_quote
  5951. switch x := m.ParsedQuote.(type) {
  5952. case *QuoteInfo_DateTime:
  5953. s := proto.Size(x.DateTime)
  5954. n += 1 // tag and wire
  5955. n += proto.SizeVarint(uint64(s))
  5956. n += s
  5957. case nil:
  5958. default:
  5959. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  5960. }
  5961. return n
  5962. }
  5963. // Message for a date time object.
  5964. // e.g. 2018-01-01, 5th August.
  5965. type DateTime struct {
  5966. // One or more of the following must be set. All fields are optional, but
  5967. // when set must be valid date or time values.
  5968. Date *date.Date `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
  5969. DayOfWeek dayofweek.DayOfWeek `protobuf:"varint,2,opt,name=day_of_week,json=dayOfWeek,proto3,enum=google.type.DayOfWeek" json:"day_of_week,omitempty"`
  5970. Time *timeofday.TimeOfDay `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
  5971. TimeZone *DateTime_TimeZone `protobuf:"bytes,4,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
  5972. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  5973. XXX_unrecognized []byte `json:"-"`
  5974. XXX_sizecache int32 `json:"-"`
  5975. }
  5976. func (m *DateTime) Reset() { *m = DateTime{} }
  5977. func (m *DateTime) String() string { return proto.CompactTextString(m) }
  5978. func (*DateTime) ProtoMessage() {}
  5979. func (*DateTime) Descriptor() ([]byte, []int) {
  5980. return fileDescriptor_dlp_9184f835f60c3220, []int{41}
  5981. }
  5982. func (m *DateTime) XXX_Unmarshal(b []byte) error {
  5983. return xxx_messageInfo_DateTime.Unmarshal(m, b)
  5984. }
  5985. func (m *DateTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  5986. return xxx_messageInfo_DateTime.Marshal(b, m, deterministic)
  5987. }
  5988. func (dst *DateTime) XXX_Merge(src proto.Message) {
  5989. xxx_messageInfo_DateTime.Merge(dst, src)
  5990. }
  5991. func (m *DateTime) XXX_Size() int {
  5992. return xxx_messageInfo_DateTime.Size(m)
  5993. }
  5994. func (m *DateTime) XXX_DiscardUnknown() {
  5995. xxx_messageInfo_DateTime.DiscardUnknown(m)
  5996. }
  5997. var xxx_messageInfo_DateTime proto.InternalMessageInfo
  5998. func (m *DateTime) GetDate() *date.Date {
  5999. if m != nil {
  6000. return m.Date
  6001. }
  6002. return nil
  6003. }
  6004. func (m *DateTime) GetDayOfWeek() dayofweek.DayOfWeek {
  6005. if m != nil {
  6006. return m.DayOfWeek
  6007. }
  6008. return dayofweek.DayOfWeek_DAY_OF_WEEK_UNSPECIFIED
  6009. }
  6010. func (m *DateTime) GetTime() *timeofday.TimeOfDay {
  6011. if m != nil {
  6012. return m.Time
  6013. }
  6014. return nil
  6015. }
  6016. func (m *DateTime) GetTimeZone() *DateTime_TimeZone {
  6017. if m != nil {
  6018. return m.TimeZone
  6019. }
  6020. return nil
  6021. }
  6022. type DateTime_TimeZone struct {
  6023. // Set only if the offset can be determined. Positive for time ahead of UTC.
  6024. // E.g. For "UTC-9", this value is -540.
  6025. OffsetMinutes int32 `protobuf:"varint,1,opt,name=offset_minutes,json=offsetMinutes,proto3" json:"offset_minutes,omitempty"`
  6026. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  6027. XXX_unrecognized []byte `json:"-"`
  6028. XXX_sizecache int32 `json:"-"`
  6029. }
  6030. func (m *DateTime_TimeZone) Reset() { *m = DateTime_TimeZone{} }
  6031. func (m *DateTime_TimeZone) String() string { return proto.CompactTextString(m) }
  6032. func (*DateTime_TimeZone) ProtoMessage() {}
  6033. func (*DateTime_TimeZone) Descriptor() ([]byte, []int) {
  6034. return fileDescriptor_dlp_9184f835f60c3220, []int{41, 0}
  6035. }
  6036. func (m *DateTime_TimeZone) XXX_Unmarshal(b []byte) error {
  6037. return xxx_messageInfo_DateTime_TimeZone.Unmarshal(m, b)
  6038. }
  6039. func (m *DateTime_TimeZone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6040. return xxx_messageInfo_DateTime_TimeZone.Marshal(b, m, deterministic)
  6041. }
  6042. func (dst *DateTime_TimeZone) XXX_Merge(src proto.Message) {
  6043. xxx_messageInfo_DateTime_TimeZone.Merge(dst, src)
  6044. }
  6045. func (m *DateTime_TimeZone) XXX_Size() int {
  6046. return xxx_messageInfo_DateTime_TimeZone.Size(m)
  6047. }
  6048. func (m *DateTime_TimeZone) XXX_DiscardUnknown() {
  6049. xxx_messageInfo_DateTime_TimeZone.DiscardUnknown(m)
  6050. }
  6051. var xxx_messageInfo_DateTime_TimeZone proto.InternalMessageInfo
  6052. func (m *DateTime_TimeZone) GetOffsetMinutes() int32 {
  6053. if m != nil {
  6054. return m.OffsetMinutes
  6055. }
  6056. return 0
  6057. }
  6058. // The configuration that controls how the data will change.
  6059. type DeidentifyConfig struct {
  6060. // Types that are valid to be assigned to Transformation:
  6061. // *DeidentifyConfig_InfoTypeTransformations
  6062. // *DeidentifyConfig_RecordTransformations
  6063. Transformation isDeidentifyConfig_Transformation `protobuf_oneof:"transformation"`
  6064. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  6065. XXX_unrecognized []byte `json:"-"`
  6066. XXX_sizecache int32 `json:"-"`
  6067. }
  6068. func (m *DeidentifyConfig) Reset() { *m = DeidentifyConfig{} }
  6069. func (m *DeidentifyConfig) String() string { return proto.CompactTextString(m) }
  6070. func (*DeidentifyConfig) ProtoMessage() {}
  6071. func (*DeidentifyConfig) Descriptor() ([]byte, []int) {
  6072. return fileDescriptor_dlp_9184f835f60c3220, []int{42}
  6073. }
  6074. func (m *DeidentifyConfig) XXX_Unmarshal(b []byte) error {
  6075. return xxx_messageInfo_DeidentifyConfig.Unmarshal(m, b)
  6076. }
  6077. func (m *DeidentifyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6078. return xxx_messageInfo_DeidentifyConfig.Marshal(b, m, deterministic)
  6079. }
  6080. func (dst *DeidentifyConfig) XXX_Merge(src proto.Message) {
  6081. xxx_messageInfo_DeidentifyConfig.Merge(dst, src)
  6082. }
  6083. func (m *DeidentifyConfig) XXX_Size() int {
  6084. return xxx_messageInfo_DeidentifyConfig.Size(m)
  6085. }
  6086. func (m *DeidentifyConfig) XXX_DiscardUnknown() {
  6087. xxx_messageInfo_DeidentifyConfig.DiscardUnknown(m)
  6088. }
  6089. var xxx_messageInfo_DeidentifyConfig proto.InternalMessageInfo
  6090. type isDeidentifyConfig_Transformation interface {
  6091. isDeidentifyConfig_Transformation()
  6092. }
  6093. type DeidentifyConfig_InfoTypeTransformations struct {
  6094. InfoTypeTransformations *InfoTypeTransformations `protobuf:"bytes,1,opt,name=info_type_transformations,json=infoTypeTransformations,proto3,oneof"`
  6095. }
  6096. type DeidentifyConfig_RecordTransformations struct {
  6097. RecordTransformations *RecordTransformations `protobuf:"bytes,2,opt,name=record_transformations,json=recordTransformations,proto3,oneof"`
  6098. }
  6099. func (*DeidentifyConfig_InfoTypeTransformations) isDeidentifyConfig_Transformation() {}
  6100. func (*DeidentifyConfig_RecordTransformations) isDeidentifyConfig_Transformation() {}
  6101. func (m *DeidentifyConfig) GetTransformation() isDeidentifyConfig_Transformation {
  6102. if m != nil {
  6103. return m.Transformation
  6104. }
  6105. return nil
  6106. }
  6107. func (m *DeidentifyConfig) GetInfoTypeTransformations() *InfoTypeTransformations {
  6108. if x, ok := m.GetTransformation().(*DeidentifyConfig_InfoTypeTransformations); ok {
  6109. return x.InfoTypeTransformations
  6110. }
  6111. return nil
  6112. }
  6113. func (m *DeidentifyConfig) GetRecordTransformations() *RecordTransformations {
  6114. if x, ok := m.GetTransformation().(*DeidentifyConfig_RecordTransformations); ok {
  6115. return x.RecordTransformations
  6116. }
  6117. return nil
  6118. }
  6119. // XXX_OneofFuncs is for the internal use of the proto package.
  6120. func (*DeidentifyConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  6121. return _DeidentifyConfig_OneofMarshaler, _DeidentifyConfig_OneofUnmarshaler, _DeidentifyConfig_OneofSizer, []interface{}{
  6122. (*DeidentifyConfig_InfoTypeTransformations)(nil),
  6123. (*DeidentifyConfig_RecordTransformations)(nil),
  6124. }
  6125. }
  6126. func _DeidentifyConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  6127. m := msg.(*DeidentifyConfig)
  6128. // transformation
  6129. switch x := m.Transformation.(type) {
  6130. case *DeidentifyConfig_InfoTypeTransformations:
  6131. b.EncodeVarint(1<<3 | proto.WireBytes)
  6132. if err := b.EncodeMessage(x.InfoTypeTransformations); err != nil {
  6133. return err
  6134. }
  6135. case *DeidentifyConfig_RecordTransformations:
  6136. b.EncodeVarint(2<<3 | proto.WireBytes)
  6137. if err := b.EncodeMessage(x.RecordTransformations); err != nil {
  6138. return err
  6139. }
  6140. case nil:
  6141. default:
  6142. return fmt.Errorf("DeidentifyConfig.Transformation has unexpected type %T", x)
  6143. }
  6144. return nil
  6145. }
  6146. func _DeidentifyConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  6147. m := msg.(*DeidentifyConfig)
  6148. switch tag {
  6149. case 1: // transformation.info_type_transformations
  6150. if wire != proto.WireBytes {
  6151. return true, proto.ErrInternalBadWireType
  6152. }
  6153. msg := new(InfoTypeTransformations)
  6154. err := b.DecodeMessage(msg)
  6155. m.Transformation = &DeidentifyConfig_InfoTypeTransformations{msg}
  6156. return true, err
  6157. case 2: // transformation.record_transformations
  6158. if wire != proto.WireBytes {
  6159. return true, proto.ErrInternalBadWireType
  6160. }
  6161. msg := new(RecordTransformations)
  6162. err := b.DecodeMessage(msg)
  6163. m.Transformation = &DeidentifyConfig_RecordTransformations{msg}
  6164. return true, err
  6165. default:
  6166. return false, nil
  6167. }
  6168. }
  6169. func _DeidentifyConfig_OneofSizer(msg proto.Message) (n int) {
  6170. m := msg.(*DeidentifyConfig)
  6171. // transformation
  6172. switch x := m.Transformation.(type) {
  6173. case *DeidentifyConfig_InfoTypeTransformations:
  6174. s := proto.Size(x.InfoTypeTransformations)
  6175. n += 1 // tag and wire
  6176. n += proto.SizeVarint(uint64(s))
  6177. n += s
  6178. case *DeidentifyConfig_RecordTransformations:
  6179. s := proto.Size(x.RecordTransformations)
  6180. n += 1 // tag and wire
  6181. n += proto.SizeVarint(uint64(s))
  6182. n += s
  6183. case nil:
  6184. default:
  6185. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  6186. }
  6187. return n
  6188. }
  6189. // A rule for transforming a value.
  6190. type PrimitiveTransformation struct {
  6191. // Types that are valid to be assigned to Transformation:
  6192. // *PrimitiveTransformation_ReplaceConfig
  6193. // *PrimitiveTransformation_RedactConfig
  6194. // *PrimitiveTransformation_CharacterMaskConfig
  6195. // *PrimitiveTransformation_CryptoReplaceFfxFpeConfig
  6196. // *PrimitiveTransformation_FixedSizeBucketingConfig
  6197. // *PrimitiveTransformation_BucketingConfig
  6198. // *PrimitiveTransformation_ReplaceWithInfoTypeConfig
  6199. // *PrimitiveTransformation_TimePartConfig
  6200. // *PrimitiveTransformation_CryptoHashConfig
  6201. // *PrimitiveTransformation_DateShiftConfig
  6202. Transformation isPrimitiveTransformation_Transformation `protobuf_oneof:"transformation"`
  6203. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  6204. XXX_unrecognized []byte `json:"-"`
  6205. XXX_sizecache int32 `json:"-"`
  6206. }
  6207. func (m *PrimitiveTransformation) Reset() { *m = PrimitiveTransformation{} }
  6208. func (m *PrimitiveTransformation) String() string { return proto.CompactTextString(m) }
  6209. func (*PrimitiveTransformation) ProtoMessage() {}
  6210. func (*PrimitiveTransformation) Descriptor() ([]byte, []int) {
  6211. return fileDescriptor_dlp_9184f835f60c3220, []int{43}
  6212. }
  6213. func (m *PrimitiveTransformation) XXX_Unmarshal(b []byte) error {
  6214. return xxx_messageInfo_PrimitiveTransformation.Unmarshal(m, b)
  6215. }
  6216. func (m *PrimitiveTransformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6217. return xxx_messageInfo_PrimitiveTransformation.Marshal(b, m, deterministic)
  6218. }
  6219. func (dst *PrimitiveTransformation) XXX_Merge(src proto.Message) {
  6220. xxx_messageInfo_PrimitiveTransformation.Merge(dst, src)
  6221. }
  6222. func (m *PrimitiveTransformation) XXX_Size() int {
  6223. return xxx_messageInfo_PrimitiveTransformation.Size(m)
  6224. }
  6225. func (m *PrimitiveTransformation) XXX_DiscardUnknown() {
  6226. xxx_messageInfo_PrimitiveTransformation.DiscardUnknown(m)
  6227. }
  6228. var xxx_messageInfo_PrimitiveTransformation proto.InternalMessageInfo
  6229. type isPrimitiveTransformation_Transformation interface {
  6230. isPrimitiveTransformation_Transformation()
  6231. }
  6232. type PrimitiveTransformation_ReplaceConfig struct {
  6233. ReplaceConfig *ReplaceValueConfig `protobuf:"bytes,1,opt,name=replace_config,json=replaceConfig,proto3,oneof"`
  6234. }
  6235. type PrimitiveTransformation_RedactConfig struct {
  6236. RedactConfig *RedactConfig `protobuf:"bytes,2,opt,name=redact_config,json=redactConfig,proto3,oneof"`
  6237. }
  6238. type PrimitiveTransformation_CharacterMaskConfig struct {
  6239. CharacterMaskConfig *CharacterMaskConfig `protobuf:"bytes,3,opt,name=character_mask_config,json=characterMaskConfig,proto3,oneof"`
  6240. }
  6241. type PrimitiveTransformation_CryptoReplaceFfxFpeConfig struct {
  6242. CryptoReplaceFfxFpeConfig *CryptoReplaceFfxFpeConfig `protobuf:"bytes,4,opt,name=crypto_replace_ffx_fpe_config,json=cryptoReplaceFfxFpeConfig,proto3,oneof"`
  6243. }
  6244. type PrimitiveTransformation_FixedSizeBucketingConfig struct {
  6245. FixedSizeBucketingConfig *FixedSizeBucketingConfig `protobuf:"bytes,5,opt,name=fixed_size_bucketing_config,json=fixedSizeBucketingConfig,proto3,oneof"`
  6246. }
  6247. type PrimitiveTransformation_BucketingConfig struct {
  6248. BucketingConfig *BucketingConfig `protobuf:"bytes,6,opt,name=bucketing_config,json=bucketingConfig,proto3,oneof"`
  6249. }
  6250. type PrimitiveTransformation_ReplaceWithInfoTypeConfig struct {
  6251. ReplaceWithInfoTypeConfig *ReplaceWithInfoTypeConfig `protobuf:"bytes,7,opt,name=replace_with_info_type_config,json=replaceWithInfoTypeConfig,proto3,oneof"`
  6252. }
  6253. type PrimitiveTransformation_TimePartConfig struct {
  6254. TimePartConfig *TimePartConfig `protobuf:"bytes,8,opt,name=time_part_config,json=timePartConfig,proto3,oneof"`
  6255. }
  6256. type PrimitiveTransformation_CryptoHashConfig struct {
  6257. CryptoHashConfig *CryptoHashConfig `protobuf:"bytes,9,opt,name=crypto_hash_config,json=cryptoHashConfig,proto3,oneof"`
  6258. }
  6259. type PrimitiveTransformation_DateShiftConfig struct {
  6260. DateShiftConfig *DateShiftConfig `protobuf:"bytes,11,opt,name=date_shift_config,json=dateShiftConfig,proto3,oneof"`
  6261. }
  6262. func (*PrimitiveTransformation_ReplaceConfig) isPrimitiveTransformation_Transformation() {}
  6263. func (*PrimitiveTransformation_RedactConfig) isPrimitiveTransformation_Transformation() {}
  6264. func (*PrimitiveTransformation_CharacterMaskConfig) isPrimitiveTransformation_Transformation() {}
  6265. func (*PrimitiveTransformation_CryptoReplaceFfxFpeConfig) isPrimitiveTransformation_Transformation() {}
  6266. func (*PrimitiveTransformation_FixedSizeBucketingConfig) isPrimitiveTransformation_Transformation() {}
  6267. func (*PrimitiveTransformation_BucketingConfig) isPrimitiveTransformation_Transformation() {}
  6268. func (*PrimitiveTransformation_ReplaceWithInfoTypeConfig) isPrimitiveTransformation_Transformation() {}
  6269. func (*PrimitiveTransformation_TimePartConfig) isPrimitiveTransformation_Transformation() {}
  6270. func (*PrimitiveTransformation_CryptoHashConfig) isPrimitiveTransformation_Transformation() {}
  6271. func (*PrimitiveTransformation_DateShiftConfig) isPrimitiveTransformation_Transformation() {}
  6272. func (m *PrimitiveTransformation) GetTransformation() isPrimitiveTransformation_Transformation {
  6273. if m != nil {
  6274. return m.Transformation
  6275. }
  6276. return nil
  6277. }
  6278. func (m *PrimitiveTransformation) GetReplaceConfig() *ReplaceValueConfig {
  6279. if x, ok := m.GetTransformation().(*PrimitiveTransformation_ReplaceConfig); ok {
  6280. return x.ReplaceConfig
  6281. }
  6282. return nil
  6283. }
  6284. func (m *PrimitiveTransformation) GetRedactConfig() *RedactConfig {
  6285. if x, ok := m.GetTransformation().(*PrimitiveTransformation_RedactConfig); ok {
  6286. return x.RedactConfig
  6287. }
  6288. return nil
  6289. }
  6290. func (m *PrimitiveTransformation) GetCharacterMaskConfig() *CharacterMaskConfig {
  6291. if x, ok := m.GetTransformation().(*PrimitiveTransformation_CharacterMaskConfig); ok {
  6292. return x.CharacterMaskConfig
  6293. }
  6294. return nil
  6295. }
  6296. func (m *PrimitiveTransformation) GetCryptoReplaceFfxFpeConfig() *CryptoReplaceFfxFpeConfig {
  6297. if x, ok := m.GetTransformation().(*PrimitiveTransformation_CryptoReplaceFfxFpeConfig); ok {
  6298. return x.CryptoReplaceFfxFpeConfig
  6299. }
  6300. return nil
  6301. }
  6302. func (m *PrimitiveTransformation) GetFixedSizeBucketingConfig() *FixedSizeBucketingConfig {
  6303. if x, ok := m.GetTransformation().(*PrimitiveTransformation_FixedSizeBucketingConfig); ok {
  6304. return x.FixedSizeBucketingConfig
  6305. }
  6306. return nil
  6307. }
  6308. func (m *PrimitiveTransformation) GetBucketingConfig() *BucketingConfig {
  6309. if x, ok := m.GetTransformation().(*PrimitiveTransformation_BucketingConfig); ok {
  6310. return x.BucketingConfig
  6311. }
  6312. return nil
  6313. }
  6314. func (m *PrimitiveTransformation) GetReplaceWithInfoTypeConfig() *ReplaceWithInfoTypeConfig {
  6315. if x, ok := m.GetTransformation().(*PrimitiveTransformation_ReplaceWithInfoTypeConfig); ok {
  6316. return x.ReplaceWithInfoTypeConfig
  6317. }
  6318. return nil
  6319. }
  6320. func (m *PrimitiveTransformation) GetTimePartConfig() *TimePartConfig {
  6321. if x, ok := m.GetTransformation().(*PrimitiveTransformation_TimePartConfig); ok {
  6322. return x.TimePartConfig
  6323. }
  6324. return nil
  6325. }
  6326. func (m *PrimitiveTransformation) GetCryptoHashConfig() *CryptoHashConfig {
  6327. if x, ok := m.GetTransformation().(*PrimitiveTransformation_CryptoHashConfig); ok {
  6328. return x.CryptoHashConfig
  6329. }
  6330. return nil
  6331. }
  6332. func (m *PrimitiveTransformation) GetDateShiftConfig() *DateShiftConfig {
  6333. if x, ok := m.GetTransformation().(*PrimitiveTransformation_DateShiftConfig); ok {
  6334. return x.DateShiftConfig
  6335. }
  6336. return nil
  6337. }
  6338. // XXX_OneofFuncs is for the internal use of the proto package.
  6339. func (*PrimitiveTransformation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  6340. return _PrimitiveTransformation_OneofMarshaler, _PrimitiveTransformation_OneofUnmarshaler, _PrimitiveTransformation_OneofSizer, []interface{}{
  6341. (*PrimitiveTransformation_ReplaceConfig)(nil),
  6342. (*PrimitiveTransformation_RedactConfig)(nil),
  6343. (*PrimitiveTransformation_CharacterMaskConfig)(nil),
  6344. (*PrimitiveTransformation_CryptoReplaceFfxFpeConfig)(nil),
  6345. (*PrimitiveTransformation_FixedSizeBucketingConfig)(nil),
  6346. (*PrimitiveTransformation_BucketingConfig)(nil),
  6347. (*PrimitiveTransformation_ReplaceWithInfoTypeConfig)(nil),
  6348. (*PrimitiveTransformation_TimePartConfig)(nil),
  6349. (*PrimitiveTransformation_CryptoHashConfig)(nil),
  6350. (*PrimitiveTransformation_DateShiftConfig)(nil),
  6351. }
  6352. }
  6353. func _PrimitiveTransformation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  6354. m := msg.(*PrimitiveTransformation)
  6355. // transformation
  6356. switch x := m.Transformation.(type) {
  6357. case *PrimitiveTransformation_ReplaceConfig:
  6358. b.EncodeVarint(1<<3 | proto.WireBytes)
  6359. if err := b.EncodeMessage(x.ReplaceConfig); err != nil {
  6360. return err
  6361. }
  6362. case *PrimitiveTransformation_RedactConfig:
  6363. b.EncodeVarint(2<<3 | proto.WireBytes)
  6364. if err := b.EncodeMessage(x.RedactConfig); err != nil {
  6365. return err
  6366. }
  6367. case *PrimitiveTransformation_CharacterMaskConfig:
  6368. b.EncodeVarint(3<<3 | proto.WireBytes)
  6369. if err := b.EncodeMessage(x.CharacterMaskConfig); err != nil {
  6370. return err
  6371. }
  6372. case *PrimitiveTransformation_CryptoReplaceFfxFpeConfig:
  6373. b.EncodeVarint(4<<3 | proto.WireBytes)
  6374. if err := b.EncodeMessage(x.CryptoReplaceFfxFpeConfig); err != nil {
  6375. return err
  6376. }
  6377. case *PrimitiveTransformation_FixedSizeBucketingConfig:
  6378. b.EncodeVarint(5<<3 | proto.WireBytes)
  6379. if err := b.EncodeMessage(x.FixedSizeBucketingConfig); err != nil {
  6380. return err
  6381. }
  6382. case *PrimitiveTransformation_BucketingConfig:
  6383. b.EncodeVarint(6<<3 | proto.WireBytes)
  6384. if err := b.EncodeMessage(x.BucketingConfig); err != nil {
  6385. return err
  6386. }
  6387. case *PrimitiveTransformation_ReplaceWithInfoTypeConfig:
  6388. b.EncodeVarint(7<<3 | proto.WireBytes)
  6389. if err := b.EncodeMessage(x.ReplaceWithInfoTypeConfig); err != nil {
  6390. return err
  6391. }
  6392. case *PrimitiveTransformation_TimePartConfig:
  6393. b.EncodeVarint(8<<3 | proto.WireBytes)
  6394. if err := b.EncodeMessage(x.TimePartConfig); err != nil {
  6395. return err
  6396. }
  6397. case *PrimitiveTransformation_CryptoHashConfig:
  6398. b.EncodeVarint(9<<3 | proto.WireBytes)
  6399. if err := b.EncodeMessage(x.CryptoHashConfig); err != nil {
  6400. return err
  6401. }
  6402. case *PrimitiveTransformation_DateShiftConfig:
  6403. b.EncodeVarint(11<<3 | proto.WireBytes)
  6404. if err := b.EncodeMessage(x.DateShiftConfig); err != nil {
  6405. return err
  6406. }
  6407. case nil:
  6408. default:
  6409. return fmt.Errorf("PrimitiveTransformation.Transformation has unexpected type %T", x)
  6410. }
  6411. return nil
  6412. }
  6413. func _PrimitiveTransformation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  6414. m := msg.(*PrimitiveTransformation)
  6415. switch tag {
  6416. case 1: // transformation.replace_config
  6417. if wire != proto.WireBytes {
  6418. return true, proto.ErrInternalBadWireType
  6419. }
  6420. msg := new(ReplaceValueConfig)
  6421. err := b.DecodeMessage(msg)
  6422. m.Transformation = &PrimitiveTransformation_ReplaceConfig{msg}
  6423. return true, err
  6424. case 2: // transformation.redact_config
  6425. if wire != proto.WireBytes {
  6426. return true, proto.ErrInternalBadWireType
  6427. }
  6428. msg := new(RedactConfig)
  6429. err := b.DecodeMessage(msg)
  6430. m.Transformation = &PrimitiveTransformation_RedactConfig{msg}
  6431. return true, err
  6432. case 3: // transformation.character_mask_config
  6433. if wire != proto.WireBytes {
  6434. return true, proto.ErrInternalBadWireType
  6435. }
  6436. msg := new(CharacterMaskConfig)
  6437. err := b.DecodeMessage(msg)
  6438. m.Transformation = &PrimitiveTransformation_CharacterMaskConfig{msg}
  6439. return true, err
  6440. case 4: // transformation.crypto_replace_ffx_fpe_config
  6441. if wire != proto.WireBytes {
  6442. return true, proto.ErrInternalBadWireType
  6443. }
  6444. msg := new(CryptoReplaceFfxFpeConfig)
  6445. err := b.DecodeMessage(msg)
  6446. m.Transformation = &PrimitiveTransformation_CryptoReplaceFfxFpeConfig{msg}
  6447. return true, err
  6448. case 5: // transformation.fixed_size_bucketing_config
  6449. if wire != proto.WireBytes {
  6450. return true, proto.ErrInternalBadWireType
  6451. }
  6452. msg := new(FixedSizeBucketingConfig)
  6453. err := b.DecodeMessage(msg)
  6454. m.Transformation = &PrimitiveTransformation_FixedSizeBucketingConfig{msg}
  6455. return true, err
  6456. case 6: // transformation.bucketing_config
  6457. if wire != proto.WireBytes {
  6458. return true, proto.ErrInternalBadWireType
  6459. }
  6460. msg := new(BucketingConfig)
  6461. err := b.DecodeMessage(msg)
  6462. m.Transformation = &PrimitiveTransformation_BucketingConfig{msg}
  6463. return true, err
  6464. case 7: // transformation.replace_with_info_type_config
  6465. if wire != proto.WireBytes {
  6466. return true, proto.ErrInternalBadWireType
  6467. }
  6468. msg := new(ReplaceWithInfoTypeConfig)
  6469. err := b.DecodeMessage(msg)
  6470. m.Transformation = &PrimitiveTransformation_ReplaceWithInfoTypeConfig{msg}
  6471. return true, err
  6472. case 8: // transformation.time_part_config
  6473. if wire != proto.WireBytes {
  6474. return true, proto.ErrInternalBadWireType
  6475. }
  6476. msg := new(TimePartConfig)
  6477. err := b.DecodeMessage(msg)
  6478. m.Transformation = &PrimitiveTransformation_TimePartConfig{msg}
  6479. return true, err
  6480. case 9: // transformation.crypto_hash_config
  6481. if wire != proto.WireBytes {
  6482. return true, proto.ErrInternalBadWireType
  6483. }
  6484. msg := new(CryptoHashConfig)
  6485. err := b.DecodeMessage(msg)
  6486. m.Transformation = &PrimitiveTransformation_CryptoHashConfig{msg}
  6487. return true, err
  6488. case 11: // transformation.date_shift_config
  6489. if wire != proto.WireBytes {
  6490. return true, proto.ErrInternalBadWireType
  6491. }
  6492. msg := new(DateShiftConfig)
  6493. err := b.DecodeMessage(msg)
  6494. m.Transformation = &PrimitiveTransformation_DateShiftConfig{msg}
  6495. return true, err
  6496. default:
  6497. return false, nil
  6498. }
  6499. }
  6500. func _PrimitiveTransformation_OneofSizer(msg proto.Message) (n int) {
  6501. m := msg.(*PrimitiveTransformation)
  6502. // transformation
  6503. switch x := m.Transformation.(type) {
  6504. case *PrimitiveTransformation_ReplaceConfig:
  6505. s := proto.Size(x.ReplaceConfig)
  6506. n += 1 // tag and wire
  6507. n += proto.SizeVarint(uint64(s))
  6508. n += s
  6509. case *PrimitiveTransformation_RedactConfig:
  6510. s := proto.Size(x.RedactConfig)
  6511. n += 1 // tag and wire
  6512. n += proto.SizeVarint(uint64(s))
  6513. n += s
  6514. case *PrimitiveTransformation_CharacterMaskConfig:
  6515. s := proto.Size(x.CharacterMaskConfig)
  6516. n += 1 // tag and wire
  6517. n += proto.SizeVarint(uint64(s))
  6518. n += s
  6519. case *PrimitiveTransformation_CryptoReplaceFfxFpeConfig:
  6520. s := proto.Size(x.CryptoReplaceFfxFpeConfig)
  6521. n += 1 // tag and wire
  6522. n += proto.SizeVarint(uint64(s))
  6523. n += s
  6524. case *PrimitiveTransformation_FixedSizeBucketingConfig:
  6525. s := proto.Size(x.FixedSizeBucketingConfig)
  6526. n += 1 // tag and wire
  6527. n += proto.SizeVarint(uint64(s))
  6528. n += s
  6529. case *PrimitiveTransformation_BucketingConfig:
  6530. s := proto.Size(x.BucketingConfig)
  6531. n += 1 // tag and wire
  6532. n += proto.SizeVarint(uint64(s))
  6533. n += s
  6534. case *PrimitiveTransformation_ReplaceWithInfoTypeConfig:
  6535. s := proto.Size(x.ReplaceWithInfoTypeConfig)
  6536. n += 1 // tag and wire
  6537. n += proto.SizeVarint(uint64(s))
  6538. n += s
  6539. case *PrimitiveTransformation_TimePartConfig:
  6540. s := proto.Size(x.TimePartConfig)
  6541. n += 1 // tag and wire
  6542. n += proto.SizeVarint(uint64(s))
  6543. n += s
  6544. case *PrimitiveTransformation_CryptoHashConfig:
  6545. s := proto.Size(x.CryptoHashConfig)
  6546. n += 1 // tag and wire
  6547. n += proto.SizeVarint(uint64(s))
  6548. n += s
  6549. case *PrimitiveTransformation_DateShiftConfig:
  6550. s := proto.Size(x.DateShiftConfig)
  6551. n += 1 // tag and wire
  6552. n += proto.SizeVarint(uint64(s))
  6553. n += s
  6554. case nil:
  6555. default:
  6556. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  6557. }
  6558. return n
  6559. }
  6560. // For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a
  6561. // portion of the value.
  6562. type TimePartConfig struct {
  6563. PartToExtract TimePartConfig_TimePart `protobuf:"varint,1,opt,name=part_to_extract,json=partToExtract,proto3,enum=google.privacy.dlp.v2.TimePartConfig_TimePart" json:"part_to_extract,omitempty"`
  6564. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  6565. XXX_unrecognized []byte `json:"-"`
  6566. XXX_sizecache int32 `json:"-"`
  6567. }
  6568. func (m *TimePartConfig) Reset() { *m = TimePartConfig{} }
  6569. func (m *TimePartConfig) String() string { return proto.CompactTextString(m) }
  6570. func (*TimePartConfig) ProtoMessage() {}
  6571. func (*TimePartConfig) Descriptor() ([]byte, []int) {
  6572. return fileDescriptor_dlp_9184f835f60c3220, []int{44}
  6573. }
  6574. func (m *TimePartConfig) XXX_Unmarshal(b []byte) error {
  6575. return xxx_messageInfo_TimePartConfig.Unmarshal(m, b)
  6576. }
  6577. func (m *TimePartConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6578. return xxx_messageInfo_TimePartConfig.Marshal(b, m, deterministic)
  6579. }
  6580. func (dst *TimePartConfig) XXX_Merge(src proto.Message) {
  6581. xxx_messageInfo_TimePartConfig.Merge(dst, src)
  6582. }
  6583. func (m *TimePartConfig) XXX_Size() int {
  6584. return xxx_messageInfo_TimePartConfig.Size(m)
  6585. }
  6586. func (m *TimePartConfig) XXX_DiscardUnknown() {
  6587. xxx_messageInfo_TimePartConfig.DiscardUnknown(m)
  6588. }
  6589. var xxx_messageInfo_TimePartConfig proto.InternalMessageInfo
  6590. func (m *TimePartConfig) GetPartToExtract() TimePartConfig_TimePart {
  6591. if m != nil {
  6592. return m.PartToExtract
  6593. }
  6594. return TimePartConfig_TIME_PART_UNSPECIFIED
  6595. }
  6596. // Pseudonymization method that generates surrogates via cryptographic hashing.
  6597. // Uses SHA-256.
  6598. // The key size must be either 32 or 64 bytes.
  6599. // Outputs a base64 encoded representation of the hashed output
  6600. // (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=).
  6601. // Currently, only string and integer values can be hashed.
  6602. // See https://cloud.google.com/dlp/docs/pseudonymization to learn more.
  6603. type CryptoHashConfig struct {
  6604. // The key used by the hash function.
  6605. CryptoKey *CryptoKey `protobuf:"bytes,1,opt,name=crypto_key,json=cryptoKey,proto3" json:"crypto_key,omitempty"`
  6606. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  6607. XXX_unrecognized []byte `json:"-"`
  6608. XXX_sizecache int32 `json:"-"`
  6609. }
  6610. func (m *CryptoHashConfig) Reset() { *m = CryptoHashConfig{} }
  6611. func (m *CryptoHashConfig) String() string { return proto.CompactTextString(m) }
  6612. func (*CryptoHashConfig) ProtoMessage() {}
  6613. func (*CryptoHashConfig) Descriptor() ([]byte, []int) {
  6614. return fileDescriptor_dlp_9184f835f60c3220, []int{45}
  6615. }
  6616. func (m *CryptoHashConfig) XXX_Unmarshal(b []byte) error {
  6617. return xxx_messageInfo_CryptoHashConfig.Unmarshal(m, b)
  6618. }
  6619. func (m *CryptoHashConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6620. return xxx_messageInfo_CryptoHashConfig.Marshal(b, m, deterministic)
  6621. }
  6622. func (dst *CryptoHashConfig) XXX_Merge(src proto.Message) {
  6623. xxx_messageInfo_CryptoHashConfig.Merge(dst, src)
  6624. }
  6625. func (m *CryptoHashConfig) XXX_Size() int {
  6626. return xxx_messageInfo_CryptoHashConfig.Size(m)
  6627. }
  6628. func (m *CryptoHashConfig) XXX_DiscardUnknown() {
  6629. xxx_messageInfo_CryptoHashConfig.DiscardUnknown(m)
  6630. }
  6631. var xxx_messageInfo_CryptoHashConfig proto.InternalMessageInfo
  6632. func (m *CryptoHashConfig) GetCryptoKey() *CryptoKey {
  6633. if m != nil {
  6634. return m.CryptoKey
  6635. }
  6636. return nil
  6637. }
  6638. // Replace each input value with a given `Value`.
  6639. type ReplaceValueConfig struct {
  6640. // Value to replace it with.
  6641. NewValue *Value `protobuf:"bytes,1,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
  6642. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  6643. XXX_unrecognized []byte `json:"-"`
  6644. XXX_sizecache int32 `json:"-"`
  6645. }
  6646. func (m *ReplaceValueConfig) Reset() { *m = ReplaceValueConfig{} }
  6647. func (m *ReplaceValueConfig) String() string { return proto.CompactTextString(m) }
  6648. func (*ReplaceValueConfig) ProtoMessage() {}
  6649. func (*ReplaceValueConfig) Descriptor() ([]byte, []int) {
  6650. return fileDescriptor_dlp_9184f835f60c3220, []int{46}
  6651. }
  6652. func (m *ReplaceValueConfig) XXX_Unmarshal(b []byte) error {
  6653. return xxx_messageInfo_ReplaceValueConfig.Unmarshal(m, b)
  6654. }
  6655. func (m *ReplaceValueConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6656. return xxx_messageInfo_ReplaceValueConfig.Marshal(b, m, deterministic)
  6657. }
  6658. func (dst *ReplaceValueConfig) XXX_Merge(src proto.Message) {
  6659. xxx_messageInfo_ReplaceValueConfig.Merge(dst, src)
  6660. }
  6661. func (m *ReplaceValueConfig) XXX_Size() int {
  6662. return xxx_messageInfo_ReplaceValueConfig.Size(m)
  6663. }
  6664. func (m *ReplaceValueConfig) XXX_DiscardUnknown() {
  6665. xxx_messageInfo_ReplaceValueConfig.DiscardUnknown(m)
  6666. }
  6667. var xxx_messageInfo_ReplaceValueConfig proto.InternalMessageInfo
  6668. func (m *ReplaceValueConfig) GetNewValue() *Value {
  6669. if m != nil {
  6670. return m.NewValue
  6671. }
  6672. return nil
  6673. }
  6674. // Replace each matching finding with the name of the info_type.
  6675. type ReplaceWithInfoTypeConfig struct {
  6676. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  6677. XXX_unrecognized []byte `json:"-"`
  6678. XXX_sizecache int32 `json:"-"`
  6679. }
  6680. func (m *ReplaceWithInfoTypeConfig) Reset() { *m = ReplaceWithInfoTypeConfig{} }
  6681. func (m *ReplaceWithInfoTypeConfig) String() string { return proto.CompactTextString(m) }
  6682. func (*ReplaceWithInfoTypeConfig) ProtoMessage() {}
  6683. func (*ReplaceWithInfoTypeConfig) Descriptor() ([]byte, []int) {
  6684. return fileDescriptor_dlp_9184f835f60c3220, []int{47}
  6685. }
  6686. func (m *ReplaceWithInfoTypeConfig) XXX_Unmarshal(b []byte) error {
  6687. return xxx_messageInfo_ReplaceWithInfoTypeConfig.Unmarshal(m, b)
  6688. }
  6689. func (m *ReplaceWithInfoTypeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6690. return xxx_messageInfo_ReplaceWithInfoTypeConfig.Marshal(b, m, deterministic)
  6691. }
  6692. func (dst *ReplaceWithInfoTypeConfig) XXX_Merge(src proto.Message) {
  6693. xxx_messageInfo_ReplaceWithInfoTypeConfig.Merge(dst, src)
  6694. }
  6695. func (m *ReplaceWithInfoTypeConfig) XXX_Size() int {
  6696. return xxx_messageInfo_ReplaceWithInfoTypeConfig.Size(m)
  6697. }
  6698. func (m *ReplaceWithInfoTypeConfig) XXX_DiscardUnknown() {
  6699. xxx_messageInfo_ReplaceWithInfoTypeConfig.DiscardUnknown(m)
  6700. }
  6701. var xxx_messageInfo_ReplaceWithInfoTypeConfig proto.InternalMessageInfo
  6702. // Redact a given value. For example, if used with an `InfoTypeTransformation`
  6703. // transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the
  6704. // output would be 'My phone number is '.
  6705. type RedactConfig struct {
  6706. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  6707. XXX_unrecognized []byte `json:"-"`
  6708. XXX_sizecache int32 `json:"-"`
  6709. }
  6710. func (m *RedactConfig) Reset() { *m = RedactConfig{} }
  6711. func (m *RedactConfig) String() string { return proto.CompactTextString(m) }
  6712. func (*RedactConfig) ProtoMessage() {}
  6713. func (*RedactConfig) Descriptor() ([]byte, []int) {
  6714. return fileDescriptor_dlp_9184f835f60c3220, []int{48}
  6715. }
  6716. func (m *RedactConfig) XXX_Unmarshal(b []byte) error {
  6717. return xxx_messageInfo_RedactConfig.Unmarshal(m, b)
  6718. }
  6719. func (m *RedactConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6720. return xxx_messageInfo_RedactConfig.Marshal(b, m, deterministic)
  6721. }
  6722. func (dst *RedactConfig) XXX_Merge(src proto.Message) {
  6723. xxx_messageInfo_RedactConfig.Merge(dst, src)
  6724. }
  6725. func (m *RedactConfig) XXX_Size() int {
  6726. return xxx_messageInfo_RedactConfig.Size(m)
  6727. }
  6728. func (m *RedactConfig) XXX_DiscardUnknown() {
  6729. xxx_messageInfo_RedactConfig.DiscardUnknown(m)
  6730. }
  6731. var xxx_messageInfo_RedactConfig proto.InternalMessageInfo
  6732. // Characters to skip when doing deidentification of a value. These will be left
  6733. // alone and skipped.
  6734. type CharsToIgnore struct {
  6735. // Types that are valid to be assigned to Characters:
  6736. // *CharsToIgnore_CharactersToSkip
  6737. // *CharsToIgnore_CommonCharactersToIgnore
  6738. Characters isCharsToIgnore_Characters `protobuf_oneof:"characters"`
  6739. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  6740. XXX_unrecognized []byte `json:"-"`
  6741. XXX_sizecache int32 `json:"-"`
  6742. }
  6743. func (m *CharsToIgnore) Reset() { *m = CharsToIgnore{} }
  6744. func (m *CharsToIgnore) String() string { return proto.CompactTextString(m) }
  6745. func (*CharsToIgnore) ProtoMessage() {}
  6746. func (*CharsToIgnore) Descriptor() ([]byte, []int) {
  6747. return fileDescriptor_dlp_9184f835f60c3220, []int{49}
  6748. }
  6749. func (m *CharsToIgnore) XXX_Unmarshal(b []byte) error {
  6750. return xxx_messageInfo_CharsToIgnore.Unmarshal(m, b)
  6751. }
  6752. func (m *CharsToIgnore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6753. return xxx_messageInfo_CharsToIgnore.Marshal(b, m, deterministic)
  6754. }
  6755. func (dst *CharsToIgnore) XXX_Merge(src proto.Message) {
  6756. xxx_messageInfo_CharsToIgnore.Merge(dst, src)
  6757. }
  6758. func (m *CharsToIgnore) XXX_Size() int {
  6759. return xxx_messageInfo_CharsToIgnore.Size(m)
  6760. }
  6761. func (m *CharsToIgnore) XXX_DiscardUnknown() {
  6762. xxx_messageInfo_CharsToIgnore.DiscardUnknown(m)
  6763. }
  6764. var xxx_messageInfo_CharsToIgnore proto.InternalMessageInfo
  6765. type isCharsToIgnore_Characters interface {
  6766. isCharsToIgnore_Characters()
  6767. }
  6768. type CharsToIgnore_CharactersToSkip struct {
  6769. CharactersToSkip string `protobuf:"bytes,1,opt,name=characters_to_skip,json=charactersToSkip,proto3,oneof"`
  6770. }
  6771. type CharsToIgnore_CommonCharactersToIgnore struct {
  6772. CommonCharactersToIgnore CharsToIgnore_CommonCharsToIgnore `protobuf:"varint,2,opt,name=common_characters_to_ignore,json=commonCharactersToIgnore,proto3,enum=google.privacy.dlp.v2.CharsToIgnore_CommonCharsToIgnore,oneof"`
  6773. }
  6774. func (*CharsToIgnore_CharactersToSkip) isCharsToIgnore_Characters() {}
  6775. func (*CharsToIgnore_CommonCharactersToIgnore) isCharsToIgnore_Characters() {}
  6776. func (m *CharsToIgnore) GetCharacters() isCharsToIgnore_Characters {
  6777. if m != nil {
  6778. return m.Characters
  6779. }
  6780. return nil
  6781. }
  6782. func (m *CharsToIgnore) GetCharactersToSkip() string {
  6783. if x, ok := m.GetCharacters().(*CharsToIgnore_CharactersToSkip); ok {
  6784. return x.CharactersToSkip
  6785. }
  6786. return ""
  6787. }
  6788. func (m *CharsToIgnore) GetCommonCharactersToIgnore() CharsToIgnore_CommonCharsToIgnore {
  6789. if x, ok := m.GetCharacters().(*CharsToIgnore_CommonCharactersToIgnore); ok {
  6790. return x.CommonCharactersToIgnore
  6791. }
  6792. return CharsToIgnore_COMMON_CHARS_TO_IGNORE_UNSPECIFIED
  6793. }
  6794. // XXX_OneofFuncs is for the internal use of the proto package.
  6795. func (*CharsToIgnore) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  6796. return _CharsToIgnore_OneofMarshaler, _CharsToIgnore_OneofUnmarshaler, _CharsToIgnore_OneofSizer, []interface{}{
  6797. (*CharsToIgnore_CharactersToSkip)(nil),
  6798. (*CharsToIgnore_CommonCharactersToIgnore)(nil),
  6799. }
  6800. }
  6801. func _CharsToIgnore_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  6802. m := msg.(*CharsToIgnore)
  6803. // characters
  6804. switch x := m.Characters.(type) {
  6805. case *CharsToIgnore_CharactersToSkip:
  6806. b.EncodeVarint(1<<3 | proto.WireBytes)
  6807. b.EncodeStringBytes(x.CharactersToSkip)
  6808. case *CharsToIgnore_CommonCharactersToIgnore:
  6809. b.EncodeVarint(2<<3 | proto.WireVarint)
  6810. b.EncodeVarint(uint64(x.CommonCharactersToIgnore))
  6811. case nil:
  6812. default:
  6813. return fmt.Errorf("CharsToIgnore.Characters has unexpected type %T", x)
  6814. }
  6815. return nil
  6816. }
  6817. func _CharsToIgnore_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  6818. m := msg.(*CharsToIgnore)
  6819. switch tag {
  6820. case 1: // characters.characters_to_skip
  6821. if wire != proto.WireBytes {
  6822. return true, proto.ErrInternalBadWireType
  6823. }
  6824. x, err := b.DecodeStringBytes()
  6825. m.Characters = &CharsToIgnore_CharactersToSkip{x}
  6826. return true, err
  6827. case 2: // characters.common_characters_to_ignore
  6828. if wire != proto.WireVarint {
  6829. return true, proto.ErrInternalBadWireType
  6830. }
  6831. x, err := b.DecodeVarint()
  6832. m.Characters = &CharsToIgnore_CommonCharactersToIgnore{CharsToIgnore_CommonCharsToIgnore(x)}
  6833. return true, err
  6834. default:
  6835. return false, nil
  6836. }
  6837. }
  6838. func _CharsToIgnore_OneofSizer(msg proto.Message) (n int) {
  6839. m := msg.(*CharsToIgnore)
  6840. // characters
  6841. switch x := m.Characters.(type) {
  6842. case *CharsToIgnore_CharactersToSkip:
  6843. n += 1 // tag and wire
  6844. n += proto.SizeVarint(uint64(len(x.CharactersToSkip)))
  6845. n += len(x.CharactersToSkip)
  6846. case *CharsToIgnore_CommonCharactersToIgnore:
  6847. n += 1 // tag and wire
  6848. n += proto.SizeVarint(uint64(x.CommonCharactersToIgnore))
  6849. case nil:
  6850. default:
  6851. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  6852. }
  6853. return n
  6854. }
  6855. // Partially mask a string by replacing a given number of characters with a
  6856. // fixed character. Masking can start from the beginning or end of the string.
  6857. // This can be used on data of any type (numbers, longs, and so on) and when
  6858. // de-identifying structured data we'll attempt to preserve the original data's
  6859. // type. (This allows you to take a long like 123 and modify it to a string like
  6860. // **3.
  6861. type CharacterMaskConfig struct {
  6862. // Character to mask the sensitive values&mdash;for example, "*" for an
  6863. // alphabetic string such as name, or "0" for a numeric string such as ZIP
  6864. // code or credit card number. String must have length 1. If not supplied, we
  6865. // will default to "*" for strings, 0 for digits.
  6866. MaskingCharacter string `protobuf:"bytes,1,opt,name=masking_character,json=maskingCharacter,proto3" json:"masking_character,omitempty"`
  6867. // Number of characters to mask. If not set, all matching chars will be
  6868. // masked. Skipped characters do not count towards this tally.
  6869. NumberToMask int32 `protobuf:"varint,2,opt,name=number_to_mask,json=numberToMask,proto3" json:"number_to_mask,omitempty"`
  6870. // Mask characters in reverse order. For example, if `masking_character` is
  6871. // '0', number_to_mask is 14, and `reverse_order` is false, then
  6872. // 1234-5678-9012-3456 -> 00000000000000-3456
  6873. // If `masking_character` is '*', `number_to_mask` is 3, and `reverse_order`
  6874. // is true, then 12345 -> 12***
  6875. ReverseOrder bool `protobuf:"varint,3,opt,name=reverse_order,json=reverseOrder,proto3" json:"reverse_order,omitempty"`
  6876. // When masking a string, items in this list will be skipped when replacing.
  6877. // For example, if your string is 555-555-5555 and you ask us to skip `-` and
  6878. // mask 5 chars with * we would produce ***-*55-5555.
  6879. CharactersToIgnore []*CharsToIgnore `protobuf:"bytes,4,rep,name=characters_to_ignore,json=charactersToIgnore,proto3" json:"characters_to_ignore,omitempty"`
  6880. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  6881. XXX_unrecognized []byte `json:"-"`
  6882. XXX_sizecache int32 `json:"-"`
  6883. }
  6884. func (m *CharacterMaskConfig) Reset() { *m = CharacterMaskConfig{} }
  6885. func (m *CharacterMaskConfig) String() string { return proto.CompactTextString(m) }
  6886. func (*CharacterMaskConfig) ProtoMessage() {}
  6887. func (*CharacterMaskConfig) Descriptor() ([]byte, []int) {
  6888. return fileDescriptor_dlp_9184f835f60c3220, []int{50}
  6889. }
  6890. func (m *CharacterMaskConfig) XXX_Unmarshal(b []byte) error {
  6891. return xxx_messageInfo_CharacterMaskConfig.Unmarshal(m, b)
  6892. }
  6893. func (m *CharacterMaskConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6894. return xxx_messageInfo_CharacterMaskConfig.Marshal(b, m, deterministic)
  6895. }
  6896. func (dst *CharacterMaskConfig) XXX_Merge(src proto.Message) {
  6897. xxx_messageInfo_CharacterMaskConfig.Merge(dst, src)
  6898. }
  6899. func (m *CharacterMaskConfig) XXX_Size() int {
  6900. return xxx_messageInfo_CharacterMaskConfig.Size(m)
  6901. }
  6902. func (m *CharacterMaskConfig) XXX_DiscardUnknown() {
  6903. xxx_messageInfo_CharacterMaskConfig.DiscardUnknown(m)
  6904. }
  6905. var xxx_messageInfo_CharacterMaskConfig proto.InternalMessageInfo
  6906. func (m *CharacterMaskConfig) GetMaskingCharacter() string {
  6907. if m != nil {
  6908. return m.MaskingCharacter
  6909. }
  6910. return ""
  6911. }
  6912. func (m *CharacterMaskConfig) GetNumberToMask() int32 {
  6913. if m != nil {
  6914. return m.NumberToMask
  6915. }
  6916. return 0
  6917. }
  6918. func (m *CharacterMaskConfig) GetReverseOrder() bool {
  6919. if m != nil {
  6920. return m.ReverseOrder
  6921. }
  6922. return false
  6923. }
  6924. func (m *CharacterMaskConfig) GetCharactersToIgnore() []*CharsToIgnore {
  6925. if m != nil {
  6926. return m.CharactersToIgnore
  6927. }
  6928. return nil
  6929. }
  6930. // Buckets values based on fixed size ranges. The
  6931. // Bucketing transformation can provide all of this functionality,
  6932. // but requires more configuration. This message is provided as a convenience to
  6933. // the user for simple bucketing strategies.
  6934. //
  6935. // The transformed value will be a hyphenated string of
  6936. // <lower_bound>-<upper_bound>, i.e if lower_bound = 10 and upper_bound = 20
  6937. // all values that are within this bucket will be replaced with "10-20".
  6938. //
  6939. // This can be used on data of type: double, long.
  6940. //
  6941. // If the bound Value type differs from the type of data
  6942. // being transformed, we will first attempt converting the type of the data to
  6943. // be transformed to match the type of the bound before comparing.
  6944. //
  6945. // See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.
  6946. type FixedSizeBucketingConfig struct {
  6947. // Lower bound value of buckets. All values less than `lower_bound` are
  6948. // grouped together into a single bucket; for example if `lower_bound` = 10,
  6949. // then all values less than 10 are replaced with the value “-10”. [Required].
  6950. LowerBound *Value `protobuf:"bytes,1,opt,name=lower_bound,json=lowerBound,proto3" json:"lower_bound,omitempty"`
  6951. // Upper bound value of buckets. All values greater than upper_bound are
  6952. // grouped together into a single bucket; for example if `upper_bound` = 89,
  6953. // then all values greater than 89 are replaced with the value “89+”.
  6954. // [Required].
  6955. UpperBound *Value `protobuf:"bytes,2,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"`
  6956. // Size of each bucket (except for minimum and maximum buckets). So if
  6957. // `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
  6958. // following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60,
  6959. // 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works. [Required].
  6960. BucketSize float64 `protobuf:"fixed64,3,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"`
  6961. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  6962. XXX_unrecognized []byte `json:"-"`
  6963. XXX_sizecache int32 `json:"-"`
  6964. }
  6965. func (m *FixedSizeBucketingConfig) Reset() { *m = FixedSizeBucketingConfig{} }
  6966. func (m *FixedSizeBucketingConfig) String() string { return proto.CompactTextString(m) }
  6967. func (*FixedSizeBucketingConfig) ProtoMessage() {}
  6968. func (*FixedSizeBucketingConfig) Descriptor() ([]byte, []int) {
  6969. return fileDescriptor_dlp_9184f835f60c3220, []int{51}
  6970. }
  6971. func (m *FixedSizeBucketingConfig) XXX_Unmarshal(b []byte) error {
  6972. return xxx_messageInfo_FixedSizeBucketingConfig.Unmarshal(m, b)
  6973. }
  6974. func (m *FixedSizeBucketingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  6975. return xxx_messageInfo_FixedSizeBucketingConfig.Marshal(b, m, deterministic)
  6976. }
  6977. func (dst *FixedSizeBucketingConfig) XXX_Merge(src proto.Message) {
  6978. xxx_messageInfo_FixedSizeBucketingConfig.Merge(dst, src)
  6979. }
  6980. func (m *FixedSizeBucketingConfig) XXX_Size() int {
  6981. return xxx_messageInfo_FixedSizeBucketingConfig.Size(m)
  6982. }
  6983. func (m *FixedSizeBucketingConfig) XXX_DiscardUnknown() {
  6984. xxx_messageInfo_FixedSizeBucketingConfig.DiscardUnknown(m)
  6985. }
  6986. var xxx_messageInfo_FixedSizeBucketingConfig proto.InternalMessageInfo
  6987. func (m *FixedSizeBucketingConfig) GetLowerBound() *Value {
  6988. if m != nil {
  6989. return m.LowerBound
  6990. }
  6991. return nil
  6992. }
  6993. func (m *FixedSizeBucketingConfig) GetUpperBound() *Value {
  6994. if m != nil {
  6995. return m.UpperBound
  6996. }
  6997. return nil
  6998. }
  6999. func (m *FixedSizeBucketingConfig) GetBucketSize() float64 {
  7000. if m != nil {
  7001. return m.BucketSize
  7002. }
  7003. return 0
  7004. }
  7005. // Generalization function that buckets values based on ranges. The ranges and
  7006. // replacement values are dynamically provided by the user for custom behavior,
  7007. // such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH
  7008. // This can be used on
  7009. // data of type: number, long, string, timestamp.
  7010. // If the bound `Value` type differs from the type of data being transformed, we
  7011. // will first attempt converting the type of the data to be transformed to match
  7012. // the type of the bound before comparing.
  7013. // See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.
  7014. type BucketingConfig struct {
  7015. // Set of buckets. Ranges must be non-overlapping.
  7016. Buckets []*BucketingConfig_Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"`
  7017. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  7018. XXX_unrecognized []byte `json:"-"`
  7019. XXX_sizecache int32 `json:"-"`
  7020. }
  7021. func (m *BucketingConfig) Reset() { *m = BucketingConfig{} }
  7022. func (m *BucketingConfig) String() string { return proto.CompactTextString(m) }
  7023. func (*BucketingConfig) ProtoMessage() {}
  7024. func (*BucketingConfig) Descriptor() ([]byte, []int) {
  7025. return fileDescriptor_dlp_9184f835f60c3220, []int{52}
  7026. }
  7027. func (m *BucketingConfig) XXX_Unmarshal(b []byte) error {
  7028. return xxx_messageInfo_BucketingConfig.Unmarshal(m, b)
  7029. }
  7030. func (m *BucketingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  7031. return xxx_messageInfo_BucketingConfig.Marshal(b, m, deterministic)
  7032. }
  7033. func (dst *BucketingConfig) XXX_Merge(src proto.Message) {
  7034. xxx_messageInfo_BucketingConfig.Merge(dst, src)
  7035. }
  7036. func (m *BucketingConfig) XXX_Size() int {
  7037. return xxx_messageInfo_BucketingConfig.Size(m)
  7038. }
  7039. func (m *BucketingConfig) XXX_DiscardUnknown() {
  7040. xxx_messageInfo_BucketingConfig.DiscardUnknown(m)
  7041. }
  7042. var xxx_messageInfo_BucketingConfig proto.InternalMessageInfo
  7043. func (m *BucketingConfig) GetBuckets() []*BucketingConfig_Bucket {
  7044. if m != nil {
  7045. return m.Buckets
  7046. }
  7047. return nil
  7048. }
  7049. // Bucket is represented as a range, along with replacement values.
  7050. type BucketingConfig_Bucket struct {
  7051. // Lower bound of the range, inclusive. Type should be the same as max if
  7052. // used.
  7053. Min *Value `protobuf:"bytes,1,opt,name=min,proto3" json:"min,omitempty"`
  7054. // Upper bound of the range, exclusive; type must match min.
  7055. Max *Value `protobuf:"bytes,2,opt,name=max,proto3" json:"max,omitempty"`
  7056. // Replacement value for this bucket. If not provided
  7057. // the default behavior will be to hyphenate the min-max range.
  7058. ReplacementValue *Value `protobuf:"bytes,3,opt,name=replacement_value,json=replacementValue,proto3" json:"replacement_value,omitempty"`
  7059. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  7060. XXX_unrecognized []byte `json:"-"`
  7061. XXX_sizecache int32 `json:"-"`
  7062. }
  7063. func (m *BucketingConfig_Bucket) Reset() { *m = BucketingConfig_Bucket{} }
  7064. func (m *BucketingConfig_Bucket) String() string { return proto.CompactTextString(m) }
  7065. func (*BucketingConfig_Bucket) ProtoMessage() {}
  7066. func (*BucketingConfig_Bucket) Descriptor() ([]byte, []int) {
  7067. return fileDescriptor_dlp_9184f835f60c3220, []int{52, 0}
  7068. }
  7069. func (m *BucketingConfig_Bucket) XXX_Unmarshal(b []byte) error {
  7070. return xxx_messageInfo_BucketingConfig_Bucket.Unmarshal(m, b)
  7071. }
  7072. func (m *BucketingConfig_Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  7073. return xxx_messageInfo_BucketingConfig_Bucket.Marshal(b, m, deterministic)
  7074. }
  7075. func (dst *BucketingConfig_Bucket) XXX_Merge(src proto.Message) {
  7076. xxx_messageInfo_BucketingConfig_Bucket.Merge(dst, src)
  7077. }
  7078. func (m *BucketingConfig_Bucket) XXX_Size() int {
  7079. return xxx_messageInfo_BucketingConfig_Bucket.Size(m)
  7080. }
  7081. func (m *BucketingConfig_Bucket) XXX_DiscardUnknown() {
  7082. xxx_messageInfo_BucketingConfig_Bucket.DiscardUnknown(m)
  7083. }
  7084. var xxx_messageInfo_BucketingConfig_Bucket proto.InternalMessageInfo
  7085. func (m *BucketingConfig_Bucket) GetMin() *Value {
  7086. if m != nil {
  7087. return m.Min
  7088. }
  7089. return nil
  7090. }
  7091. func (m *BucketingConfig_Bucket) GetMax() *Value {
  7092. if m != nil {
  7093. return m.Max
  7094. }
  7095. return nil
  7096. }
  7097. func (m *BucketingConfig_Bucket) GetReplacementValue() *Value {
  7098. if m != nil {
  7099. return m.ReplacementValue
  7100. }
  7101. return nil
  7102. }
  7103. // Replaces an identifier with a surrogate using FPE with the FFX
  7104. // mode of operation; however when used in the `ReidentifyContent` API method,
  7105. // it serves the opposite function by reversing the surrogate back into
  7106. // the original identifier.
  7107. // The identifier must be encoded as ASCII.
  7108. // For a given crypto key and context, the same identifier will be
  7109. // replaced with the same surrogate.
  7110. // Identifiers must be at least two characters long.
  7111. // In the case that the identifier is the empty string, it will be skipped.
  7112. // See https://cloud.google.com/dlp/docs/pseudonymization to learn more.
  7113. type CryptoReplaceFfxFpeConfig struct {
  7114. // The key used by the encryption algorithm. [required]
  7115. CryptoKey *CryptoKey `protobuf:"bytes,1,opt,name=crypto_key,json=cryptoKey,proto3" json:"crypto_key,omitempty"`
  7116. // The 'tweak', a context may be used for higher security since the same
  7117. // identifier in two different contexts won't be given the same surrogate. If
  7118. // the context is not set, a default tweak will be used.
  7119. //
  7120. // If the context is set but:
  7121. //
  7122. // 1. there is no record present when transforming a given value or
  7123. // 1. the field is not present when transforming a given value,
  7124. //
  7125. // a default tweak will be used.
  7126. //
  7127. // Note that case (1) is expected when an `InfoTypeTransformation` is
  7128. // applied to both structured and non-structured `ContentItem`s.
  7129. // Currently, the referenced field may be of value type integer or string.
  7130. //
  7131. // The tweak is constructed as a sequence of bytes in big endian byte order
  7132. // such that:
  7133. //
  7134. // - a 64 bit integer is encoded followed by a single byte of value 1
  7135. // - a string is encoded in UTF-8 format followed by a single byte of value 2
  7136. Context *FieldId `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"`
  7137. // Types that are valid to be assigned to Alphabet:
  7138. // *CryptoReplaceFfxFpeConfig_CommonAlphabet
  7139. // *CryptoReplaceFfxFpeConfig_CustomAlphabet
  7140. // *CryptoReplaceFfxFpeConfig_Radix
  7141. Alphabet isCryptoReplaceFfxFpeConfig_Alphabet `protobuf_oneof:"alphabet"`
  7142. // The custom infoType to annotate the surrogate with.
  7143. // This annotation will be applied to the surrogate by prefixing it with
  7144. // the name of the custom infoType followed by the number of
  7145. // characters comprising the surrogate. The following scheme defines the
  7146. // format: info_type_name(surrogate_character_count):surrogate
  7147. //
  7148. // For example, if the name of custom infoType is 'MY_TOKEN_INFO_TYPE' and
  7149. // the surrogate is 'abc', the full replacement value
  7150. // will be: 'MY_TOKEN_INFO_TYPE(3):abc'
  7151. //
  7152. // This annotation identifies the surrogate when inspecting content using the
  7153. // custom infoType
  7154. // [`SurrogateType`](/dlp/docs/reference/rest/v2/InspectConfig#surrogatetype).
  7155. // This facilitates reversal of the surrogate when it occurs in free text.
  7156. //
  7157. // In order for inspection to work properly, the name of this infoType must
  7158. // not occur naturally anywhere in your data; otherwise, inspection may
  7159. // find a surrogate that does not correspond to an actual identifier.
  7160. // Therefore, choose your custom infoType name carefully after considering
  7161. // what your data looks like. One way to select a name that has a high chance
  7162. // of yielding reliable detection is to include one or more unicode characters
  7163. // that are highly improbable to exist in your data.
  7164. // For example, assuming your data is entered from a regular ASCII keyboard,
  7165. // the symbol with the hex code point 29DD might be used like so:
  7166. // ⧝MY_TOKEN_TYPE
  7167. SurrogateInfoType *InfoType `protobuf:"bytes,8,opt,name=surrogate_info_type,json=surrogateInfoType,proto3" json:"surrogate_info_type,omitempty"`
  7168. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  7169. XXX_unrecognized []byte `json:"-"`
  7170. XXX_sizecache int32 `json:"-"`
  7171. }
  7172. func (m *CryptoReplaceFfxFpeConfig) Reset() { *m = CryptoReplaceFfxFpeConfig{} }
  7173. func (m *CryptoReplaceFfxFpeConfig) String() string { return proto.CompactTextString(m) }
  7174. func (*CryptoReplaceFfxFpeConfig) ProtoMessage() {}
  7175. func (*CryptoReplaceFfxFpeConfig) Descriptor() ([]byte, []int) {
  7176. return fileDescriptor_dlp_9184f835f60c3220, []int{53}
  7177. }
  7178. func (m *CryptoReplaceFfxFpeConfig) XXX_Unmarshal(b []byte) error {
  7179. return xxx_messageInfo_CryptoReplaceFfxFpeConfig.Unmarshal(m, b)
  7180. }
  7181. func (m *CryptoReplaceFfxFpeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  7182. return xxx_messageInfo_CryptoReplaceFfxFpeConfig.Marshal(b, m, deterministic)
  7183. }
  7184. func (dst *CryptoReplaceFfxFpeConfig) XXX_Merge(src proto.Message) {
  7185. xxx_messageInfo_CryptoReplaceFfxFpeConfig.Merge(dst, src)
  7186. }
  7187. func (m *CryptoReplaceFfxFpeConfig) XXX_Size() int {
  7188. return xxx_messageInfo_CryptoReplaceFfxFpeConfig.Size(m)
  7189. }
  7190. func (m *CryptoReplaceFfxFpeConfig) XXX_DiscardUnknown() {
  7191. xxx_messageInfo_CryptoReplaceFfxFpeConfig.DiscardUnknown(m)
  7192. }
  7193. var xxx_messageInfo_CryptoReplaceFfxFpeConfig proto.InternalMessageInfo
  7194. func (m *CryptoReplaceFfxFpeConfig) GetCryptoKey() *CryptoKey {
  7195. if m != nil {
  7196. return m.CryptoKey
  7197. }
  7198. return nil
  7199. }
  7200. func (m *CryptoReplaceFfxFpeConfig) GetContext() *FieldId {
  7201. if m != nil {
  7202. return m.Context
  7203. }
  7204. return nil
  7205. }
  7206. type isCryptoReplaceFfxFpeConfig_Alphabet interface {
  7207. isCryptoReplaceFfxFpeConfig_Alphabet()
  7208. }
  7209. type CryptoReplaceFfxFpeConfig_CommonAlphabet struct {
  7210. CommonAlphabet CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet `protobuf:"varint,4,opt,name=common_alphabet,json=commonAlphabet,proto3,enum=google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet,oneof"`
  7211. }
  7212. type CryptoReplaceFfxFpeConfig_CustomAlphabet struct {
  7213. CustomAlphabet string `protobuf:"bytes,5,opt,name=custom_alphabet,json=customAlphabet,proto3,oneof"`
  7214. }
  7215. type CryptoReplaceFfxFpeConfig_Radix struct {
  7216. Radix int32 `protobuf:"varint,6,opt,name=radix,proto3,oneof"`
  7217. }
  7218. func (*CryptoReplaceFfxFpeConfig_CommonAlphabet) isCryptoReplaceFfxFpeConfig_Alphabet() {}
  7219. func (*CryptoReplaceFfxFpeConfig_CustomAlphabet) isCryptoReplaceFfxFpeConfig_Alphabet() {}
  7220. func (*CryptoReplaceFfxFpeConfig_Radix) isCryptoReplaceFfxFpeConfig_Alphabet() {}
  7221. func (m *CryptoReplaceFfxFpeConfig) GetAlphabet() isCryptoReplaceFfxFpeConfig_Alphabet {
  7222. if m != nil {
  7223. return m.Alphabet
  7224. }
  7225. return nil
  7226. }
  7227. func (m *CryptoReplaceFfxFpeConfig) GetCommonAlphabet() CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet {
  7228. if x, ok := m.GetAlphabet().(*CryptoReplaceFfxFpeConfig_CommonAlphabet); ok {
  7229. return x.CommonAlphabet
  7230. }
  7231. return CryptoReplaceFfxFpeConfig_FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED
  7232. }
  7233. func (m *CryptoReplaceFfxFpeConfig) GetCustomAlphabet() string {
  7234. if x, ok := m.GetAlphabet().(*CryptoReplaceFfxFpeConfig_CustomAlphabet); ok {
  7235. return x.CustomAlphabet
  7236. }
  7237. return ""
  7238. }
  7239. func (m *CryptoReplaceFfxFpeConfig) GetRadix() int32 {
  7240. if x, ok := m.GetAlphabet().(*CryptoReplaceFfxFpeConfig_Radix); ok {
  7241. return x.Radix
  7242. }
  7243. return 0
  7244. }
  7245. func (m *CryptoReplaceFfxFpeConfig) GetSurrogateInfoType() *InfoType {
  7246. if m != nil {
  7247. return m.SurrogateInfoType
  7248. }
  7249. return nil
  7250. }
  7251. // XXX_OneofFuncs is for the internal use of the proto package.
  7252. func (*CryptoReplaceFfxFpeConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  7253. return _CryptoReplaceFfxFpeConfig_OneofMarshaler, _CryptoReplaceFfxFpeConfig_OneofUnmarshaler, _CryptoReplaceFfxFpeConfig_OneofSizer, []interface{}{
  7254. (*CryptoReplaceFfxFpeConfig_CommonAlphabet)(nil),
  7255. (*CryptoReplaceFfxFpeConfig_CustomAlphabet)(nil),
  7256. (*CryptoReplaceFfxFpeConfig_Radix)(nil),
  7257. }
  7258. }
  7259. func _CryptoReplaceFfxFpeConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  7260. m := msg.(*CryptoReplaceFfxFpeConfig)
  7261. // alphabet
  7262. switch x := m.Alphabet.(type) {
  7263. case *CryptoReplaceFfxFpeConfig_CommonAlphabet:
  7264. b.EncodeVarint(4<<3 | proto.WireVarint)
  7265. b.EncodeVarint(uint64(x.CommonAlphabet))
  7266. case *CryptoReplaceFfxFpeConfig_CustomAlphabet:
  7267. b.EncodeVarint(5<<3 | proto.WireBytes)
  7268. b.EncodeStringBytes(x.CustomAlphabet)
  7269. case *CryptoReplaceFfxFpeConfig_Radix:
  7270. b.EncodeVarint(6<<3 | proto.WireVarint)
  7271. b.EncodeVarint(uint64(x.Radix))
  7272. case nil:
  7273. default:
  7274. return fmt.Errorf("CryptoReplaceFfxFpeConfig.Alphabet has unexpected type %T", x)
  7275. }
  7276. return nil
  7277. }
  7278. func _CryptoReplaceFfxFpeConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  7279. m := msg.(*CryptoReplaceFfxFpeConfig)
  7280. switch tag {
  7281. case 4: // alphabet.common_alphabet
  7282. if wire != proto.WireVarint {
  7283. return true, proto.ErrInternalBadWireType
  7284. }
  7285. x, err := b.DecodeVarint()
  7286. m.Alphabet = &CryptoReplaceFfxFpeConfig_CommonAlphabet{CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet(x)}
  7287. return true, err
  7288. case 5: // alphabet.custom_alphabet
  7289. if wire != proto.WireBytes {
  7290. return true, proto.ErrInternalBadWireType
  7291. }
  7292. x, err := b.DecodeStringBytes()
  7293. m.Alphabet = &CryptoReplaceFfxFpeConfig_CustomAlphabet{x}
  7294. return true, err
  7295. case 6: // alphabet.radix
  7296. if wire != proto.WireVarint {
  7297. return true, proto.ErrInternalBadWireType
  7298. }
  7299. x, err := b.DecodeVarint()
  7300. m.Alphabet = &CryptoReplaceFfxFpeConfig_Radix{int32(x)}
  7301. return true, err
  7302. default:
  7303. return false, nil
  7304. }
  7305. }
  7306. func _CryptoReplaceFfxFpeConfig_OneofSizer(msg proto.Message) (n int) {
  7307. m := msg.(*CryptoReplaceFfxFpeConfig)
  7308. // alphabet
  7309. switch x := m.Alphabet.(type) {
  7310. case *CryptoReplaceFfxFpeConfig_CommonAlphabet:
  7311. n += 1 // tag and wire
  7312. n += proto.SizeVarint(uint64(x.CommonAlphabet))
  7313. case *CryptoReplaceFfxFpeConfig_CustomAlphabet:
  7314. n += 1 // tag and wire
  7315. n += proto.SizeVarint(uint64(len(x.CustomAlphabet)))
  7316. n += len(x.CustomAlphabet)
  7317. case *CryptoReplaceFfxFpeConfig_Radix:
  7318. n += 1 // tag and wire
  7319. n += proto.SizeVarint(uint64(x.Radix))
  7320. case nil:
  7321. default:
  7322. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  7323. }
  7324. return n
  7325. }
  7326. // This is a data encryption key (DEK) (as opposed to
  7327. // a key encryption key (KEK) stored by KMS).
  7328. // When using KMS to wrap/unwrap DEKs, be sure to set an appropriate
  7329. // IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
  7330. // unwrap the data crypto key.
  7331. type CryptoKey struct {
  7332. // Types that are valid to be assigned to Source:
  7333. // *CryptoKey_Transient
  7334. // *CryptoKey_Unwrapped
  7335. // *CryptoKey_KmsWrapped
  7336. Source isCryptoKey_Source `protobuf_oneof:"source"`
  7337. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  7338. XXX_unrecognized []byte `json:"-"`
  7339. XXX_sizecache int32 `json:"-"`
  7340. }
  7341. func (m *CryptoKey) Reset() { *m = CryptoKey{} }
  7342. func (m *CryptoKey) String() string { return proto.CompactTextString(m) }
  7343. func (*CryptoKey) ProtoMessage() {}
  7344. func (*CryptoKey) Descriptor() ([]byte, []int) {
  7345. return fileDescriptor_dlp_9184f835f60c3220, []int{54}
  7346. }
  7347. func (m *CryptoKey) XXX_Unmarshal(b []byte) error {
  7348. return xxx_messageInfo_CryptoKey.Unmarshal(m, b)
  7349. }
  7350. func (m *CryptoKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  7351. return xxx_messageInfo_CryptoKey.Marshal(b, m, deterministic)
  7352. }
  7353. func (dst *CryptoKey) XXX_Merge(src proto.Message) {
  7354. xxx_messageInfo_CryptoKey.Merge(dst, src)
  7355. }
  7356. func (m *CryptoKey) XXX_Size() int {
  7357. return xxx_messageInfo_CryptoKey.Size(m)
  7358. }
  7359. func (m *CryptoKey) XXX_DiscardUnknown() {
  7360. xxx_messageInfo_CryptoKey.DiscardUnknown(m)
  7361. }
  7362. var xxx_messageInfo_CryptoKey proto.InternalMessageInfo
  7363. type isCryptoKey_Source interface {
  7364. isCryptoKey_Source()
  7365. }
  7366. type CryptoKey_Transient struct {
  7367. Transient *TransientCryptoKey `protobuf:"bytes,1,opt,name=transient,proto3,oneof"`
  7368. }
  7369. type CryptoKey_Unwrapped struct {
  7370. Unwrapped *UnwrappedCryptoKey `protobuf:"bytes,2,opt,name=unwrapped,proto3,oneof"`
  7371. }
  7372. type CryptoKey_KmsWrapped struct {
  7373. KmsWrapped *KmsWrappedCryptoKey `protobuf:"bytes,3,opt,name=kms_wrapped,json=kmsWrapped,proto3,oneof"`
  7374. }
  7375. func (*CryptoKey_Transient) isCryptoKey_Source() {}
  7376. func (*CryptoKey_Unwrapped) isCryptoKey_Source() {}
  7377. func (*CryptoKey_KmsWrapped) isCryptoKey_Source() {}
  7378. func (m *CryptoKey) GetSource() isCryptoKey_Source {
  7379. if m != nil {
  7380. return m.Source
  7381. }
  7382. return nil
  7383. }
  7384. func (m *CryptoKey) GetTransient() *TransientCryptoKey {
  7385. if x, ok := m.GetSource().(*CryptoKey_Transient); ok {
  7386. return x.Transient
  7387. }
  7388. return nil
  7389. }
  7390. func (m *CryptoKey) GetUnwrapped() *UnwrappedCryptoKey {
  7391. if x, ok := m.GetSource().(*CryptoKey_Unwrapped); ok {
  7392. return x.Unwrapped
  7393. }
  7394. return nil
  7395. }
  7396. func (m *CryptoKey) GetKmsWrapped() *KmsWrappedCryptoKey {
  7397. if x, ok := m.GetSource().(*CryptoKey_KmsWrapped); ok {
  7398. return x.KmsWrapped
  7399. }
  7400. return nil
  7401. }
  7402. // XXX_OneofFuncs is for the internal use of the proto package.
  7403. func (*CryptoKey) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  7404. return _CryptoKey_OneofMarshaler, _CryptoKey_OneofUnmarshaler, _CryptoKey_OneofSizer, []interface{}{
  7405. (*CryptoKey_Transient)(nil),
  7406. (*CryptoKey_Unwrapped)(nil),
  7407. (*CryptoKey_KmsWrapped)(nil),
  7408. }
  7409. }
  7410. func _CryptoKey_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  7411. m := msg.(*CryptoKey)
  7412. // source
  7413. switch x := m.Source.(type) {
  7414. case *CryptoKey_Transient:
  7415. b.EncodeVarint(1<<3 | proto.WireBytes)
  7416. if err := b.EncodeMessage(x.Transient); err != nil {
  7417. return err
  7418. }
  7419. case *CryptoKey_Unwrapped:
  7420. b.EncodeVarint(2<<3 | proto.WireBytes)
  7421. if err := b.EncodeMessage(x.Unwrapped); err != nil {
  7422. return err
  7423. }
  7424. case *CryptoKey_KmsWrapped:
  7425. b.EncodeVarint(3<<3 | proto.WireBytes)
  7426. if err := b.EncodeMessage(x.KmsWrapped); err != nil {
  7427. return err
  7428. }
  7429. case nil:
  7430. default:
  7431. return fmt.Errorf("CryptoKey.Source has unexpected type %T", x)
  7432. }
  7433. return nil
  7434. }
  7435. func _CryptoKey_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  7436. m := msg.(*CryptoKey)
  7437. switch tag {
  7438. case 1: // source.transient
  7439. if wire != proto.WireBytes {
  7440. return true, proto.ErrInternalBadWireType
  7441. }
  7442. msg := new(TransientCryptoKey)
  7443. err := b.DecodeMessage(msg)
  7444. m.Source = &CryptoKey_Transient{msg}
  7445. return true, err
  7446. case 2: // source.unwrapped
  7447. if wire != proto.WireBytes {
  7448. return true, proto.ErrInternalBadWireType
  7449. }
  7450. msg := new(UnwrappedCryptoKey)
  7451. err := b.DecodeMessage(msg)
  7452. m.Source = &CryptoKey_Unwrapped{msg}
  7453. return true, err
  7454. case 3: // source.kms_wrapped
  7455. if wire != proto.WireBytes {
  7456. return true, proto.ErrInternalBadWireType
  7457. }
  7458. msg := new(KmsWrappedCryptoKey)
  7459. err := b.DecodeMessage(msg)
  7460. m.Source = &CryptoKey_KmsWrapped{msg}
  7461. return true, err
  7462. default:
  7463. return false, nil
  7464. }
  7465. }
  7466. func _CryptoKey_OneofSizer(msg proto.Message) (n int) {
  7467. m := msg.(*CryptoKey)
  7468. // source
  7469. switch x := m.Source.(type) {
  7470. case *CryptoKey_Transient:
  7471. s := proto.Size(x.Transient)
  7472. n += 1 // tag and wire
  7473. n += proto.SizeVarint(uint64(s))
  7474. n += s
  7475. case *CryptoKey_Unwrapped:
  7476. s := proto.Size(x.Unwrapped)
  7477. n += 1 // tag and wire
  7478. n += proto.SizeVarint(uint64(s))
  7479. n += s
  7480. case *CryptoKey_KmsWrapped:
  7481. s := proto.Size(x.KmsWrapped)
  7482. n += 1 // tag and wire
  7483. n += proto.SizeVarint(uint64(s))
  7484. n += s
  7485. case nil:
  7486. default:
  7487. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  7488. }
  7489. return n
  7490. }
  7491. // Use this to have a random data crypto key generated.
  7492. // It will be discarded after the request finishes.
  7493. type TransientCryptoKey struct {
  7494. // Name of the key. [required]
  7495. // This is an arbitrary string used to differentiate different keys.
  7496. // A unique key is generated per name: two separate `TransientCryptoKey`
  7497. // protos share the same generated key if their names are the same.
  7498. // When the data crypto key is generated, this name is not used in any way
  7499. // (repeating the api call will result in a different key being generated).
  7500. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  7501. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  7502. XXX_unrecognized []byte `json:"-"`
  7503. XXX_sizecache int32 `json:"-"`
  7504. }
  7505. func (m *TransientCryptoKey) Reset() { *m = TransientCryptoKey{} }
  7506. func (m *TransientCryptoKey) String() string { return proto.CompactTextString(m) }
  7507. func (*TransientCryptoKey) ProtoMessage() {}
  7508. func (*TransientCryptoKey) Descriptor() ([]byte, []int) {
  7509. return fileDescriptor_dlp_9184f835f60c3220, []int{55}
  7510. }
  7511. func (m *TransientCryptoKey) XXX_Unmarshal(b []byte) error {
  7512. return xxx_messageInfo_TransientCryptoKey.Unmarshal(m, b)
  7513. }
  7514. func (m *TransientCryptoKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  7515. return xxx_messageInfo_TransientCryptoKey.Marshal(b, m, deterministic)
  7516. }
  7517. func (dst *TransientCryptoKey) XXX_Merge(src proto.Message) {
  7518. xxx_messageInfo_TransientCryptoKey.Merge(dst, src)
  7519. }
  7520. func (m *TransientCryptoKey) XXX_Size() int {
  7521. return xxx_messageInfo_TransientCryptoKey.Size(m)
  7522. }
  7523. func (m *TransientCryptoKey) XXX_DiscardUnknown() {
  7524. xxx_messageInfo_TransientCryptoKey.DiscardUnknown(m)
  7525. }
  7526. var xxx_messageInfo_TransientCryptoKey proto.InternalMessageInfo
  7527. func (m *TransientCryptoKey) GetName() string {
  7528. if m != nil {
  7529. return m.Name
  7530. }
  7531. return ""
  7532. }
  7533. // Using raw keys is prone to security risks due to accidentally
  7534. // leaking the key. Choose another type of key if possible.
  7535. type UnwrappedCryptoKey struct {
  7536. // The AES 128/192/256 bit key. [required]
  7537. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  7538. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  7539. XXX_unrecognized []byte `json:"-"`
  7540. XXX_sizecache int32 `json:"-"`
  7541. }
  7542. func (m *UnwrappedCryptoKey) Reset() { *m = UnwrappedCryptoKey{} }
  7543. func (m *UnwrappedCryptoKey) String() string { return proto.CompactTextString(m) }
  7544. func (*UnwrappedCryptoKey) ProtoMessage() {}
  7545. func (*UnwrappedCryptoKey) Descriptor() ([]byte, []int) {
  7546. return fileDescriptor_dlp_9184f835f60c3220, []int{56}
  7547. }
  7548. func (m *UnwrappedCryptoKey) XXX_Unmarshal(b []byte) error {
  7549. return xxx_messageInfo_UnwrappedCryptoKey.Unmarshal(m, b)
  7550. }
  7551. func (m *UnwrappedCryptoKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  7552. return xxx_messageInfo_UnwrappedCryptoKey.Marshal(b, m, deterministic)
  7553. }
  7554. func (dst *UnwrappedCryptoKey) XXX_Merge(src proto.Message) {
  7555. xxx_messageInfo_UnwrappedCryptoKey.Merge(dst, src)
  7556. }
  7557. func (m *UnwrappedCryptoKey) XXX_Size() int {
  7558. return xxx_messageInfo_UnwrappedCryptoKey.Size(m)
  7559. }
  7560. func (m *UnwrappedCryptoKey) XXX_DiscardUnknown() {
  7561. xxx_messageInfo_UnwrappedCryptoKey.DiscardUnknown(m)
  7562. }
  7563. var xxx_messageInfo_UnwrappedCryptoKey proto.InternalMessageInfo
  7564. func (m *UnwrappedCryptoKey) GetKey() []byte {
  7565. if m != nil {
  7566. return m.Key
  7567. }
  7568. return nil
  7569. }
  7570. // Include to use an existing data crypto key wrapped by KMS.
  7571. // Authorization requires the following IAM permissions when sending a request
  7572. // to perform a crypto transformation using a kms-wrapped crypto key:
  7573. // dlp.kms.encrypt
  7574. type KmsWrappedCryptoKey struct {
  7575. // The wrapped data crypto key. [required]
  7576. WrappedKey []byte `protobuf:"bytes,1,opt,name=wrapped_key,json=wrappedKey,proto3" json:"wrapped_key,omitempty"`
  7577. // The resource name of the KMS CryptoKey to use for unwrapping. [required]
  7578. CryptoKeyName string `protobuf:"bytes,2,opt,name=crypto_key_name,json=cryptoKeyName,proto3" json:"crypto_key_name,omitempty"`
  7579. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  7580. XXX_unrecognized []byte `json:"-"`
  7581. XXX_sizecache int32 `json:"-"`
  7582. }
  7583. func (m *KmsWrappedCryptoKey) Reset() { *m = KmsWrappedCryptoKey{} }
  7584. func (m *KmsWrappedCryptoKey) String() string { return proto.CompactTextString(m) }
  7585. func (*KmsWrappedCryptoKey) ProtoMessage() {}
  7586. func (*KmsWrappedCryptoKey) Descriptor() ([]byte, []int) {
  7587. return fileDescriptor_dlp_9184f835f60c3220, []int{57}
  7588. }
  7589. func (m *KmsWrappedCryptoKey) XXX_Unmarshal(b []byte) error {
  7590. return xxx_messageInfo_KmsWrappedCryptoKey.Unmarshal(m, b)
  7591. }
  7592. func (m *KmsWrappedCryptoKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  7593. return xxx_messageInfo_KmsWrappedCryptoKey.Marshal(b, m, deterministic)
  7594. }
  7595. func (dst *KmsWrappedCryptoKey) XXX_Merge(src proto.Message) {
  7596. xxx_messageInfo_KmsWrappedCryptoKey.Merge(dst, src)
  7597. }
  7598. func (m *KmsWrappedCryptoKey) XXX_Size() int {
  7599. return xxx_messageInfo_KmsWrappedCryptoKey.Size(m)
  7600. }
  7601. func (m *KmsWrappedCryptoKey) XXX_DiscardUnknown() {
  7602. xxx_messageInfo_KmsWrappedCryptoKey.DiscardUnknown(m)
  7603. }
  7604. var xxx_messageInfo_KmsWrappedCryptoKey proto.InternalMessageInfo
  7605. func (m *KmsWrappedCryptoKey) GetWrappedKey() []byte {
  7606. if m != nil {
  7607. return m.WrappedKey
  7608. }
  7609. return nil
  7610. }
  7611. func (m *KmsWrappedCryptoKey) GetCryptoKeyName() string {
  7612. if m != nil {
  7613. return m.CryptoKeyName
  7614. }
  7615. return ""
  7616. }
  7617. // Shifts dates by random number of days, with option to be consistent for the
  7618. // same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting
  7619. // to learn more.
  7620. type DateShiftConfig struct {
  7621. // Range of shift in days. Actual shift will be selected at random within this
  7622. // range (inclusive ends). Negative means shift to earlier in time. Must not
  7623. // be more than 365250 days (1000 years) each direction.
  7624. //
  7625. // For example, 3 means shift date to at most 3 days into the future.
  7626. // [Required]
  7627. UpperBoundDays int32 `protobuf:"varint,1,opt,name=upper_bound_days,json=upperBoundDays,proto3" json:"upper_bound_days,omitempty"`
  7628. // For example, -5 means shift date to at most 5 days back in the past.
  7629. // [Required]
  7630. LowerBoundDays int32 `protobuf:"varint,2,opt,name=lower_bound_days,json=lowerBoundDays,proto3" json:"lower_bound_days,omitempty"`
  7631. // Points to the field that contains the context, for example, an entity id.
  7632. // If set, must also set method. If set, shift will be consistent for the
  7633. // given context.
  7634. Context *FieldId `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"`
  7635. // Method for calculating shift that takes context into consideration. If
  7636. // set, must also set context. Can only be applied to table items.
  7637. //
  7638. // Types that are valid to be assigned to Method:
  7639. // *DateShiftConfig_CryptoKey
  7640. Method isDateShiftConfig_Method `protobuf_oneof:"method"`
  7641. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  7642. XXX_unrecognized []byte `json:"-"`
  7643. XXX_sizecache int32 `json:"-"`
  7644. }
  7645. func (m *DateShiftConfig) Reset() { *m = DateShiftConfig{} }
  7646. func (m *DateShiftConfig) String() string { return proto.CompactTextString(m) }
  7647. func (*DateShiftConfig) ProtoMessage() {}
  7648. func (*DateShiftConfig) Descriptor() ([]byte, []int) {
  7649. return fileDescriptor_dlp_9184f835f60c3220, []int{58}
  7650. }
  7651. func (m *DateShiftConfig) XXX_Unmarshal(b []byte) error {
  7652. return xxx_messageInfo_DateShiftConfig.Unmarshal(m, b)
  7653. }
  7654. func (m *DateShiftConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  7655. return xxx_messageInfo_DateShiftConfig.Marshal(b, m, deterministic)
  7656. }
  7657. func (dst *DateShiftConfig) XXX_Merge(src proto.Message) {
  7658. xxx_messageInfo_DateShiftConfig.Merge(dst, src)
  7659. }
  7660. func (m *DateShiftConfig) XXX_Size() int {
  7661. return xxx_messageInfo_DateShiftConfig.Size(m)
  7662. }
  7663. func (m *DateShiftConfig) XXX_DiscardUnknown() {
  7664. xxx_messageInfo_DateShiftConfig.DiscardUnknown(m)
  7665. }
  7666. var xxx_messageInfo_DateShiftConfig proto.InternalMessageInfo
  7667. func (m *DateShiftConfig) GetUpperBoundDays() int32 {
  7668. if m != nil {
  7669. return m.UpperBoundDays
  7670. }
  7671. return 0
  7672. }
  7673. func (m *DateShiftConfig) GetLowerBoundDays() int32 {
  7674. if m != nil {
  7675. return m.LowerBoundDays
  7676. }
  7677. return 0
  7678. }
  7679. func (m *DateShiftConfig) GetContext() *FieldId {
  7680. if m != nil {
  7681. return m.Context
  7682. }
  7683. return nil
  7684. }
  7685. type isDateShiftConfig_Method interface {
  7686. isDateShiftConfig_Method()
  7687. }
  7688. type DateShiftConfig_CryptoKey struct {
  7689. CryptoKey *CryptoKey `protobuf:"bytes,4,opt,name=crypto_key,json=cryptoKey,proto3,oneof"`
  7690. }
  7691. func (*DateShiftConfig_CryptoKey) isDateShiftConfig_Method() {}
  7692. func (m *DateShiftConfig) GetMethod() isDateShiftConfig_Method {
  7693. if m != nil {
  7694. return m.Method
  7695. }
  7696. return nil
  7697. }
  7698. func (m *DateShiftConfig) GetCryptoKey() *CryptoKey {
  7699. if x, ok := m.GetMethod().(*DateShiftConfig_CryptoKey); ok {
  7700. return x.CryptoKey
  7701. }
  7702. return nil
  7703. }
  7704. // XXX_OneofFuncs is for the internal use of the proto package.
  7705. func (*DateShiftConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  7706. return _DateShiftConfig_OneofMarshaler, _DateShiftConfig_OneofUnmarshaler, _DateShiftConfig_OneofSizer, []interface{}{
  7707. (*DateShiftConfig_CryptoKey)(nil),
  7708. }
  7709. }
  7710. func _DateShiftConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  7711. m := msg.(*DateShiftConfig)
  7712. // method
  7713. switch x := m.Method.(type) {
  7714. case *DateShiftConfig_CryptoKey:
  7715. b.EncodeVarint(4<<3 | proto.WireBytes)
  7716. if err := b.EncodeMessage(x.CryptoKey); err != nil {
  7717. return err
  7718. }
  7719. case nil:
  7720. default:
  7721. return fmt.Errorf("DateShiftConfig.Method has unexpected type %T", x)
  7722. }
  7723. return nil
  7724. }
  7725. func _DateShiftConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  7726. m := msg.(*DateShiftConfig)
  7727. switch tag {
  7728. case 4: // method.crypto_key
  7729. if wire != proto.WireBytes {
  7730. return true, proto.ErrInternalBadWireType
  7731. }
  7732. msg := new(CryptoKey)
  7733. err := b.DecodeMessage(msg)
  7734. m.Method = &DateShiftConfig_CryptoKey{msg}
  7735. return true, err
  7736. default:
  7737. return false, nil
  7738. }
  7739. }
  7740. func _DateShiftConfig_OneofSizer(msg proto.Message) (n int) {
  7741. m := msg.(*DateShiftConfig)
  7742. // method
  7743. switch x := m.Method.(type) {
  7744. case *DateShiftConfig_CryptoKey:
  7745. s := proto.Size(x.CryptoKey)
  7746. n += 1 // tag and wire
  7747. n += proto.SizeVarint(uint64(s))
  7748. n += s
  7749. case nil:
  7750. default:
  7751. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  7752. }
  7753. return n
  7754. }
  7755. // A type of transformation that will scan unstructured text and
  7756. // apply various `PrimitiveTransformation`s to each finding, where the
  7757. // transformation is applied to only values that were identified as a specific
  7758. // info_type.
  7759. type InfoTypeTransformations struct {
  7760. // Transformation for each infoType. Cannot specify more than one
  7761. // for a given infoType. [required]
  7762. Transformations []*InfoTypeTransformations_InfoTypeTransformation `protobuf:"bytes,1,rep,name=transformations,proto3" json:"transformations,omitempty"`
  7763. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  7764. XXX_unrecognized []byte `json:"-"`
  7765. XXX_sizecache int32 `json:"-"`
  7766. }
  7767. func (m *InfoTypeTransformations) Reset() { *m = InfoTypeTransformations{} }
  7768. func (m *InfoTypeTransformations) String() string { return proto.CompactTextString(m) }
  7769. func (*InfoTypeTransformations) ProtoMessage() {}
  7770. func (*InfoTypeTransformations) Descriptor() ([]byte, []int) {
  7771. return fileDescriptor_dlp_9184f835f60c3220, []int{59}
  7772. }
  7773. func (m *InfoTypeTransformations) XXX_Unmarshal(b []byte) error {
  7774. return xxx_messageInfo_InfoTypeTransformations.Unmarshal(m, b)
  7775. }
  7776. func (m *InfoTypeTransformations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  7777. return xxx_messageInfo_InfoTypeTransformations.Marshal(b, m, deterministic)
  7778. }
  7779. func (dst *InfoTypeTransformations) XXX_Merge(src proto.Message) {
  7780. xxx_messageInfo_InfoTypeTransformations.Merge(dst, src)
  7781. }
  7782. func (m *InfoTypeTransformations) XXX_Size() int {
  7783. return xxx_messageInfo_InfoTypeTransformations.Size(m)
  7784. }
  7785. func (m *InfoTypeTransformations) XXX_DiscardUnknown() {
  7786. xxx_messageInfo_InfoTypeTransformations.DiscardUnknown(m)
  7787. }
  7788. var xxx_messageInfo_InfoTypeTransformations proto.InternalMessageInfo
  7789. func (m *InfoTypeTransformations) GetTransformations() []*InfoTypeTransformations_InfoTypeTransformation {
  7790. if m != nil {
  7791. return m.Transformations
  7792. }
  7793. return nil
  7794. }
  7795. // A transformation to apply to text that is identified as a specific
  7796. // info_type.
  7797. type InfoTypeTransformations_InfoTypeTransformation struct {
  7798. // InfoTypes to apply the transformation to. An empty list will cause
  7799. // this transformation to apply to all findings that correspond to
  7800. // infoTypes that were requested in `InspectConfig`.
  7801. InfoTypes []*InfoType `protobuf:"bytes,1,rep,name=info_types,json=infoTypes,proto3" json:"info_types,omitempty"`
  7802. // Primitive transformation to apply to the infoType. [required]
  7803. PrimitiveTransformation *PrimitiveTransformation `protobuf:"bytes,2,opt,name=primitive_transformation,json=primitiveTransformation,proto3" json:"primitive_transformation,omitempty"`
  7804. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  7805. XXX_unrecognized []byte `json:"-"`
  7806. XXX_sizecache int32 `json:"-"`
  7807. }
  7808. func (m *InfoTypeTransformations_InfoTypeTransformation) Reset() {
  7809. *m = InfoTypeTransformations_InfoTypeTransformation{}
  7810. }
  7811. func (m *InfoTypeTransformations_InfoTypeTransformation) String() string {
  7812. return proto.CompactTextString(m)
  7813. }
  7814. func (*InfoTypeTransformations_InfoTypeTransformation) ProtoMessage() {}
  7815. func (*InfoTypeTransformations_InfoTypeTransformation) Descriptor() ([]byte, []int) {
  7816. return fileDescriptor_dlp_9184f835f60c3220, []int{59, 0}
  7817. }
  7818. func (m *InfoTypeTransformations_InfoTypeTransformation) XXX_Unmarshal(b []byte) error {
  7819. return xxx_messageInfo_InfoTypeTransformations_InfoTypeTransformation.Unmarshal(m, b)
  7820. }
  7821. func (m *InfoTypeTransformations_InfoTypeTransformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  7822. return xxx_messageInfo_InfoTypeTransformations_InfoTypeTransformation.Marshal(b, m, deterministic)
  7823. }
  7824. func (dst *InfoTypeTransformations_InfoTypeTransformation) XXX_Merge(src proto.Message) {
  7825. xxx_messageInfo_InfoTypeTransformations_InfoTypeTransformation.Merge(dst, src)
  7826. }
  7827. func (m *InfoTypeTransformations_InfoTypeTransformation) XXX_Size() int {
  7828. return xxx_messageInfo_InfoTypeTransformations_InfoTypeTransformation.Size(m)
  7829. }
  7830. func (m *InfoTypeTransformations_InfoTypeTransformation) XXX_DiscardUnknown() {
  7831. xxx_messageInfo_InfoTypeTransformations_InfoTypeTransformation.DiscardUnknown(m)
  7832. }
  7833. var xxx_messageInfo_InfoTypeTransformations_InfoTypeTransformation proto.InternalMessageInfo
  7834. func (m *InfoTypeTransformations_InfoTypeTransformation) GetInfoTypes() []*InfoType {
  7835. if m != nil {
  7836. return m.InfoTypes
  7837. }
  7838. return nil
  7839. }
  7840. func (m *InfoTypeTransformations_InfoTypeTransformation) GetPrimitiveTransformation() *PrimitiveTransformation {
  7841. if m != nil {
  7842. return m.PrimitiveTransformation
  7843. }
  7844. return nil
  7845. }
  7846. // The transformation to apply to the field.
  7847. type FieldTransformation struct {
  7848. // Input field(s) to apply the transformation to. [required]
  7849. Fields []*FieldId `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
  7850. // Only apply the transformation if the condition evaluates to true for the
  7851. // given `RecordCondition`. The conditions are allowed to reference fields
  7852. // that are not used in the actual transformation. [optional]
  7853. //
  7854. // Example Use Cases:
  7855. //
  7856. // - Apply a different bucket transformation to an age column if the zip code
  7857. // column for the same record is within a specific range.
  7858. // - Redact a field if the date of birth field is greater than 85.
  7859. Condition *RecordCondition `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"`
  7860. // Transformation to apply. [required]
  7861. //
  7862. // Types that are valid to be assigned to Transformation:
  7863. // *FieldTransformation_PrimitiveTransformation
  7864. // *FieldTransformation_InfoTypeTransformations
  7865. Transformation isFieldTransformation_Transformation `protobuf_oneof:"transformation"`
  7866. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  7867. XXX_unrecognized []byte `json:"-"`
  7868. XXX_sizecache int32 `json:"-"`
  7869. }
  7870. func (m *FieldTransformation) Reset() { *m = FieldTransformation{} }
  7871. func (m *FieldTransformation) String() string { return proto.CompactTextString(m) }
  7872. func (*FieldTransformation) ProtoMessage() {}
  7873. func (*FieldTransformation) Descriptor() ([]byte, []int) {
  7874. return fileDescriptor_dlp_9184f835f60c3220, []int{60}
  7875. }
  7876. func (m *FieldTransformation) XXX_Unmarshal(b []byte) error {
  7877. return xxx_messageInfo_FieldTransformation.Unmarshal(m, b)
  7878. }
  7879. func (m *FieldTransformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  7880. return xxx_messageInfo_FieldTransformation.Marshal(b, m, deterministic)
  7881. }
  7882. func (dst *FieldTransformation) XXX_Merge(src proto.Message) {
  7883. xxx_messageInfo_FieldTransformation.Merge(dst, src)
  7884. }
  7885. func (m *FieldTransformation) XXX_Size() int {
  7886. return xxx_messageInfo_FieldTransformation.Size(m)
  7887. }
  7888. func (m *FieldTransformation) XXX_DiscardUnknown() {
  7889. xxx_messageInfo_FieldTransformation.DiscardUnknown(m)
  7890. }
  7891. var xxx_messageInfo_FieldTransformation proto.InternalMessageInfo
  7892. func (m *FieldTransformation) GetFields() []*FieldId {
  7893. if m != nil {
  7894. return m.Fields
  7895. }
  7896. return nil
  7897. }
  7898. func (m *FieldTransformation) GetCondition() *RecordCondition {
  7899. if m != nil {
  7900. return m.Condition
  7901. }
  7902. return nil
  7903. }
  7904. type isFieldTransformation_Transformation interface {
  7905. isFieldTransformation_Transformation()
  7906. }
  7907. type FieldTransformation_PrimitiveTransformation struct {
  7908. PrimitiveTransformation *PrimitiveTransformation `protobuf:"bytes,4,opt,name=primitive_transformation,json=primitiveTransformation,proto3,oneof"`
  7909. }
  7910. type FieldTransformation_InfoTypeTransformations struct {
  7911. InfoTypeTransformations *InfoTypeTransformations `protobuf:"bytes,5,opt,name=info_type_transformations,json=infoTypeTransformations,proto3,oneof"`
  7912. }
  7913. func (*FieldTransformation_PrimitiveTransformation) isFieldTransformation_Transformation() {}
  7914. func (*FieldTransformation_InfoTypeTransformations) isFieldTransformation_Transformation() {}
  7915. func (m *FieldTransformation) GetTransformation() isFieldTransformation_Transformation {
  7916. if m != nil {
  7917. return m.Transformation
  7918. }
  7919. return nil
  7920. }
  7921. func (m *FieldTransformation) GetPrimitiveTransformation() *PrimitiveTransformation {
  7922. if x, ok := m.GetTransformation().(*FieldTransformation_PrimitiveTransformation); ok {
  7923. return x.PrimitiveTransformation
  7924. }
  7925. return nil
  7926. }
  7927. func (m *FieldTransformation) GetInfoTypeTransformations() *InfoTypeTransformations {
  7928. if x, ok := m.GetTransformation().(*FieldTransformation_InfoTypeTransformations); ok {
  7929. return x.InfoTypeTransformations
  7930. }
  7931. return nil
  7932. }
  7933. // XXX_OneofFuncs is for the internal use of the proto package.
  7934. func (*FieldTransformation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  7935. return _FieldTransformation_OneofMarshaler, _FieldTransformation_OneofUnmarshaler, _FieldTransformation_OneofSizer, []interface{}{
  7936. (*FieldTransformation_PrimitiveTransformation)(nil),
  7937. (*FieldTransformation_InfoTypeTransformations)(nil),
  7938. }
  7939. }
  7940. func _FieldTransformation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  7941. m := msg.(*FieldTransformation)
  7942. // transformation
  7943. switch x := m.Transformation.(type) {
  7944. case *FieldTransformation_PrimitiveTransformation:
  7945. b.EncodeVarint(4<<3 | proto.WireBytes)
  7946. if err := b.EncodeMessage(x.PrimitiveTransformation); err != nil {
  7947. return err
  7948. }
  7949. case *FieldTransformation_InfoTypeTransformations:
  7950. b.EncodeVarint(5<<3 | proto.WireBytes)
  7951. if err := b.EncodeMessage(x.InfoTypeTransformations); err != nil {
  7952. return err
  7953. }
  7954. case nil:
  7955. default:
  7956. return fmt.Errorf("FieldTransformation.Transformation has unexpected type %T", x)
  7957. }
  7958. return nil
  7959. }
  7960. func _FieldTransformation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  7961. m := msg.(*FieldTransformation)
  7962. switch tag {
  7963. case 4: // transformation.primitive_transformation
  7964. if wire != proto.WireBytes {
  7965. return true, proto.ErrInternalBadWireType
  7966. }
  7967. msg := new(PrimitiveTransformation)
  7968. err := b.DecodeMessage(msg)
  7969. m.Transformation = &FieldTransformation_PrimitiveTransformation{msg}
  7970. return true, err
  7971. case 5: // transformation.info_type_transformations
  7972. if wire != proto.WireBytes {
  7973. return true, proto.ErrInternalBadWireType
  7974. }
  7975. msg := new(InfoTypeTransformations)
  7976. err := b.DecodeMessage(msg)
  7977. m.Transformation = &FieldTransformation_InfoTypeTransformations{msg}
  7978. return true, err
  7979. default:
  7980. return false, nil
  7981. }
  7982. }
  7983. func _FieldTransformation_OneofSizer(msg proto.Message) (n int) {
  7984. m := msg.(*FieldTransformation)
  7985. // transformation
  7986. switch x := m.Transformation.(type) {
  7987. case *FieldTransformation_PrimitiveTransformation:
  7988. s := proto.Size(x.PrimitiveTransformation)
  7989. n += 1 // tag and wire
  7990. n += proto.SizeVarint(uint64(s))
  7991. n += s
  7992. case *FieldTransformation_InfoTypeTransformations:
  7993. s := proto.Size(x.InfoTypeTransformations)
  7994. n += 1 // tag and wire
  7995. n += proto.SizeVarint(uint64(s))
  7996. n += s
  7997. case nil:
  7998. default:
  7999. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  8000. }
  8001. return n
  8002. }
  8003. // A type of transformation that is applied over structured data such as a
  8004. // table.
  8005. type RecordTransformations struct {
  8006. // Transform the record by applying various field transformations.
  8007. FieldTransformations []*FieldTransformation `protobuf:"bytes,1,rep,name=field_transformations,json=fieldTransformations,proto3" json:"field_transformations,omitempty"`
  8008. // Configuration defining which records get suppressed entirely. Records that
  8009. // match any suppression rule are omitted from the output [optional].
  8010. RecordSuppressions []*RecordSuppression `protobuf:"bytes,2,rep,name=record_suppressions,json=recordSuppressions,proto3" json:"record_suppressions,omitempty"`
  8011. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  8012. XXX_unrecognized []byte `json:"-"`
  8013. XXX_sizecache int32 `json:"-"`
  8014. }
  8015. func (m *RecordTransformations) Reset() { *m = RecordTransformations{} }
  8016. func (m *RecordTransformations) String() string { return proto.CompactTextString(m) }
  8017. func (*RecordTransformations) ProtoMessage() {}
  8018. func (*RecordTransformations) Descriptor() ([]byte, []int) {
  8019. return fileDescriptor_dlp_9184f835f60c3220, []int{61}
  8020. }
  8021. func (m *RecordTransformations) XXX_Unmarshal(b []byte) error {
  8022. return xxx_messageInfo_RecordTransformations.Unmarshal(m, b)
  8023. }
  8024. func (m *RecordTransformations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  8025. return xxx_messageInfo_RecordTransformations.Marshal(b, m, deterministic)
  8026. }
  8027. func (dst *RecordTransformations) XXX_Merge(src proto.Message) {
  8028. xxx_messageInfo_RecordTransformations.Merge(dst, src)
  8029. }
  8030. func (m *RecordTransformations) XXX_Size() int {
  8031. return xxx_messageInfo_RecordTransformations.Size(m)
  8032. }
  8033. func (m *RecordTransformations) XXX_DiscardUnknown() {
  8034. xxx_messageInfo_RecordTransformations.DiscardUnknown(m)
  8035. }
  8036. var xxx_messageInfo_RecordTransformations proto.InternalMessageInfo
  8037. func (m *RecordTransformations) GetFieldTransformations() []*FieldTransformation {
  8038. if m != nil {
  8039. return m.FieldTransformations
  8040. }
  8041. return nil
  8042. }
  8043. func (m *RecordTransformations) GetRecordSuppressions() []*RecordSuppression {
  8044. if m != nil {
  8045. return m.RecordSuppressions
  8046. }
  8047. return nil
  8048. }
  8049. // Configuration to suppress records whose suppression conditions evaluate to
  8050. // true.
  8051. type RecordSuppression struct {
  8052. // A condition that when it evaluates to true will result in the record being
  8053. // evaluated to be suppressed from the transformed content.
  8054. Condition *RecordCondition `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"`
  8055. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  8056. XXX_unrecognized []byte `json:"-"`
  8057. XXX_sizecache int32 `json:"-"`
  8058. }
  8059. func (m *RecordSuppression) Reset() { *m = RecordSuppression{} }
  8060. func (m *RecordSuppression) String() string { return proto.CompactTextString(m) }
  8061. func (*RecordSuppression) ProtoMessage() {}
  8062. func (*RecordSuppression) Descriptor() ([]byte, []int) {
  8063. return fileDescriptor_dlp_9184f835f60c3220, []int{62}
  8064. }
  8065. func (m *RecordSuppression) XXX_Unmarshal(b []byte) error {
  8066. return xxx_messageInfo_RecordSuppression.Unmarshal(m, b)
  8067. }
  8068. func (m *RecordSuppression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  8069. return xxx_messageInfo_RecordSuppression.Marshal(b, m, deterministic)
  8070. }
  8071. func (dst *RecordSuppression) XXX_Merge(src proto.Message) {
  8072. xxx_messageInfo_RecordSuppression.Merge(dst, src)
  8073. }
  8074. func (m *RecordSuppression) XXX_Size() int {
  8075. return xxx_messageInfo_RecordSuppression.Size(m)
  8076. }
  8077. func (m *RecordSuppression) XXX_DiscardUnknown() {
  8078. xxx_messageInfo_RecordSuppression.DiscardUnknown(m)
  8079. }
  8080. var xxx_messageInfo_RecordSuppression proto.InternalMessageInfo
  8081. func (m *RecordSuppression) GetCondition() *RecordCondition {
  8082. if m != nil {
  8083. return m.Condition
  8084. }
  8085. return nil
  8086. }
  8087. // A condition for determining whether a transformation should be applied to
  8088. // a field.
  8089. type RecordCondition struct {
  8090. // An expression.
  8091. Expressions *RecordCondition_Expressions `protobuf:"bytes,3,opt,name=expressions,proto3" json:"expressions,omitempty"`
  8092. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  8093. XXX_unrecognized []byte `json:"-"`
  8094. XXX_sizecache int32 `json:"-"`
  8095. }
  8096. func (m *RecordCondition) Reset() { *m = RecordCondition{} }
  8097. func (m *RecordCondition) String() string { return proto.CompactTextString(m) }
  8098. func (*RecordCondition) ProtoMessage() {}
  8099. func (*RecordCondition) Descriptor() ([]byte, []int) {
  8100. return fileDescriptor_dlp_9184f835f60c3220, []int{63}
  8101. }
  8102. func (m *RecordCondition) XXX_Unmarshal(b []byte) error {
  8103. return xxx_messageInfo_RecordCondition.Unmarshal(m, b)
  8104. }
  8105. func (m *RecordCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  8106. return xxx_messageInfo_RecordCondition.Marshal(b, m, deterministic)
  8107. }
  8108. func (dst *RecordCondition) XXX_Merge(src proto.Message) {
  8109. xxx_messageInfo_RecordCondition.Merge(dst, src)
  8110. }
  8111. func (m *RecordCondition) XXX_Size() int {
  8112. return xxx_messageInfo_RecordCondition.Size(m)
  8113. }
  8114. func (m *RecordCondition) XXX_DiscardUnknown() {
  8115. xxx_messageInfo_RecordCondition.DiscardUnknown(m)
  8116. }
  8117. var xxx_messageInfo_RecordCondition proto.InternalMessageInfo
  8118. func (m *RecordCondition) GetExpressions() *RecordCondition_Expressions {
  8119. if m != nil {
  8120. return m.Expressions
  8121. }
  8122. return nil
  8123. }
  8124. // The field type of `value` and `field` do not need to match to be
  8125. // considered equal, but not all comparisons are possible.
  8126. // EQUAL_TO and NOT_EQUAL_TO attempt to compare even with incompatible types,
  8127. // but all other comparisons are invalid with incompatible types.
  8128. // A `value` of type:
  8129. //
  8130. // - `string` can be compared against all other types
  8131. // - `boolean` can only be compared against other booleans
  8132. // - `integer` can be compared against doubles or a string if the string value
  8133. // can be parsed as an integer.
  8134. // - `double` can be compared against integers or a string if the string can
  8135. // be parsed as a double.
  8136. // - `Timestamp` can be compared against strings in RFC 3339 date string
  8137. // format.
  8138. // - `TimeOfDay` can be compared against timestamps and strings in the format
  8139. // of 'HH:mm:ss'.
  8140. //
  8141. // If we fail to compare do to type mismatch, a warning will be given and
  8142. // the condition will evaluate to false.
  8143. type RecordCondition_Condition struct {
  8144. // Field within the record this condition is evaluated against. [required]
  8145. Field *FieldId `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
  8146. // Operator used to compare the field or infoType to the value. [required]
  8147. Operator RelationalOperator `protobuf:"varint,3,opt,name=operator,proto3,enum=google.privacy.dlp.v2.RelationalOperator" json:"operator,omitempty"`
  8148. // Value to compare against. [Required, except for `EXISTS` tests.]
  8149. Value *Value `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
  8150. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  8151. XXX_unrecognized []byte `json:"-"`
  8152. XXX_sizecache int32 `json:"-"`
  8153. }
  8154. func (m *RecordCondition_Condition) Reset() { *m = RecordCondition_Condition{} }
  8155. func (m *RecordCondition_Condition) String() string { return proto.CompactTextString(m) }
  8156. func (*RecordCondition_Condition) ProtoMessage() {}
  8157. func (*RecordCondition_Condition) Descriptor() ([]byte, []int) {
  8158. return fileDescriptor_dlp_9184f835f60c3220, []int{63, 0}
  8159. }
  8160. func (m *RecordCondition_Condition) XXX_Unmarshal(b []byte) error {
  8161. return xxx_messageInfo_RecordCondition_Condition.Unmarshal(m, b)
  8162. }
  8163. func (m *RecordCondition_Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  8164. return xxx_messageInfo_RecordCondition_Condition.Marshal(b, m, deterministic)
  8165. }
  8166. func (dst *RecordCondition_Condition) XXX_Merge(src proto.Message) {
  8167. xxx_messageInfo_RecordCondition_Condition.Merge(dst, src)
  8168. }
  8169. func (m *RecordCondition_Condition) XXX_Size() int {
  8170. return xxx_messageInfo_RecordCondition_Condition.Size(m)
  8171. }
  8172. func (m *RecordCondition_Condition) XXX_DiscardUnknown() {
  8173. xxx_messageInfo_RecordCondition_Condition.DiscardUnknown(m)
  8174. }
  8175. var xxx_messageInfo_RecordCondition_Condition proto.InternalMessageInfo
  8176. func (m *RecordCondition_Condition) GetField() *FieldId {
  8177. if m != nil {
  8178. return m.Field
  8179. }
  8180. return nil
  8181. }
  8182. func (m *RecordCondition_Condition) GetOperator() RelationalOperator {
  8183. if m != nil {
  8184. return m.Operator
  8185. }
  8186. return RelationalOperator_RELATIONAL_OPERATOR_UNSPECIFIED
  8187. }
  8188. func (m *RecordCondition_Condition) GetValue() *Value {
  8189. if m != nil {
  8190. return m.Value
  8191. }
  8192. return nil
  8193. }
  8194. // A collection of conditions.
  8195. type RecordCondition_Conditions struct {
  8196. Conditions []*RecordCondition_Condition `protobuf:"bytes,1,rep,name=conditions,proto3" json:"conditions,omitempty"`
  8197. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  8198. XXX_unrecognized []byte `json:"-"`
  8199. XXX_sizecache int32 `json:"-"`
  8200. }
  8201. func (m *RecordCondition_Conditions) Reset() { *m = RecordCondition_Conditions{} }
  8202. func (m *RecordCondition_Conditions) String() string { return proto.CompactTextString(m) }
  8203. func (*RecordCondition_Conditions) ProtoMessage() {}
  8204. func (*RecordCondition_Conditions) Descriptor() ([]byte, []int) {
  8205. return fileDescriptor_dlp_9184f835f60c3220, []int{63, 1}
  8206. }
  8207. func (m *RecordCondition_Conditions) XXX_Unmarshal(b []byte) error {
  8208. return xxx_messageInfo_RecordCondition_Conditions.Unmarshal(m, b)
  8209. }
  8210. func (m *RecordCondition_Conditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  8211. return xxx_messageInfo_RecordCondition_Conditions.Marshal(b, m, deterministic)
  8212. }
  8213. func (dst *RecordCondition_Conditions) XXX_Merge(src proto.Message) {
  8214. xxx_messageInfo_RecordCondition_Conditions.Merge(dst, src)
  8215. }
  8216. func (m *RecordCondition_Conditions) XXX_Size() int {
  8217. return xxx_messageInfo_RecordCondition_Conditions.Size(m)
  8218. }
  8219. func (m *RecordCondition_Conditions) XXX_DiscardUnknown() {
  8220. xxx_messageInfo_RecordCondition_Conditions.DiscardUnknown(m)
  8221. }
  8222. var xxx_messageInfo_RecordCondition_Conditions proto.InternalMessageInfo
  8223. func (m *RecordCondition_Conditions) GetConditions() []*RecordCondition_Condition {
  8224. if m != nil {
  8225. return m.Conditions
  8226. }
  8227. return nil
  8228. }
  8229. // An expression, consisting or an operator and conditions.
  8230. type RecordCondition_Expressions struct {
  8231. // The operator to apply to the result of conditions. Default and currently
  8232. // only supported value is `AND`.
  8233. LogicalOperator RecordCondition_Expressions_LogicalOperator `protobuf:"varint,1,opt,name=logical_operator,json=logicalOperator,proto3,enum=google.privacy.dlp.v2.RecordCondition_Expressions_LogicalOperator" json:"logical_operator,omitempty"`
  8234. // Types that are valid to be assigned to Type:
  8235. // *RecordCondition_Expressions_Conditions
  8236. Type isRecordCondition_Expressions_Type `protobuf_oneof:"type"`
  8237. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  8238. XXX_unrecognized []byte `json:"-"`
  8239. XXX_sizecache int32 `json:"-"`
  8240. }
  8241. func (m *RecordCondition_Expressions) Reset() { *m = RecordCondition_Expressions{} }
  8242. func (m *RecordCondition_Expressions) String() string { return proto.CompactTextString(m) }
  8243. func (*RecordCondition_Expressions) ProtoMessage() {}
  8244. func (*RecordCondition_Expressions) Descriptor() ([]byte, []int) {
  8245. return fileDescriptor_dlp_9184f835f60c3220, []int{63, 2}
  8246. }
  8247. func (m *RecordCondition_Expressions) XXX_Unmarshal(b []byte) error {
  8248. return xxx_messageInfo_RecordCondition_Expressions.Unmarshal(m, b)
  8249. }
  8250. func (m *RecordCondition_Expressions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  8251. return xxx_messageInfo_RecordCondition_Expressions.Marshal(b, m, deterministic)
  8252. }
  8253. func (dst *RecordCondition_Expressions) XXX_Merge(src proto.Message) {
  8254. xxx_messageInfo_RecordCondition_Expressions.Merge(dst, src)
  8255. }
  8256. func (m *RecordCondition_Expressions) XXX_Size() int {
  8257. return xxx_messageInfo_RecordCondition_Expressions.Size(m)
  8258. }
  8259. func (m *RecordCondition_Expressions) XXX_DiscardUnknown() {
  8260. xxx_messageInfo_RecordCondition_Expressions.DiscardUnknown(m)
  8261. }
  8262. var xxx_messageInfo_RecordCondition_Expressions proto.InternalMessageInfo
  8263. func (m *RecordCondition_Expressions) GetLogicalOperator() RecordCondition_Expressions_LogicalOperator {
  8264. if m != nil {
  8265. return m.LogicalOperator
  8266. }
  8267. return RecordCondition_Expressions_LOGICAL_OPERATOR_UNSPECIFIED
  8268. }
  8269. type isRecordCondition_Expressions_Type interface {
  8270. isRecordCondition_Expressions_Type()
  8271. }
  8272. type RecordCondition_Expressions_Conditions struct {
  8273. Conditions *RecordCondition_Conditions `protobuf:"bytes,3,opt,name=conditions,proto3,oneof"`
  8274. }
  8275. func (*RecordCondition_Expressions_Conditions) isRecordCondition_Expressions_Type() {}
  8276. func (m *RecordCondition_Expressions) GetType() isRecordCondition_Expressions_Type {
  8277. if m != nil {
  8278. return m.Type
  8279. }
  8280. return nil
  8281. }
  8282. func (m *RecordCondition_Expressions) GetConditions() *RecordCondition_Conditions {
  8283. if x, ok := m.GetType().(*RecordCondition_Expressions_Conditions); ok {
  8284. return x.Conditions
  8285. }
  8286. return nil
  8287. }
  8288. // XXX_OneofFuncs is for the internal use of the proto package.
  8289. func (*RecordCondition_Expressions) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  8290. return _RecordCondition_Expressions_OneofMarshaler, _RecordCondition_Expressions_OneofUnmarshaler, _RecordCondition_Expressions_OneofSizer, []interface{}{
  8291. (*RecordCondition_Expressions_Conditions)(nil),
  8292. }
  8293. }
  8294. func _RecordCondition_Expressions_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  8295. m := msg.(*RecordCondition_Expressions)
  8296. // type
  8297. switch x := m.Type.(type) {
  8298. case *RecordCondition_Expressions_Conditions:
  8299. b.EncodeVarint(3<<3 | proto.WireBytes)
  8300. if err := b.EncodeMessage(x.Conditions); err != nil {
  8301. return err
  8302. }
  8303. case nil:
  8304. default:
  8305. return fmt.Errorf("RecordCondition_Expressions.Type has unexpected type %T", x)
  8306. }
  8307. return nil
  8308. }
  8309. func _RecordCondition_Expressions_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  8310. m := msg.(*RecordCondition_Expressions)
  8311. switch tag {
  8312. case 3: // type.conditions
  8313. if wire != proto.WireBytes {
  8314. return true, proto.ErrInternalBadWireType
  8315. }
  8316. msg := new(RecordCondition_Conditions)
  8317. err := b.DecodeMessage(msg)
  8318. m.Type = &RecordCondition_Expressions_Conditions{msg}
  8319. return true, err
  8320. default:
  8321. return false, nil
  8322. }
  8323. }
  8324. func _RecordCondition_Expressions_OneofSizer(msg proto.Message) (n int) {
  8325. m := msg.(*RecordCondition_Expressions)
  8326. // type
  8327. switch x := m.Type.(type) {
  8328. case *RecordCondition_Expressions_Conditions:
  8329. s := proto.Size(x.Conditions)
  8330. n += 1 // tag and wire
  8331. n += proto.SizeVarint(uint64(s))
  8332. n += s
  8333. case nil:
  8334. default:
  8335. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  8336. }
  8337. return n
  8338. }
  8339. // Overview of the modifications that occurred.
  8340. type TransformationOverview struct {
  8341. // Total size in bytes that were transformed in some way.
  8342. TransformedBytes int64 `protobuf:"varint,2,opt,name=transformed_bytes,json=transformedBytes,proto3" json:"transformed_bytes,omitempty"`
  8343. // Transformations applied to the dataset.
  8344. TransformationSummaries []*TransformationSummary `protobuf:"bytes,3,rep,name=transformation_summaries,json=transformationSummaries,proto3" json:"transformation_summaries,omitempty"`
  8345. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  8346. XXX_unrecognized []byte `json:"-"`
  8347. XXX_sizecache int32 `json:"-"`
  8348. }
  8349. func (m *TransformationOverview) Reset() { *m = TransformationOverview{} }
  8350. func (m *TransformationOverview) String() string { return proto.CompactTextString(m) }
  8351. func (*TransformationOverview) ProtoMessage() {}
  8352. func (*TransformationOverview) Descriptor() ([]byte, []int) {
  8353. return fileDescriptor_dlp_9184f835f60c3220, []int{64}
  8354. }
  8355. func (m *TransformationOverview) XXX_Unmarshal(b []byte) error {
  8356. return xxx_messageInfo_TransformationOverview.Unmarshal(m, b)
  8357. }
  8358. func (m *TransformationOverview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  8359. return xxx_messageInfo_TransformationOverview.Marshal(b, m, deterministic)
  8360. }
  8361. func (dst *TransformationOverview) XXX_Merge(src proto.Message) {
  8362. xxx_messageInfo_TransformationOverview.Merge(dst, src)
  8363. }
  8364. func (m *TransformationOverview) XXX_Size() int {
  8365. return xxx_messageInfo_TransformationOverview.Size(m)
  8366. }
  8367. func (m *TransformationOverview) XXX_DiscardUnknown() {
  8368. xxx_messageInfo_TransformationOverview.DiscardUnknown(m)
  8369. }
  8370. var xxx_messageInfo_TransformationOverview proto.InternalMessageInfo
  8371. func (m *TransformationOverview) GetTransformedBytes() int64 {
  8372. if m != nil {
  8373. return m.TransformedBytes
  8374. }
  8375. return 0
  8376. }
  8377. func (m *TransformationOverview) GetTransformationSummaries() []*TransformationSummary {
  8378. if m != nil {
  8379. return m.TransformationSummaries
  8380. }
  8381. return nil
  8382. }
  8383. // Summary of a single tranformation.
  8384. // Only one of 'transformation', 'field_transformation', or 'record_suppress'
  8385. // will be set.
  8386. type TransformationSummary struct {
  8387. // Set if the transformation was limited to a specific InfoType.
  8388. InfoType *InfoType `protobuf:"bytes,1,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"`
  8389. // Set if the transformation was limited to a specific FieldId.
  8390. Field *FieldId `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"`
  8391. // The specific transformation these stats apply to.
  8392. Transformation *PrimitiveTransformation `protobuf:"bytes,3,opt,name=transformation,proto3" json:"transformation,omitempty"`
  8393. // The field transformation that was applied.
  8394. // If multiple field transformations are requested for a single field,
  8395. // this list will contain all of them; otherwise, only one is supplied.
  8396. FieldTransformations []*FieldTransformation `protobuf:"bytes,5,rep,name=field_transformations,json=fieldTransformations,proto3" json:"field_transformations,omitempty"`
  8397. // The specific suppression option these stats apply to.
  8398. RecordSuppress *RecordSuppression `protobuf:"bytes,6,opt,name=record_suppress,json=recordSuppress,proto3" json:"record_suppress,omitempty"`
  8399. Results []*TransformationSummary_SummaryResult `protobuf:"bytes,4,rep,name=results,proto3" json:"results,omitempty"`
  8400. // Total size in bytes that were transformed in some way.
  8401. TransformedBytes int64 `protobuf:"varint,7,opt,name=transformed_bytes,json=transformedBytes,proto3" json:"transformed_bytes,omitempty"`
  8402. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  8403. XXX_unrecognized []byte `json:"-"`
  8404. XXX_sizecache int32 `json:"-"`
  8405. }
  8406. func (m *TransformationSummary) Reset() { *m = TransformationSummary{} }
  8407. func (m *TransformationSummary) String() string { return proto.CompactTextString(m) }
  8408. func (*TransformationSummary) ProtoMessage() {}
  8409. func (*TransformationSummary) Descriptor() ([]byte, []int) {
  8410. return fileDescriptor_dlp_9184f835f60c3220, []int{65}
  8411. }
  8412. func (m *TransformationSummary) XXX_Unmarshal(b []byte) error {
  8413. return xxx_messageInfo_TransformationSummary.Unmarshal(m, b)
  8414. }
  8415. func (m *TransformationSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  8416. return xxx_messageInfo_TransformationSummary.Marshal(b, m, deterministic)
  8417. }
  8418. func (dst *TransformationSummary) XXX_Merge(src proto.Message) {
  8419. xxx_messageInfo_TransformationSummary.Merge(dst, src)
  8420. }
  8421. func (m *TransformationSummary) XXX_Size() int {
  8422. return xxx_messageInfo_TransformationSummary.Size(m)
  8423. }
  8424. func (m *TransformationSummary) XXX_DiscardUnknown() {
  8425. xxx_messageInfo_TransformationSummary.DiscardUnknown(m)
  8426. }
  8427. var xxx_messageInfo_TransformationSummary proto.InternalMessageInfo
  8428. func (m *TransformationSummary) GetInfoType() *InfoType {
  8429. if m != nil {
  8430. return m.InfoType
  8431. }
  8432. return nil
  8433. }
  8434. func (m *TransformationSummary) GetField() *FieldId {
  8435. if m != nil {
  8436. return m.Field
  8437. }
  8438. return nil
  8439. }
  8440. func (m *TransformationSummary) GetTransformation() *PrimitiveTransformation {
  8441. if m != nil {
  8442. return m.Transformation
  8443. }
  8444. return nil
  8445. }
  8446. func (m *TransformationSummary) GetFieldTransformations() []*FieldTransformation {
  8447. if m != nil {
  8448. return m.FieldTransformations
  8449. }
  8450. return nil
  8451. }
  8452. func (m *TransformationSummary) GetRecordSuppress() *RecordSuppression {
  8453. if m != nil {
  8454. return m.RecordSuppress
  8455. }
  8456. return nil
  8457. }
  8458. func (m *TransformationSummary) GetResults() []*TransformationSummary_SummaryResult {
  8459. if m != nil {
  8460. return m.Results
  8461. }
  8462. return nil
  8463. }
  8464. func (m *TransformationSummary) GetTransformedBytes() int64 {
  8465. if m != nil {
  8466. return m.TransformedBytes
  8467. }
  8468. return 0
  8469. }
  8470. // A collection that informs the user the number of times a particular
  8471. // `TransformationResultCode` and error details occurred.
  8472. type TransformationSummary_SummaryResult struct {
  8473. Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
  8474. Code TransformationSummary_TransformationResultCode `protobuf:"varint,2,opt,name=code,proto3,enum=google.privacy.dlp.v2.TransformationSummary_TransformationResultCode" json:"code,omitempty"`
  8475. // A place for warnings or errors to show up if a transformation didn't
  8476. // work as expected.
  8477. Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
  8478. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  8479. XXX_unrecognized []byte `json:"-"`
  8480. XXX_sizecache int32 `json:"-"`
  8481. }
  8482. func (m *TransformationSummary_SummaryResult) Reset() { *m = TransformationSummary_SummaryResult{} }
  8483. func (m *TransformationSummary_SummaryResult) String() string { return proto.CompactTextString(m) }
  8484. func (*TransformationSummary_SummaryResult) ProtoMessage() {}
  8485. func (*TransformationSummary_SummaryResult) Descriptor() ([]byte, []int) {
  8486. return fileDescriptor_dlp_9184f835f60c3220, []int{65, 0}
  8487. }
  8488. func (m *TransformationSummary_SummaryResult) XXX_Unmarshal(b []byte) error {
  8489. return xxx_messageInfo_TransformationSummary_SummaryResult.Unmarshal(m, b)
  8490. }
  8491. func (m *TransformationSummary_SummaryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  8492. return xxx_messageInfo_TransformationSummary_SummaryResult.Marshal(b, m, deterministic)
  8493. }
  8494. func (dst *TransformationSummary_SummaryResult) XXX_Merge(src proto.Message) {
  8495. xxx_messageInfo_TransformationSummary_SummaryResult.Merge(dst, src)
  8496. }
  8497. func (m *TransformationSummary_SummaryResult) XXX_Size() int {
  8498. return xxx_messageInfo_TransformationSummary_SummaryResult.Size(m)
  8499. }
  8500. func (m *TransformationSummary_SummaryResult) XXX_DiscardUnknown() {
  8501. xxx_messageInfo_TransformationSummary_SummaryResult.DiscardUnknown(m)
  8502. }
  8503. var xxx_messageInfo_TransformationSummary_SummaryResult proto.InternalMessageInfo
  8504. func (m *TransformationSummary_SummaryResult) GetCount() int64 {
  8505. if m != nil {
  8506. return m.Count
  8507. }
  8508. return 0
  8509. }
  8510. func (m *TransformationSummary_SummaryResult) GetCode() TransformationSummary_TransformationResultCode {
  8511. if m != nil {
  8512. return m.Code
  8513. }
  8514. return TransformationSummary_TRANSFORMATION_RESULT_CODE_UNSPECIFIED
  8515. }
  8516. func (m *TransformationSummary_SummaryResult) GetDetails() string {
  8517. if m != nil {
  8518. return m.Details
  8519. }
  8520. return ""
  8521. }
  8522. // Schedule for triggeredJobs.
  8523. type Schedule struct {
  8524. // Types that are valid to be assigned to Option:
  8525. // *Schedule_RecurrencePeriodDuration
  8526. Option isSchedule_Option `protobuf_oneof:"option"`
  8527. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  8528. XXX_unrecognized []byte `json:"-"`
  8529. XXX_sizecache int32 `json:"-"`
  8530. }
  8531. func (m *Schedule) Reset() { *m = Schedule{} }
  8532. func (m *Schedule) String() string { return proto.CompactTextString(m) }
  8533. func (*Schedule) ProtoMessage() {}
  8534. func (*Schedule) Descriptor() ([]byte, []int) {
  8535. return fileDescriptor_dlp_9184f835f60c3220, []int{66}
  8536. }
  8537. func (m *Schedule) XXX_Unmarshal(b []byte) error {
  8538. return xxx_messageInfo_Schedule.Unmarshal(m, b)
  8539. }
  8540. func (m *Schedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  8541. return xxx_messageInfo_Schedule.Marshal(b, m, deterministic)
  8542. }
  8543. func (dst *Schedule) XXX_Merge(src proto.Message) {
  8544. xxx_messageInfo_Schedule.Merge(dst, src)
  8545. }
  8546. func (m *Schedule) XXX_Size() int {
  8547. return xxx_messageInfo_Schedule.Size(m)
  8548. }
  8549. func (m *Schedule) XXX_DiscardUnknown() {
  8550. xxx_messageInfo_Schedule.DiscardUnknown(m)
  8551. }
  8552. var xxx_messageInfo_Schedule proto.InternalMessageInfo
  8553. type isSchedule_Option interface {
  8554. isSchedule_Option()
  8555. }
  8556. type Schedule_RecurrencePeriodDuration struct {
  8557. RecurrencePeriodDuration *duration.Duration `protobuf:"bytes,1,opt,name=recurrence_period_duration,json=recurrencePeriodDuration,proto3,oneof"`
  8558. }
  8559. func (*Schedule_RecurrencePeriodDuration) isSchedule_Option() {}
  8560. func (m *Schedule) GetOption() isSchedule_Option {
  8561. if m != nil {
  8562. return m.Option
  8563. }
  8564. return nil
  8565. }
  8566. func (m *Schedule) GetRecurrencePeriodDuration() *duration.Duration {
  8567. if x, ok := m.GetOption().(*Schedule_RecurrencePeriodDuration); ok {
  8568. return x.RecurrencePeriodDuration
  8569. }
  8570. return nil
  8571. }
  8572. // XXX_OneofFuncs is for the internal use of the proto package.
  8573. func (*Schedule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  8574. return _Schedule_OneofMarshaler, _Schedule_OneofUnmarshaler, _Schedule_OneofSizer, []interface{}{
  8575. (*Schedule_RecurrencePeriodDuration)(nil),
  8576. }
  8577. }
  8578. func _Schedule_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  8579. m := msg.(*Schedule)
  8580. // option
  8581. switch x := m.Option.(type) {
  8582. case *Schedule_RecurrencePeriodDuration:
  8583. b.EncodeVarint(1<<3 | proto.WireBytes)
  8584. if err := b.EncodeMessage(x.RecurrencePeriodDuration); err != nil {
  8585. return err
  8586. }
  8587. case nil:
  8588. default:
  8589. return fmt.Errorf("Schedule.Option has unexpected type %T", x)
  8590. }
  8591. return nil
  8592. }
  8593. func _Schedule_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  8594. m := msg.(*Schedule)
  8595. switch tag {
  8596. case 1: // option.recurrence_period_duration
  8597. if wire != proto.WireBytes {
  8598. return true, proto.ErrInternalBadWireType
  8599. }
  8600. msg := new(duration.Duration)
  8601. err := b.DecodeMessage(msg)
  8602. m.Option = &Schedule_RecurrencePeriodDuration{msg}
  8603. return true, err
  8604. default:
  8605. return false, nil
  8606. }
  8607. }
  8608. func _Schedule_OneofSizer(msg proto.Message) (n int) {
  8609. m := msg.(*Schedule)
  8610. // option
  8611. switch x := m.Option.(type) {
  8612. case *Schedule_RecurrencePeriodDuration:
  8613. s := proto.Size(x.RecurrencePeriodDuration)
  8614. n += 1 // tag and wire
  8615. n += proto.SizeVarint(uint64(s))
  8616. n += s
  8617. case nil:
  8618. default:
  8619. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  8620. }
  8621. return n
  8622. }
  8623. // The inspectTemplate contains a configuration (set of types of sensitive data
  8624. // to be detected) to be used anywhere you otherwise would normally specify
  8625. // InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates
  8626. // to learn more.
  8627. type InspectTemplate struct {
  8628. // The template name. Output only.
  8629. //
  8630. // The template will have one of the following formats:
  8631. // `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR
  8632. // `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`
  8633. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  8634. // Display name (max 256 chars).
  8635. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
  8636. // Short description (max 256 chars).
  8637. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
  8638. // The creation timestamp of a inspectTemplate, output only field.
  8639. CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
  8640. // The last update timestamp of a inspectTemplate, output only field.
  8641. UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
  8642. // The core content of the template. Configuration of the scanning process.
  8643. InspectConfig *InspectConfig `protobuf:"bytes,6,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"`
  8644. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  8645. XXX_unrecognized []byte `json:"-"`
  8646. XXX_sizecache int32 `json:"-"`
  8647. }
  8648. func (m *InspectTemplate) Reset() { *m = InspectTemplate{} }
  8649. func (m *InspectTemplate) String() string { return proto.CompactTextString(m) }
  8650. func (*InspectTemplate) ProtoMessage() {}
  8651. func (*InspectTemplate) Descriptor() ([]byte, []int) {
  8652. return fileDescriptor_dlp_9184f835f60c3220, []int{67}
  8653. }
  8654. func (m *InspectTemplate) XXX_Unmarshal(b []byte) error {
  8655. return xxx_messageInfo_InspectTemplate.Unmarshal(m, b)
  8656. }
  8657. func (m *InspectTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  8658. return xxx_messageInfo_InspectTemplate.Marshal(b, m, deterministic)
  8659. }
  8660. func (dst *InspectTemplate) XXX_Merge(src proto.Message) {
  8661. xxx_messageInfo_InspectTemplate.Merge(dst, src)
  8662. }
  8663. func (m *InspectTemplate) XXX_Size() int {
  8664. return xxx_messageInfo_InspectTemplate.Size(m)
  8665. }
  8666. func (m *InspectTemplate) XXX_DiscardUnknown() {
  8667. xxx_messageInfo_InspectTemplate.DiscardUnknown(m)
  8668. }
  8669. var xxx_messageInfo_InspectTemplate proto.InternalMessageInfo
  8670. func (m *InspectTemplate) GetName() string {
  8671. if m != nil {
  8672. return m.Name
  8673. }
  8674. return ""
  8675. }
  8676. func (m *InspectTemplate) GetDisplayName() string {
  8677. if m != nil {
  8678. return m.DisplayName
  8679. }
  8680. return ""
  8681. }
  8682. func (m *InspectTemplate) GetDescription() string {
  8683. if m != nil {
  8684. return m.Description
  8685. }
  8686. return ""
  8687. }
  8688. func (m *InspectTemplate) GetCreateTime() *timestamp.Timestamp {
  8689. if m != nil {
  8690. return m.CreateTime
  8691. }
  8692. return nil
  8693. }
  8694. func (m *InspectTemplate) GetUpdateTime() *timestamp.Timestamp {
  8695. if m != nil {
  8696. return m.UpdateTime
  8697. }
  8698. return nil
  8699. }
  8700. func (m *InspectTemplate) GetInspectConfig() *InspectConfig {
  8701. if m != nil {
  8702. return m.InspectConfig
  8703. }
  8704. return nil
  8705. }
  8706. // The DeidentifyTemplates contains instructions on how to deidentify content.
  8707. // See https://cloud.google.com/dlp/docs/concepts-templates to learn more.
  8708. type DeidentifyTemplate struct {
  8709. // The template name. Output only.
  8710. //
  8711. // The template will have one of the following formats:
  8712. // `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR
  8713. // `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`
  8714. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  8715. // Display name (max 256 chars).
  8716. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
  8717. // Short description (max 256 chars).
  8718. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
  8719. // The creation timestamp of a inspectTemplate, output only field.
  8720. CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
  8721. // The last update timestamp of a inspectTemplate, output only field.
  8722. UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
  8723. // ///////////// // The core content of the template // ///////////////
  8724. DeidentifyConfig *DeidentifyConfig `protobuf:"bytes,6,opt,name=deidentify_config,json=deidentifyConfig,proto3" json:"deidentify_config,omitempty"`
  8725. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  8726. XXX_unrecognized []byte `json:"-"`
  8727. XXX_sizecache int32 `json:"-"`
  8728. }
  8729. func (m *DeidentifyTemplate) Reset() { *m = DeidentifyTemplate{} }
  8730. func (m *DeidentifyTemplate) String() string { return proto.CompactTextString(m) }
  8731. func (*DeidentifyTemplate) ProtoMessage() {}
  8732. func (*DeidentifyTemplate) Descriptor() ([]byte, []int) {
  8733. return fileDescriptor_dlp_9184f835f60c3220, []int{68}
  8734. }
  8735. func (m *DeidentifyTemplate) XXX_Unmarshal(b []byte) error {
  8736. return xxx_messageInfo_DeidentifyTemplate.Unmarshal(m, b)
  8737. }
  8738. func (m *DeidentifyTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  8739. return xxx_messageInfo_DeidentifyTemplate.Marshal(b, m, deterministic)
  8740. }
  8741. func (dst *DeidentifyTemplate) XXX_Merge(src proto.Message) {
  8742. xxx_messageInfo_DeidentifyTemplate.Merge(dst, src)
  8743. }
  8744. func (m *DeidentifyTemplate) XXX_Size() int {
  8745. return xxx_messageInfo_DeidentifyTemplate.Size(m)
  8746. }
  8747. func (m *DeidentifyTemplate) XXX_DiscardUnknown() {
  8748. xxx_messageInfo_DeidentifyTemplate.DiscardUnknown(m)
  8749. }
  8750. var xxx_messageInfo_DeidentifyTemplate proto.InternalMessageInfo
  8751. func (m *DeidentifyTemplate) GetName() string {
  8752. if m != nil {
  8753. return m.Name
  8754. }
  8755. return ""
  8756. }
  8757. func (m *DeidentifyTemplate) GetDisplayName() string {
  8758. if m != nil {
  8759. return m.DisplayName
  8760. }
  8761. return ""
  8762. }
  8763. func (m *DeidentifyTemplate) GetDescription() string {
  8764. if m != nil {
  8765. return m.Description
  8766. }
  8767. return ""
  8768. }
  8769. func (m *DeidentifyTemplate) GetCreateTime() *timestamp.Timestamp {
  8770. if m != nil {
  8771. return m.CreateTime
  8772. }
  8773. return nil
  8774. }
  8775. func (m *DeidentifyTemplate) GetUpdateTime() *timestamp.Timestamp {
  8776. if m != nil {
  8777. return m.UpdateTime
  8778. }
  8779. return nil
  8780. }
  8781. func (m *DeidentifyTemplate) GetDeidentifyConfig() *DeidentifyConfig {
  8782. if m != nil {
  8783. return m.DeidentifyConfig
  8784. }
  8785. return nil
  8786. }
  8787. // Details information about an error encountered during job execution or
  8788. // the results of an unsuccessful activation of the JobTrigger.
  8789. // Output only field.
  8790. type Error struct {
  8791. Details *status.Status `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
  8792. // The times the error occurred.
  8793. Timestamps []*timestamp.Timestamp `protobuf:"bytes,2,rep,name=timestamps,proto3" json:"timestamps,omitempty"`
  8794. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  8795. XXX_unrecognized []byte `json:"-"`
  8796. XXX_sizecache int32 `json:"-"`
  8797. }
  8798. func (m *Error) Reset() { *m = Error{} }
  8799. func (m *Error) String() string { return proto.CompactTextString(m) }
  8800. func (*Error) ProtoMessage() {}
  8801. func (*Error) Descriptor() ([]byte, []int) {
  8802. return fileDescriptor_dlp_9184f835f60c3220, []int{69}
  8803. }
  8804. func (m *Error) XXX_Unmarshal(b []byte) error {
  8805. return xxx_messageInfo_Error.Unmarshal(m, b)
  8806. }
  8807. func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  8808. return xxx_messageInfo_Error.Marshal(b, m, deterministic)
  8809. }
  8810. func (dst *Error) XXX_Merge(src proto.Message) {
  8811. xxx_messageInfo_Error.Merge(dst, src)
  8812. }
  8813. func (m *Error) XXX_Size() int {
  8814. return xxx_messageInfo_Error.Size(m)
  8815. }
  8816. func (m *Error) XXX_DiscardUnknown() {
  8817. xxx_messageInfo_Error.DiscardUnknown(m)
  8818. }
  8819. var xxx_messageInfo_Error proto.InternalMessageInfo
  8820. func (m *Error) GetDetails() *status.Status {
  8821. if m != nil {
  8822. return m.Details
  8823. }
  8824. return nil
  8825. }
  8826. func (m *Error) GetTimestamps() []*timestamp.Timestamp {
  8827. if m != nil {
  8828. return m.Timestamps
  8829. }
  8830. return nil
  8831. }
  8832. // Contains a configuration to make dlp api calls on a repeating basis.
  8833. // See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
  8834. type JobTrigger struct {
  8835. // Unique resource name for the triggeredJob, assigned by the service when the
  8836. // triggeredJob is created, for example
  8837. // `projects/dlp-test-project/triggeredJobs/53234423`.
  8838. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  8839. // Display name (max 100 chars)
  8840. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
  8841. // User provided description (max 256 chars)
  8842. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
  8843. // The configuration details for the specific type of job to run.
  8844. //
  8845. // Types that are valid to be assigned to Job:
  8846. // *JobTrigger_InspectJob
  8847. Job isJobTrigger_Job `protobuf_oneof:"job"`
  8848. // A list of triggers which will be OR'ed together. Only one in the list
  8849. // needs to trigger for a job to be started. The list may contain only
  8850. // a single Schedule trigger and must have at least one object.
  8851. Triggers []*JobTrigger_Trigger `protobuf:"bytes,5,rep,name=triggers,proto3" json:"triggers,omitempty"`
  8852. // A stream of errors encountered when the trigger was activated. Repeated
  8853. // errors may result in the JobTrigger automatically being paused.
  8854. // Will return the last 100 errors. Whenever the JobTrigger is modified
  8855. // this list will be cleared. Output only field.
  8856. Errors []*Error `protobuf:"bytes,6,rep,name=errors,proto3" json:"errors,omitempty"`
  8857. // The creation timestamp of a triggeredJob, output only field.
  8858. CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
  8859. // The last update timestamp of a triggeredJob, output only field.
  8860. UpdateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
  8861. // The timestamp of the last time this trigger executed, output only field.
  8862. LastRunTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_run_time,json=lastRunTime,proto3" json:"last_run_time,omitempty"`
  8863. // A status for this trigger. [required]
  8864. Status JobTrigger_Status `protobuf:"varint,10,opt,name=status,proto3,enum=google.privacy.dlp.v2.JobTrigger_Status" json:"status,omitempty"`
  8865. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  8866. XXX_unrecognized []byte `json:"-"`
  8867. XXX_sizecache int32 `json:"-"`
  8868. }
  8869. func (m *JobTrigger) Reset() { *m = JobTrigger{} }
  8870. func (m *JobTrigger) String() string { return proto.CompactTextString(m) }
  8871. func (*JobTrigger) ProtoMessage() {}
  8872. func (*JobTrigger) Descriptor() ([]byte, []int) {
  8873. return fileDescriptor_dlp_9184f835f60c3220, []int{70}
  8874. }
  8875. func (m *JobTrigger) XXX_Unmarshal(b []byte) error {
  8876. return xxx_messageInfo_JobTrigger.Unmarshal(m, b)
  8877. }
  8878. func (m *JobTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  8879. return xxx_messageInfo_JobTrigger.Marshal(b, m, deterministic)
  8880. }
  8881. func (dst *JobTrigger) XXX_Merge(src proto.Message) {
  8882. xxx_messageInfo_JobTrigger.Merge(dst, src)
  8883. }
  8884. func (m *JobTrigger) XXX_Size() int {
  8885. return xxx_messageInfo_JobTrigger.Size(m)
  8886. }
  8887. func (m *JobTrigger) XXX_DiscardUnknown() {
  8888. xxx_messageInfo_JobTrigger.DiscardUnknown(m)
  8889. }
  8890. var xxx_messageInfo_JobTrigger proto.InternalMessageInfo
  8891. func (m *JobTrigger) GetName() string {
  8892. if m != nil {
  8893. return m.Name
  8894. }
  8895. return ""
  8896. }
  8897. func (m *JobTrigger) GetDisplayName() string {
  8898. if m != nil {
  8899. return m.DisplayName
  8900. }
  8901. return ""
  8902. }
  8903. func (m *JobTrigger) GetDescription() string {
  8904. if m != nil {
  8905. return m.Description
  8906. }
  8907. return ""
  8908. }
  8909. type isJobTrigger_Job interface {
  8910. isJobTrigger_Job()
  8911. }
  8912. type JobTrigger_InspectJob struct {
  8913. InspectJob *InspectJobConfig `protobuf:"bytes,4,opt,name=inspect_job,json=inspectJob,proto3,oneof"`
  8914. }
  8915. func (*JobTrigger_InspectJob) isJobTrigger_Job() {}
  8916. func (m *JobTrigger) GetJob() isJobTrigger_Job {
  8917. if m != nil {
  8918. return m.Job
  8919. }
  8920. return nil
  8921. }
  8922. func (m *JobTrigger) GetInspectJob() *InspectJobConfig {
  8923. if x, ok := m.GetJob().(*JobTrigger_InspectJob); ok {
  8924. return x.InspectJob
  8925. }
  8926. return nil
  8927. }
  8928. func (m *JobTrigger) GetTriggers() []*JobTrigger_Trigger {
  8929. if m != nil {
  8930. return m.Triggers
  8931. }
  8932. return nil
  8933. }
  8934. func (m *JobTrigger) GetErrors() []*Error {
  8935. if m != nil {
  8936. return m.Errors
  8937. }
  8938. return nil
  8939. }
  8940. func (m *JobTrigger) GetCreateTime() *timestamp.Timestamp {
  8941. if m != nil {
  8942. return m.CreateTime
  8943. }
  8944. return nil
  8945. }
  8946. func (m *JobTrigger) GetUpdateTime() *timestamp.Timestamp {
  8947. if m != nil {
  8948. return m.UpdateTime
  8949. }
  8950. return nil
  8951. }
  8952. func (m *JobTrigger) GetLastRunTime() *timestamp.Timestamp {
  8953. if m != nil {
  8954. return m.LastRunTime
  8955. }
  8956. return nil
  8957. }
  8958. func (m *JobTrigger) GetStatus() JobTrigger_Status {
  8959. if m != nil {
  8960. return m.Status
  8961. }
  8962. return JobTrigger_STATUS_UNSPECIFIED
  8963. }
  8964. // XXX_OneofFuncs is for the internal use of the proto package.
  8965. func (*JobTrigger) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  8966. return _JobTrigger_OneofMarshaler, _JobTrigger_OneofUnmarshaler, _JobTrigger_OneofSizer, []interface{}{
  8967. (*JobTrigger_InspectJob)(nil),
  8968. }
  8969. }
  8970. func _JobTrigger_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  8971. m := msg.(*JobTrigger)
  8972. // job
  8973. switch x := m.Job.(type) {
  8974. case *JobTrigger_InspectJob:
  8975. b.EncodeVarint(4<<3 | proto.WireBytes)
  8976. if err := b.EncodeMessage(x.InspectJob); err != nil {
  8977. return err
  8978. }
  8979. case nil:
  8980. default:
  8981. return fmt.Errorf("JobTrigger.Job has unexpected type %T", x)
  8982. }
  8983. return nil
  8984. }
  8985. func _JobTrigger_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  8986. m := msg.(*JobTrigger)
  8987. switch tag {
  8988. case 4: // job.inspect_job
  8989. if wire != proto.WireBytes {
  8990. return true, proto.ErrInternalBadWireType
  8991. }
  8992. msg := new(InspectJobConfig)
  8993. err := b.DecodeMessage(msg)
  8994. m.Job = &JobTrigger_InspectJob{msg}
  8995. return true, err
  8996. default:
  8997. return false, nil
  8998. }
  8999. }
  9000. func _JobTrigger_OneofSizer(msg proto.Message) (n int) {
  9001. m := msg.(*JobTrigger)
  9002. // job
  9003. switch x := m.Job.(type) {
  9004. case *JobTrigger_InspectJob:
  9005. s := proto.Size(x.InspectJob)
  9006. n += 1 // tag and wire
  9007. n += proto.SizeVarint(uint64(s))
  9008. n += s
  9009. case nil:
  9010. default:
  9011. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  9012. }
  9013. return n
  9014. }
  9015. // What event needs to occur for a new job to be started.
  9016. type JobTrigger_Trigger struct {
  9017. // Types that are valid to be assigned to Trigger:
  9018. // *JobTrigger_Trigger_Schedule
  9019. Trigger isJobTrigger_Trigger_Trigger `protobuf_oneof:"trigger"`
  9020. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  9021. XXX_unrecognized []byte `json:"-"`
  9022. XXX_sizecache int32 `json:"-"`
  9023. }
  9024. func (m *JobTrigger_Trigger) Reset() { *m = JobTrigger_Trigger{} }
  9025. func (m *JobTrigger_Trigger) String() string { return proto.CompactTextString(m) }
  9026. func (*JobTrigger_Trigger) ProtoMessage() {}
  9027. func (*JobTrigger_Trigger) Descriptor() ([]byte, []int) {
  9028. return fileDescriptor_dlp_9184f835f60c3220, []int{70, 0}
  9029. }
  9030. func (m *JobTrigger_Trigger) XXX_Unmarshal(b []byte) error {
  9031. return xxx_messageInfo_JobTrigger_Trigger.Unmarshal(m, b)
  9032. }
  9033. func (m *JobTrigger_Trigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  9034. return xxx_messageInfo_JobTrigger_Trigger.Marshal(b, m, deterministic)
  9035. }
  9036. func (dst *JobTrigger_Trigger) XXX_Merge(src proto.Message) {
  9037. xxx_messageInfo_JobTrigger_Trigger.Merge(dst, src)
  9038. }
  9039. func (m *JobTrigger_Trigger) XXX_Size() int {
  9040. return xxx_messageInfo_JobTrigger_Trigger.Size(m)
  9041. }
  9042. func (m *JobTrigger_Trigger) XXX_DiscardUnknown() {
  9043. xxx_messageInfo_JobTrigger_Trigger.DiscardUnknown(m)
  9044. }
  9045. var xxx_messageInfo_JobTrigger_Trigger proto.InternalMessageInfo
  9046. type isJobTrigger_Trigger_Trigger interface {
  9047. isJobTrigger_Trigger_Trigger()
  9048. }
  9049. type JobTrigger_Trigger_Schedule struct {
  9050. Schedule *Schedule `protobuf:"bytes,1,opt,name=schedule,proto3,oneof"`
  9051. }
  9052. func (*JobTrigger_Trigger_Schedule) isJobTrigger_Trigger_Trigger() {}
  9053. func (m *JobTrigger_Trigger) GetTrigger() isJobTrigger_Trigger_Trigger {
  9054. if m != nil {
  9055. return m.Trigger
  9056. }
  9057. return nil
  9058. }
  9059. func (m *JobTrigger_Trigger) GetSchedule() *Schedule {
  9060. if x, ok := m.GetTrigger().(*JobTrigger_Trigger_Schedule); ok {
  9061. return x.Schedule
  9062. }
  9063. return nil
  9064. }
  9065. // XXX_OneofFuncs is for the internal use of the proto package.
  9066. func (*JobTrigger_Trigger) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  9067. return _JobTrigger_Trigger_OneofMarshaler, _JobTrigger_Trigger_OneofUnmarshaler, _JobTrigger_Trigger_OneofSizer, []interface{}{
  9068. (*JobTrigger_Trigger_Schedule)(nil),
  9069. }
  9070. }
  9071. func _JobTrigger_Trigger_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  9072. m := msg.(*JobTrigger_Trigger)
  9073. // trigger
  9074. switch x := m.Trigger.(type) {
  9075. case *JobTrigger_Trigger_Schedule:
  9076. b.EncodeVarint(1<<3 | proto.WireBytes)
  9077. if err := b.EncodeMessage(x.Schedule); err != nil {
  9078. return err
  9079. }
  9080. case nil:
  9081. default:
  9082. return fmt.Errorf("JobTrigger_Trigger.Trigger has unexpected type %T", x)
  9083. }
  9084. return nil
  9085. }
  9086. func _JobTrigger_Trigger_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  9087. m := msg.(*JobTrigger_Trigger)
  9088. switch tag {
  9089. case 1: // trigger.schedule
  9090. if wire != proto.WireBytes {
  9091. return true, proto.ErrInternalBadWireType
  9092. }
  9093. msg := new(Schedule)
  9094. err := b.DecodeMessage(msg)
  9095. m.Trigger = &JobTrigger_Trigger_Schedule{msg}
  9096. return true, err
  9097. default:
  9098. return false, nil
  9099. }
  9100. }
  9101. func _JobTrigger_Trigger_OneofSizer(msg proto.Message) (n int) {
  9102. m := msg.(*JobTrigger_Trigger)
  9103. // trigger
  9104. switch x := m.Trigger.(type) {
  9105. case *JobTrigger_Trigger_Schedule:
  9106. s := proto.Size(x.Schedule)
  9107. n += 1 // tag and wire
  9108. n += proto.SizeVarint(uint64(s))
  9109. n += s
  9110. case nil:
  9111. default:
  9112. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  9113. }
  9114. return n
  9115. }
  9116. // A task to execute on the completion of a job.
  9117. // See https://cloud.google.com/dlp/docs/concepts-actions to learn more.
  9118. type Action struct {
  9119. // Types that are valid to be assigned to Action:
  9120. // *Action_SaveFindings_
  9121. // *Action_PubSub
  9122. // *Action_PublishSummaryToCscc_
  9123. // *Action_JobNotificationEmails_
  9124. Action isAction_Action `protobuf_oneof:"action"`
  9125. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  9126. XXX_unrecognized []byte `json:"-"`
  9127. XXX_sizecache int32 `json:"-"`
  9128. }
  9129. func (m *Action) Reset() { *m = Action{} }
  9130. func (m *Action) String() string { return proto.CompactTextString(m) }
  9131. func (*Action) ProtoMessage() {}
  9132. func (*Action) Descriptor() ([]byte, []int) {
  9133. return fileDescriptor_dlp_9184f835f60c3220, []int{71}
  9134. }
  9135. func (m *Action) XXX_Unmarshal(b []byte) error {
  9136. return xxx_messageInfo_Action.Unmarshal(m, b)
  9137. }
  9138. func (m *Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  9139. return xxx_messageInfo_Action.Marshal(b, m, deterministic)
  9140. }
  9141. func (dst *Action) XXX_Merge(src proto.Message) {
  9142. xxx_messageInfo_Action.Merge(dst, src)
  9143. }
  9144. func (m *Action) XXX_Size() int {
  9145. return xxx_messageInfo_Action.Size(m)
  9146. }
  9147. func (m *Action) XXX_DiscardUnknown() {
  9148. xxx_messageInfo_Action.DiscardUnknown(m)
  9149. }
  9150. var xxx_messageInfo_Action proto.InternalMessageInfo
  9151. type isAction_Action interface {
  9152. isAction_Action()
  9153. }
  9154. type Action_SaveFindings_ struct {
  9155. SaveFindings *Action_SaveFindings `protobuf:"bytes,1,opt,name=save_findings,json=saveFindings,proto3,oneof"`
  9156. }
  9157. type Action_PubSub struct {
  9158. PubSub *Action_PublishToPubSub `protobuf:"bytes,2,opt,name=pub_sub,json=pubSub,proto3,oneof"`
  9159. }
  9160. type Action_PublishSummaryToCscc_ struct {
  9161. PublishSummaryToCscc *Action_PublishSummaryToCscc `protobuf:"bytes,3,opt,name=publish_summary_to_cscc,json=publishSummaryToCscc,proto3,oneof"`
  9162. }
  9163. type Action_JobNotificationEmails_ struct {
  9164. JobNotificationEmails *Action_JobNotificationEmails `protobuf:"bytes,8,opt,name=job_notification_emails,json=jobNotificationEmails,proto3,oneof"`
  9165. }
  9166. func (*Action_SaveFindings_) isAction_Action() {}
  9167. func (*Action_PubSub) isAction_Action() {}
  9168. func (*Action_PublishSummaryToCscc_) isAction_Action() {}
  9169. func (*Action_JobNotificationEmails_) isAction_Action() {}
  9170. func (m *Action) GetAction() isAction_Action {
  9171. if m != nil {
  9172. return m.Action
  9173. }
  9174. return nil
  9175. }
  9176. func (m *Action) GetSaveFindings() *Action_SaveFindings {
  9177. if x, ok := m.GetAction().(*Action_SaveFindings_); ok {
  9178. return x.SaveFindings
  9179. }
  9180. return nil
  9181. }
  9182. func (m *Action) GetPubSub() *Action_PublishToPubSub {
  9183. if x, ok := m.GetAction().(*Action_PubSub); ok {
  9184. return x.PubSub
  9185. }
  9186. return nil
  9187. }
  9188. func (m *Action) GetPublishSummaryToCscc() *Action_PublishSummaryToCscc {
  9189. if x, ok := m.GetAction().(*Action_PublishSummaryToCscc_); ok {
  9190. return x.PublishSummaryToCscc
  9191. }
  9192. return nil
  9193. }
  9194. func (m *Action) GetJobNotificationEmails() *Action_JobNotificationEmails {
  9195. if x, ok := m.GetAction().(*Action_JobNotificationEmails_); ok {
  9196. return x.JobNotificationEmails
  9197. }
  9198. return nil
  9199. }
  9200. // XXX_OneofFuncs is for the internal use of the proto package.
  9201. func (*Action) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  9202. return _Action_OneofMarshaler, _Action_OneofUnmarshaler, _Action_OneofSizer, []interface{}{
  9203. (*Action_SaveFindings_)(nil),
  9204. (*Action_PubSub)(nil),
  9205. (*Action_PublishSummaryToCscc_)(nil),
  9206. (*Action_JobNotificationEmails_)(nil),
  9207. }
  9208. }
  9209. func _Action_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  9210. m := msg.(*Action)
  9211. // action
  9212. switch x := m.Action.(type) {
  9213. case *Action_SaveFindings_:
  9214. b.EncodeVarint(1<<3 | proto.WireBytes)
  9215. if err := b.EncodeMessage(x.SaveFindings); err != nil {
  9216. return err
  9217. }
  9218. case *Action_PubSub:
  9219. b.EncodeVarint(2<<3 | proto.WireBytes)
  9220. if err := b.EncodeMessage(x.PubSub); err != nil {
  9221. return err
  9222. }
  9223. case *Action_PublishSummaryToCscc_:
  9224. b.EncodeVarint(3<<3 | proto.WireBytes)
  9225. if err := b.EncodeMessage(x.PublishSummaryToCscc); err != nil {
  9226. return err
  9227. }
  9228. case *Action_JobNotificationEmails_:
  9229. b.EncodeVarint(8<<3 | proto.WireBytes)
  9230. if err := b.EncodeMessage(x.JobNotificationEmails); err != nil {
  9231. return err
  9232. }
  9233. case nil:
  9234. default:
  9235. return fmt.Errorf("Action.Action has unexpected type %T", x)
  9236. }
  9237. return nil
  9238. }
  9239. func _Action_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  9240. m := msg.(*Action)
  9241. switch tag {
  9242. case 1: // action.save_findings
  9243. if wire != proto.WireBytes {
  9244. return true, proto.ErrInternalBadWireType
  9245. }
  9246. msg := new(Action_SaveFindings)
  9247. err := b.DecodeMessage(msg)
  9248. m.Action = &Action_SaveFindings_{msg}
  9249. return true, err
  9250. case 2: // action.pub_sub
  9251. if wire != proto.WireBytes {
  9252. return true, proto.ErrInternalBadWireType
  9253. }
  9254. msg := new(Action_PublishToPubSub)
  9255. err := b.DecodeMessage(msg)
  9256. m.Action = &Action_PubSub{msg}
  9257. return true, err
  9258. case 3: // action.publish_summary_to_cscc
  9259. if wire != proto.WireBytes {
  9260. return true, proto.ErrInternalBadWireType
  9261. }
  9262. msg := new(Action_PublishSummaryToCscc)
  9263. err := b.DecodeMessage(msg)
  9264. m.Action = &Action_PublishSummaryToCscc_{msg}
  9265. return true, err
  9266. case 8: // action.job_notification_emails
  9267. if wire != proto.WireBytes {
  9268. return true, proto.ErrInternalBadWireType
  9269. }
  9270. msg := new(Action_JobNotificationEmails)
  9271. err := b.DecodeMessage(msg)
  9272. m.Action = &Action_JobNotificationEmails_{msg}
  9273. return true, err
  9274. default:
  9275. return false, nil
  9276. }
  9277. }
  9278. func _Action_OneofSizer(msg proto.Message) (n int) {
  9279. m := msg.(*Action)
  9280. // action
  9281. switch x := m.Action.(type) {
  9282. case *Action_SaveFindings_:
  9283. s := proto.Size(x.SaveFindings)
  9284. n += 1 // tag and wire
  9285. n += proto.SizeVarint(uint64(s))
  9286. n += s
  9287. case *Action_PubSub:
  9288. s := proto.Size(x.PubSub)
  9289. n += 1 // tag and wire
  9290. n += proto.SizeVarint(uint64(s))
  9291. n += s
  9292. case *Action_PublishSummaryToCscc_:
  9293. s := proto.Size(x.PublishSummaryToCscc)
  9294. n += 1 // tag and wire
  9295. n += proto.SizeVarint(uint64(s))
  9296. n += s
  9297. case *Action_JobNotificationEmails_:
  9298. s := proto.Size(x.JobNotificationEmails)
  9299. n += 1 // tag and wire
  9300. n += proto.SizeVarint(uint64(s))
  9301. n += s
  9302. case nil:
  9303. default:
  9304. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  9305. }
  9306. return n
  9307. }
  9308. // If set, the detailed findings will be persisted to the specified
  9309. // OutputStorageConfig. Only a single instance of this action can be
  9310. // specified.
  9311. // Compatible with: Inspect, Risk
  9312. type Action_SaveFindings struct {
  9313. OutputConfig *OutputStorageConfig `protobuf:"bytes,1,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
  9314. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  9315. XXX_unrecognized []byte `json:"-"`
  9316. XXX_sizecache int32 `json:"-"`
  9317. }
  9318. func (m *Action_SaveFindings) Reset() { *m = Action_SaveFindings{} }
  9319. func (m *Action_SaveFindings) String() string { return proto.CompactTextString(m) }
  9320. func (*Action_SaveFindings) ProtoMessage() {}
  9321. func (*Action_SaveFindings) Descriptor() ([]byte, []int) {
  9322. return fileDescriptor_dlp_9184f835f60c3220, []int{71, 0}
  9323. }
  9324. func (m *Action_SaveFindings) XXX_Unmarshal(b []byte) error {
  9325. return xxx_messageInfo_Action_SaveFindings.Unmarshal(m, b)
  9326. }
  9327. func (m *Action_SaveFindings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  9328. return xxx_messageInfo_Action_SaveFindings.Marshal(b, m, deterministic)
  9329. }
  9330. func (dst *Action_SaveFindings) XXX_Merge(src proto.Message) {
  9331. xxx_messageInfo_Action_SaveFindings.Merge(dst, src)
  9332. }
  9333. func (m *Action_SaveFindings) XXX_Size() int {
  9334. return xxx_messageInfo_Action_SaveFindings.Size(m)
  9335. }
  9336. func (m *Action_SaveFindings) XXX_DiscardUnknown() {
  9337. xxx_messageInfo_Action_SaveFindings.DiscardUnknown(m)
  9338. }
  9339. var xxx_messageInfo_Action_SaveFindings proto.InternalMessageInfo
  9340. func (m *Action_SaveFindings) GetOutputConfig() *OutputStorageConfig {
  9341. if m != nil {
  9342. return m.OutputConfig
  9343. }
  9344. return nil
  9345. }
  9346. // Publish the results of a DlpJob to a pub sub channel.
  9347. // Compatible with: Inspect, Risk
  9348. type Action_PublishToPubSub struct {
  9349. // Cloud Pub/Sub topic to send notifications to. The topic must have given
  9350. // publishing access rights to the DLP API service account executing
  9351. // the long running DlpJob sending the notifications.
  9352. // Format is projects/{project}/topics/{topic}.
  9353. Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
  9354. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  9355. XXX_unrecognized []byte `json:"-"`
  9356. XXX_sizecache int32 `json:"-"`
  9357. }
  9358. func (m *Action_PublishToPubSub) Reset() { *m = Action_PublishToPubSub{} }
  9359. func (m *Action_PublishToPubSub) String() string { return proto.CompactTextString(m) }
  9360. func (*Action_PublishToPubSub) ProtoMessage() {}
  9361. func (*Action_PublishToPubSub) Descriptor() ([]byte, []int) {
  9362. return fileDescriptor_dlp_9184f835f60c3220, []int{71, 1}
  9363. }
  9364. func (m *Action_PublishToPubSub) XXX_Unmarshal(b []byte) error {
  9365. return xxx_messageInfo_Action_PublishToPubSub.Unmarshal(m, b)
  9366. }
  9367. func (m *Action_PublishToPubSub) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  9368. return xxx_messageInfo_Action_PublishToPubSub.Marshal(b, m, deterministic)
  9369. }
  9370. func (dst *Action_PublishToPubSub) XXX_Merge(src proto.Message) {
  9371. xxx_messageInfo_Action_PublishToPubSub.Merge(dst, src)
  9372. }
  9373. func (m *Action_PublishToPubSub) XXX_Size() int {
  9374. return xxx_messageInfo_Action_PublishToPubSub.Size(m)
  9375. }
  9376. func (m *Action_PublishToPubSub) XXX_DiscardUnknown() {
  9377. xxx_messageInfo_Action_PublishToPubSub.DiscardUnknown(m)
  9378. }
  9379. var xxx_messageInfo_Action_PublishToPubSub proto.InternalMessageInfo
  9380. func (m *Action_PublishToPubSub) GetTopic() string {
  9381. if m != nil {
  9382. return m.Topic
  9383. }
  9384. return ""
  9385. }
  9386. // Publish the result summary of a DlpJob to the Cloud Security
  9387. // Command Center (CSCC Alpha).
  9388. // This action is only available for projects which are parts of
  9389. // an organization and whitelisted for the alpha Cloud Security Command
  9390. // Center.
  9391. // The action will publish count of finding instances and their info types.
  9392. // The summary of findings will be persisted in CSCC and are governed by CSCC
  9393. // service-specific policy, see https://cloud.google.com/terms/service-terms
  9394. // Only a single instance of this action can be specified.
  9395. // Compatible with: Inspect
  9396. type Action_PublishSummaryToCscc struct {
  9397. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  9398. XXX_unrecognized []byte `json:"-"`
  9399. XXX_sizecache int32 `json:"-"`
  9400. }
  9401. func (m *Action_PublishSummaryToCscc) Reset() { *m = Action_PublishSummaryToCscc{} }
  9402. func (m *Action_PublishSummaryToCscc) String() string { return proto.CompactTextString(m) }
  9403. func (*Action_PublishSummaryToCscc) ProtoMessage() {}
  9404. func (*Action_PublishSummaryToCscc) Descriptor() ([]byte, []int) {
  9405. return fileDescriptor_dlp_9184f835f60c3220, []int{71, 2}
  9406. }
  9407. func (m *Action_PublishSummaryToCscc) XXX_Unmarshal(b []byte) error {
  9408. return xxx_messageInfo_Action_PublishSummaryToCscc.Unmarshal(m, b)
  9409. }
  9410. func (m *Action_PublishSummaryToCscc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  9411. return xxx_messageInfo_Action_PublishSummaryToCscc.Marshal(b, m, deterministic)
  9412. }
  9413. func (dst *Action_PublishSummaryToCscc) XXX_Merge(src proto.Message) {
  9414. xxx_messageInfo_Action_PublishSummaryToCscc.Merge(dst, src)
  9415. }
  9416. func (m *Action_PublishSummaryToCscc) XXX_Size() int {
  9417. return xxx_messageInfo_Action_PublishSummaryToCscc.Size(m)
  9418. }
  9419. func (m *Action_PublishSummaryToCscc) XXX_DiscardUnknown() {
  9420. xxx_messageInfo_Action_PublishSummaryToCscc.DiscardUnknown(m)
  9421. }
  9422. var xxx_messageInfo_Action_PublishSummaryToCscc proto.InternalMessageInfo
  9423. // Enable email notification to project owners and editors on jobs's
  9424. // completion/failure.
  9425. type Action_JobNotificationEmails struct {
  9426. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  9427. XXX_unrecognized []byte `json:"-"`
  9428. XXX_sizecache int32 `json:"-"`
  9429. }
  9430. func (m *Action_JobNotificationEmails) Reset() { *m = Action_JobNotificationEmails{} }
  9431. func (m *Action_JobNotificationEmails) String() string { return proto.CompactTextString(m) }
  9432. func (*Action_JobNotificationEmails) ProtoMessage() {}
  9433. func (*Action_JobNotificationEmails) Descriptor() ([]byte, []int) {
  9434. return fileDescriptor_dlp_9184f835f60c3220, []int{71, 3}
  9435. }
  9436. func (m *Action_JobNotificationEmails) XXX_Unmarshal(b []byte) error {
  9437. return xxx_messageInfo_Action_JobNotificationEmails.Unmarshal(m, b)
  9438. }
  9439. func (m *Action_JobNotificationEmails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  9440. return xxx_messageInfo_Action_JobNotificationEmails.Marshal(b, m, deterministic)
  9441. }
  9442. func (dst *Action_JobNotificationEmails) XXX_Merge(src proto.Message) {
  9443. xxx_messageInfo_Action_JobNotificationEmails.Merge(dst, src)
  9444. }
  9445. func (m *Action_JobNotificationEmails) XXX_Size() int {
  9446. return xxx_messageInfo_Action_JobNotificationEmails.Size(m)
  9447. }
  9448. func (m *Action_JobNotificationEmails) XXX_DiscardUnknown() {
  9449. xxx_messageInfo_Action_JobNotificationEmails.DiscardUnknown(m)
  9450. }
  9451. var xxx_messageInfo_Action_JobNotificationEmails proto.InternalMessageInfo
  9452. // Request message for CreateInspectTemplate.
  9453. type CreateInspectTemplateRequest struct {
  9454. // The parent resource name, for example projects/my-project-id or
  9455. // organizations/my-org-id.
  9456. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  9457. // The InspectTemplate to create.
  9458. InspectTemplate *InspectTemplate `protobuf:"bytes,2,opt,name=inspect_template,json=inspectTemplate,proto3" json:"inspect_template,omitempty"`
  9459. // The template id can contain uppercase and lowercase letters,
  9460. // numbers, and hyphens; that is, it must match the regular
  9461. // expression: `[a-zA-Z\\d-]+`. The maximum length is 100
  9462. // characters. Can be empty to allow the system to generate one.
  9463. TemplateId string `protobuf:"bytes,3,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"`
  9464. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  9465. XXX_unrecognized []byte `json:"-"`
  9466. XXX_sizecache int32 `json:"-"`
  9467. }
  9468. func (m *CreateInspectTemplateRequest) Reset() { *m = CreateInspectTemplateRequest{} }
  9469. func (m *CreateInspectTemplateRequest) String() string { return proto.CompactTextString(m) }
  9470. func (*CreateInspectTemplateRequest) ProtoMessage() {}
  9471. func (*CreateInspectTemplateRequest) Descriptor() ([]byte, []int) {
  9472. return fileDescriptor_dlp_9184f835f60c3220, []int{72}
  9473. }
  9474. func (m *CreateInspectTemplateRequest) XXX_Unmarshal(b []byte) error {
  9475. return xxx_messageInfo_CreateInspectTemplateRequest.Unmarshal(m, b)
  9476. }
  9477. func (m *CreateInspectTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  9478. return xxx_messageInfo_CreateInspectTemplateRequest.Marshal(b, m, deterministic)
  9479. }
  9480. func (dst *CreateInspectTemplateRequest) XXX_Merge(src proto.Message) {
  9481. xxx_messageInfo_CreateInspectTemplateRequest.Merge(dst, src)
  9482. }
  9483. func (m *CreateInspectTemplateRequest) XXX_Size() int {
  9484. return xxx_messageInfo_CreateInspectTemplateRequest.Size(m)
  9485. }
  9486. func (m *CreateInspectTemplateRequest) XXX_DiscardUnknown() {
  9487. xxx_messageInfo_CreateInspectTemplateRequest.DiscardUnknown(m)
  9488. }
  9489. var xxx_messageInfo_CreateInspectTemplateRequest proto.InternalMessageInfo
  9490. func (m *CreateInspectTemplateRequest) GetParent() string {
  9491. if m != nil {
  9492. return m.Parent
  9493. }
  9494. return ""
  9495. }
  9496. func (m *CreateInspectTemplateRequest) GetInspectTemplate() *InspectTemplate {
  9497. if m != nil {
  9498. return m.InspectTemplate
  9499. }
  9500. return nil
  9501. }
  9502. func (m *CreateInspectTemplateRequest) GetTemplateId() string {
  9503. if m != nil {
  9504. return m.TemplateId
  9505. }
  9506. return ""
  9507. }
  9508. // Request message for UpdateInspectTemplate.
  9509. type UpdateInspectTemplateRequest struct {
  9510. // Resource name of organization and inspectTemplate to be updated, for
  9511. // example `organizations/433245324/inspectTemplates/432452342` or
  9512. // projects/project-id/inspectTemplates/432452342.
  9513. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  9514. // New InspectTemplate value.
  9515. InspectTemplate *InspectTemplate `protobuf:"bytes,2,opt,name=inspect_template,json=inspectTemplate,proto3" json:"inspect_template,omitempty"`
  9516. // Mask to control which fields get updated.
  9517. UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
  9518. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  9519. XXX_unrecognized []byte `json:"-"`
  9520. XXX_sizecache int32 `json:"-"`
  9521. }
  9522. func (m *UpdateInspectTemplateRequest) Reset() { *m = UpdateInspectTemplateRequest{} }
  9523. func (m *UpdateInspectTemplateRequest) String() string { return proto.CompactTextString(m) }
  9524. func (*UpdateInspectTemplateRequest) ProtoMessage() {}
  9525. func (*UpdateInspectTemplateRequest) Descriptor() ([]byte, []int) {
  9526. return fileDescriptor_dlp_9184f835f60c3220, []int{73}
  9527. }
  9528. func (m *UpdateInspectTemplateRequest) XXX_Unmarshal(b []byte) error {
  9529. return xxx_messageInfo_UpdateInspectTemplateRequest.Unmarshal(m, b)
  9530. }
  9531. func (m *UpdateInspectTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  9532. return xxx_messageInfo_UpdateInspectTemplateRequest.Marshal(b, m, deterministic)
  9533. }
  9534. func (dst *UpdateInspectTemplateRequest) XXX_Merge(src proto.Message) {
  9535. xxx_messageInfo_UpdateInspectTemplateRequest.Merge(dst, src)
  9536. }
  9537. func (m *UpdateInspectTemplateRequest) XXX_Size() int {
  9538. return xxx_messageInfo_UpdateInspectTemplateRequest.Size(m)
  9539. }
  9540. func (m *UpdateInspectTemplateRequest) XXX_DiscardUnknown() {
  9541. xxx_messageInfo_UpdateInspectTemplateRequest.DiscardUnknown(m)
  9542. }
  9543. var xxx_messageInfo_UpdateInspectTemplateRequest proto.InternalMessageInfo
  9544. func (m *UpdateInspectTemplateRequest) GetName() string {
  9545. if m != nil {
  9546. return m.Name
  9547. }
  9548. return ""
  9549. }
  9550. func (m *UpdateInspectTemplateRequest) GetInspectTemplate() *InspectTemplate {
  9551. if m != nil {
  9552. return m.InspectTemplate
  9553. }
  9554. return nil
  9555. }
  9556. func (m *UpdateInspectTemplateRequest) GetUpdateMask() *field_mask.FieldMask {
  9557. if m != nil {
  9558. return m.UpdateMask
  9559. }
  9560. return nil
  9561. }
  9562. // Request message for GetInspectTemplate.
  9563. type GetInspectTemplateRequest struct {
  9564. // Resource name of the organization and inspectTemplate to be read, for
  9565. // example `organizations/433245324/inspectTemplates/432452342` or
  9566. // projects/project-id/inspectTemplates/432452342.
  9567. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  9568. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  9569. XXX_unrecognized []byte `json:"-"`
  9570. XXX_sizecache int32 `json:"-"`
  9571. }
  9572. func (m *GetInspectTemplateRequest) Reset() { *m = GetInspectTemplateRequest{} }
  9573. func (m *GetInspectTemplateRequest) String() string { return proto.CompactTextString(m) }
  9574. func (*GetInspectTemplateRequest) ProtoMessage() {}
  9575. func (*GetInspectTemplateRequest) Descriptor() ([]byte, []int) {
  9576. return fileDescriptor_dlp_9184f835f60c3220, []int{74}
  9577. }
  9578. func (m *GetInspectTemplateRequest) XXX_Unmarshal(b []byte) error {
  9579. return xxx_messageInfo_GetInspectTemplateRequest.Unmarshal(m, b)
  9580. }
  9581. func (m *GetInspectTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  9582. return xxx_messageInfo_GetInspectTemplateRequest.Marshal(b, m, deterministic)
  9583. }
  9584. func (dst *GetInspectTemplateRequest) XXX_Merge(src proto.Message) {
  9585. xxx_messageInfo_GetInspectTemplateRequest.Merge(dst, src)
  9586. }
  9587. func (m *GetInspectTemplateRequest) XXX_Size() int {
  9588. return xxx_messageInfo_GetInspectTemplateRequest.Size(m)
  9589. }
  9590. func (m *GetInspectTemplateRequest) XXX_DiscardUnknown() {
  9591. xxx_messageInfo_GetInspectTemplateRequest.DiscardUnknown(m)
  9592. }
  9593. var xxx_messageInfo_GetInspectTemplateRequest proto.InternalMessageInfo
  9594. func (m *GetInspectTemplateRequest) GetName() string {
  9595. if m != nil {
  9596. return m.Name
  9597. }
  9598. return ""
  9599. }
  9600. // Request message for ListInspectTemplates.
  9601. type ListInspectTemplatesRequest struct {
  9602. // The parent resource name, for example projects/my-project-id or
  9603. // organizations/my-org-id.
  9604. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  9605. // Optional page token to continue retrieval. Comes from previous call
  9606. // to `ListInspectTemplates`.
  9607. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  9608. // Optional size of the page, can be limited by server. If zero server returns
  9609. // a page of max size 100.
  9610. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  9611. // Optional comma separated list of fields to order by,
  9612. // followed by `asc` or `desc` postfix. This list is case-insensitive,
  9613. // default sorting order is ascending, redundant space characters are
  9614. // insignificant.
  9615. //
  9616. // Example: `name asc,update_time, create_time desc`
  9617. //
  9618. // Supported fields are:
  9619. //
  9620. // - `create_time`: corresponds to time the template was created.
  9621. // - `update_time`: corresponds to time the template was last updated.
  9622. // - `name`: corresponds to template's name.
  9623. // - `display_name`: corresponds to template's display name.
  9624. OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
  9625. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  9626. XXX_unrecognized []byte `json:"-"`
  9627. XXX_sizecache int32 `json:"-"`
  9628. }
  9629. func (m *ListInspectTemplatesRequest) Reset() { *m = ListInspectTemplatesRequest{} }
  9630. func (m *ListInspectTemplatesRequest) String() string { return proto.CompactTextString(m) }
  9631. func (*ListInspectTemplatesRequest) ProtoMessage() {}
  9632. func (*ListInspectTemplatesRequest) Descriptor() ([]byte, []int) {
  9633. return fileDescriptor_dlp_9184f835f60c3220, []int{75}
  9634. }
  9635. func (m *ListInspectTemplatesRequest) XXX_Unmarshal(b []byte) error {
  9636. return xxx_messageInfo_ListInspectTemplatesRequest.Unmarshal(m, b)
  9637. }
  9638. func (m *ListInspectTemplatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  9639. return xxx_messageInfo_ListInspectTemplatesRequest.Marshal(b, m, deterministic)
  9640. }
  9641. func (dst *ListInspectTemplatesRequest) XXX_Merge(src proto.Message) {
  9642. xxx_messageInfo_ListInspectTemplatesRequest.Merge(dst, src)
  9643. }
  9644. func (m *ListInspectTemplatesRequest) XXX_Size() int {
  9645. return xxx_messageInfo_ListInspectTemplatesRequest.Size(m)
  9646. }
  9647. func (m *ListInspectTemplatesRequest) XXX_DiscardUnknown() {
  9648. xxx_messageInfo_ListInspectTemplatesRequest.DiscardUnknown(m)
  9649. }
  9650. var xxx_messageInfo_ListInspectTemplatesRequest proto.InternalMessageInfo
  9651. func (m *ListInspectTemplatesRequest) GetParent() string {
  9652. if m != nil {
  9653. return m.Parent
  9654. }
  9655. return ""
  9656. }
  9657. func (m *ListInspectTemplatesRequest) GetPageToken() string {
  9658. if m != nil {
  9659. return m.PageToken
  9660. }
  9661. return ""
  9662. }
  9663. func (m *ListInspectTemplatesRequest) GetPageSize() int32 {
  9664. if m != nil {
  9665. return m.PageSize
  9666. }
  9667. return 0
  9668. }
  9669. func (m *ListInspectTemplatesRequest) GetOrderBy() string {
  9670. if m != nil {
  9671. return m.OrderBy
  9672. }
  9673. return ""
  9674. }
  9675. // Response message for ListInspectTemplates.
  9676. type ListInspectTemplatesResponse struct {
  9677. // List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
  9678. InspectTemplates []*InspectTemplate `protobuf:"bytes,1,rep,name=inspect_templates,json=inspectTemplates,proto3" json:"inspect_templates,omitempty"`
  9679. // If the next page is available then the next page token to be used
  9680. // in following ListInspectTemplates request.
  9681. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  9682. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  9683. XXX_unrecognized []byte `json:"-"`
  9684. XXX_sizecache int32 `json:"-"`
  9685. }
  9686. func (m *ListInspectTemplatesResponse) Reset() { *m = ListInspectTemplatesResponse{} }
  9687. func (m *ListInspectTemplatesResponse) String() string { return proto.CompactTextString(m) }
  9688. func (*ListInspectTemplatesResponse) ProtoMessage() {}
  9689. func (*ListInspectTemplatesResponse) Descriptor() ([]byte, []int) {
  9690. return fileDescriptor_dlp_9184f835f60c3220, []int{76}
  9691. }
  9692. func (m *ListInspectTemplatesResponse) XXX_Unmarshal(b []byte) error {
  9693. return xxx_messageInfo_ListInspectTemplatesResponse.Unmarshal(m, b)
  9694. }
  9695. func (m *ListInspectTemplatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  9696. return xxx_messageInfo_ListInspectTemplatesResponse.Marshal(b, m, deterministic)
  9697. }
  9698. func (dst *ListInspectTemplatesResponse) XXX_Merge(src proto.Message) {
  9699. xxx_messageInfo_ListInspectTemplatesResponse.Merge(dst, src)
  9700. }
  9701. func (m *ListInspectTemplatesResponse) XXX_Size() int {
  9702. return xxx_messageInfo_ListInspectTemplatesResponse.Size(m)
  9703. }
  9704. func (m *ListInspectTemplatesResponse) XXX_DiscardUnknown() {
  9705. xxx_messageInfo_ListInspectTemplatesResponse.DiscardUnknown(m)
  9706. }
  9707. var xxx_messageInfo_ListInspectTemplatesResponse proto.InternalMessageInfo
  9708. func (m *ListInspectTemplatesResponse) GetInspectTemplates() []*InspectTemplate {
  9709. if m != nil {
  9710. return m.InspectTemplates
  9711. }
  9712. return nil
  9713. }
  9714. func (m *ListInspectTemplatesResponse) GetNextPageToken() string {
  9715. if m != nil {
  9716. return m.NextPageToken
  9717. }
  9718. return ""
  9719. }
  9720. // Request message for DeleteInspectTemplate.
  9721. type DeleteInspectTemplateRequest struct {
  9722. // Resource name of the organization and inspectTemplate to be deleted, for
  9723. // example `organizations/433245324/inspectTemplates/432452342` or
  9724. // projects/project-id/inspectTemplates/432452342.
  9725. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  9726. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  9727. XXX_unrecognized []byte `json:"-"`
  9728. XXX_sizecache int32 `json:"-"`
  9729. }
  9730. func (m *DeleteInspectTemplateRequest) Reset() { *m = DeleteInspectTemplateRequest{} }
  9731. func (m *DeleteInspectTemplateRequest) String() string { return proto.CompactTextString(m) }
  9732. func (*DeleteInspectTemplateRequest) ProtoMessage() {}
  9733. func (*DeleteInspectTemplateRequest) Descriptor() ([]byte, []int) {
  9734. return fileDescriptor_dlp_9184f835f60c3220, []int{77}
  9735. }
  9736. func (m *DeleteInspectTemplateRequest) XXX_Unmarshal(b []byte) error {
  9737. return xxx_messageInfo_DeleteInspectTemplateRequest.Unmarshal(m, b)
  9738. }
  9739. func (m *DeleteInspectTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  9740. return xxx_messageInfo_DeleteInspectTemplateRequest.Marshal(b, m, deterministic)
  9741. }
  9742. func (dst *DeleteInspectTemplateRequest) XXX_Merge(src proto.Message) {
  9743. xxx_messageInfo_DeleteInspectTemplateRequest.Merge(dst, src)
  9744. }
  9745. func (m *DeleteInspectTemplateRequest) XXX_Size() int {
  9746. return xxx_messageInfo_DeleteInspectTemplateRequest.Size(m)
  9747. }
  9748. func (m *DeleteInspectTemplateRequest) XXX_DiscardUnknown() {
  9749. xxx_messageInfo_DeleteInspectTemplateRequest.DiscardUnknown(m)
  9750. }
  9751. var xxx_messageInfo_DeleteInspectTemplateRequest proto.InternalMessageInfo
  9752. func (m *DeleteInspectTemplateRequest) GetName() string {
  9753. if m != nil {
  9754. return m.Name
  9755. }
  9756. return ""
  9757. }
  9758. // Request message for CreateJobTrigger.
  9759. type CreateJobTriggerRequest struct {
  9760. // The parent resource name, for example projects/my-project-id.
  9761. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  9762. // The JobTrigger to create.
  9763. JobTrigger *JobTrigger `protobuf:"bytes,2,opt,name=job_trigger,json=jobTrigger,proto3" json:"job_trigger,omitempty"`
  9764. // The trigger id can contain uppercase and lowercase letters,
  9765. // numbers, and hyphens; that is, it must match the regular
  9766. // expression: `[a-zA-Z\\d-]+`. The maximum length is 100
  9767. // characters. Can be empty to allow the system to generate one.
  9768. TriggerId string `protobuf:"bytes,3,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"`
  9769. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  9770. XXX_unrecognized []byte `json:"-"`
  9771. XXX_sizecache int32 `json:"-"`
  9772. }
  9773. func (m *CreateJobTriggerRequest) Reset() { *m = CreateJobTriggerRequest{} }
  9774. func (m *CreateJobTriggerRequest) String() string { return proto.CompactTextString(m) }
  9775. func (*CreateJobTriggerRequest) ProtoMessage() {}
  9776. func (*CreateJobTriggerRequest) Descriptor() ([]byte, []int) {
  9777. return fileDescriptor_dlp_9184f835f60c3220, []int{78}
  9778. }
  9779. func (m *CreateJobTriggerRequest) XXX_Unmarshal(b []byte) error {
  9780. return xxx_messageInfo_CreateJobTriggerRequest.Unmarshal(m, b)
  9781. }
  9782. func (m *CreateJobTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  9783. return xxx_messageInfo_CreateJobTriggerRequest.Marshal(b, m, deterministic)
  9784. }
  9785. func (dst *CreateJobTriggerRequest) XXX_Merge(src proto.Message) {
  9786. xxx_messageInfo_CreateJobTriggerRequest.Merge(dst, src)
  9787. }
  9788. func (m *CreateJobTriggerRequest) XXX_Size() int {
  9789. return xxx_messageInfo_CreateJobTriggerRequest.Size(m)
  9790. }
  9791. func (m *CreateJobTriggerRequest) XXX_DiscardUnknown() {
  9792. xxx_messageInfo_CreateJobTriggerRequest.DiscardUnknown(m)
  9793. }
  9794. var xxx_messageInfo_CreateJobTriggerRequest proto.InternalMessageInfo
  9795. func (m *CreateJobTriggerRequest) GetParent() string {
  9796. if m != nil {
  9797. return m.Parent
  9798. }
  9799. return ""
  9800. }
  9801. func (m *CreateJobTriggerRequest) GetJobTrigger() *JobTrigger {
  9802. if m != nil {
  9803. return m.JobTrigger
  9804. }
  9805. return nil
  9806. }
  9807. func (m *CreateJobTriggerRequest) GetTriggerId() string {
  9808. if m != nil {
  9809. return m.TriggerId
  9810. }
  9811. return ""
  9812. }
  9813. // Request message for ActivateJobTrigger.
  9814. type ActivateJobTriggerRequest struct {
  9815. // Resource name of the trigger to activate, for example
  9816. // `projects/dlp-test-project/jobTriggers/53234423`.
  9817. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  9818. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  9819. XXX_unrecognized []byte `json:"-"`
  9820. XXX_sizecache int32 `json:"-"`
  9821. }
  9822. func (m *ActivateJobTriggerRequest) Reset() { *m = ActivateJobTriggerRequest{} }
  9823. func (m *ActivateJobTriggerRequest) String() string { return proto.CompactTextString(m) }
  9824. func (*ActivateJobTriggerRequest) ProtoMessage() {}
  9825. func (*ActivateJobTriggerRequest) Descriptor() ([]byte, []int) {
  9826. return fileDescriptor_dlp_9184f835f60c3220, []int{79}
  9827. }
  9828. func (m *ActivateJobTriggerRequest) XXX_Unmarshal(b []byte) error {
  9829. return xxx_messageInfo_ActivateJobTriggerRequest.Unmarshal(m, b)
  9830. }
  9831. func (m *ActivateJobTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  9832. return xxx_messageInfo_ActivateJobTriggerRequest.Marshal(b, m, deterministic)
  9833. }
  9834. func (dst *ActivateJobTriggerRequest) XXX_Merge(src proto.Message) {
  9835. xxx_messageInfo_ActivateJobTriggerRequest.Merge(dst, src)
  9836. }
  9837. func (m *ActivateJobTriggerRequest) XXX_Size() int {
  9838. return xxx_messageInfo_ActivateJobTriggerRequest.Size(m)
  9839. }
  9840. func (m *ActivateJobTriggerRequest) XXX_DiscardUnknown() {
  9841. xxx_messageInfo_ActivateJobTriggerRequest.DiscardUnknown(m)
  9842. }
  9843. var xxx_messageInfo_ActivateJobTriggerRequest proto.InternalMessageInfo
  9844. func (m *ActivateJobTriggerRequest) GetName() string {
  9845. if m != nil {
  9846. return m.Name
  9847. }
  9848. return ""
  9849. }
  9850. // Request message for UpdateJobTrigger.
  9851. type UpdateJobTriggerRequest struct {
  9852. // Resource name of the project and the triggeredJob, for example
  9853. // `projects/dlp-test-project/jobTriggers/53234423`.
  9854. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  9855. // New JobTrigger value.
  9856. JobTrigger *JobTrigger `protobuf:"bytes,2,opt,name=job_trigger,json=jobTrigger,proto3" json:"job_trigger,omitempty"`
  9857. // Mask to control which fields get updated.
  9858. UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
  9859. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  9860. XXX_unrecognized []byte `json:"-"`
  9861. XXX_sizecache int32 `json:"-"`
  9862. }
  9863. func (m *UpdateJobTriggerRequest) Reset() { *m = UpdateJobTriggerRequest{} }
  9864. func (m *UpdateJobTriggerRequest) String() string { return proto.CompactTextString(m) }
  9865. func (*UpdateJobTriggerRequest) ProtoMessage() {}
  9866. func (*UpdateJobTriggerRequest) Descriptor() ([]byte, []int) {
  9867. return fileDescriptor_dlp_9184f835f60c3220, []int{80}
  9868. }
  9869. func (m *UpdateJobTriggerRequest) XXX_Unmarshal(b []byte) error {
  9870. return xxx_messageInfo_UpdateJobTriggerRequest.Unmarshal(m, b)
  9871. }
  9872. func (m *UpdateJobTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  9873. return xxx_messageInfo_UpdateJobTriggerRequest.Marshal(b, m, deterministic)
  9874. }
  9875. func (dst *UpdateJobTriggerRequest) XXX_Merge(src proto.Message) {
  9876. xxx_messageInfo_UpdateJobTriggerRequest.Merge(dst, src)
  9877. }
  9878. func (m *UpdateJobTriggerRequest) XXX_Size() int {
  9879. return xxx_messageInfo_UpdateJobTriggerRequest.Size(m)
  9880. }
  9881. func (m *UpdateJobTriggerRequest) XXX_DiscardUnknown() {
  9882. xxx_messageInfo_UpdateJobTriggerRequest.DiscardUnknown(m)
  9883. }
  9884. var xxx_messageInfo_UpdateJobTriggerRequest proto.InternalMessageInfo
  9885. func (m *UpdateJobTriggerRequest) GetName() string {
  9886. if m != nil {
  9887. return m.Name
  9888. }
  9889. return ""
  9890. }
  9891. func (m *UpdateJobTriggerRequest) GetJobTrigger() *JobTrigger {
  9892. if m != nil {
  9893. return m.JobTrigger
  9894. }
  9895. return nil
  9896. }
  9897. func (m *UpdateJobTriggerRequest) GetUpdateMask() *field_mask.FieldMask {
  9898. if m != nil {
  9899. return m.UpdateMask
  9900. }
  9901. return nil
  9902. }
  9903. // Request message for GetJobTrigger.
  9904. type GetJobTriggerRequest struct {
  9905. // Resource name of the project and the triggeredJob, for example
  9906. // `projects/dlp-test-project/jobTriggers/53234423`.
  9907. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  9908. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  9909. XXX_unrecognized []byte `json:"-"`
  9910. XXX_sizecache int32 `json:"-"`
  9911. }
  9912. func (m *GetJobTriggerRequest) Reset() { *m = GetJobTriggerRequest{} }
  9913. func (m *GetJobTriggerRequest) String() string { return proto.CompactTextString(m) }
  9914. func (*GetJobTriggerRequest) ProtoMessage() {}
  9915. func (*GetJobTriggerRequest) Descriptor() ([]byte, []int) {
  9916. return fileDescriptor_dlp_9184f835f60c3220, []int{81}
  9917. }
  9918. func (m *GetJobTriggerRequest) XXX_Unmarshal(b []byte) error {
  9919. return xxx_messageInfo_GetJobTriggerRequest.Unmarshal(m, b)
  9920. }
  9921. func (m *GetJobTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  9922. return xxx_messageInfo_GetJobTriggerRequest.Marshal(b, m, deterministic)
  9923. }
  9924. func (dst *GetJobTriggerRequest) XXX_Merge(src proto.Message) {
  9925. xxx_messageInfo_GetJobTriggerRequest.Merge(dst, src)
  9926. }
  9927. func (m *GetJobTriggerRequest) XXX_Size() int {
  9928. return xxx_messageInfo_GetJobTriggerRequest.Size(m)
  9929. }
  9930. func (m *GetJobTriggerRequest) XXX_DiscardUnknown() {
  9931. xxx_messageInfo_GetJobTriggerRequest.DiscardUnknown(m)
  9932. }
  9933. var xxx_messageInfo_GetJobTriggerRequest proto.InternalMessageInfo
  9934. func (m *GetJobTriggerRequest) GetName() string {
  9935. if m != nil {
  9936. return m.Name
  9937. }
  9938. return ""
  9939. }
  9940. // Request message for CreateDlpJobRequest. Used to initiate long running
  9941. // jobs such as calculating risk metrics or inspecting Google Cloud
  9942. // Storage.
  9943. type CreateDlpJobRequest struct {
  9944. // The parent resource name, for example projects/my-project-id.
  9945. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  9946. // The configuration details for the specific type of job to run.
  9947. //
  9948. // Types that are valid to be assigned to Job:
  9949. // *CreateDlpJobRequest_InspectJob
  9950. // *CreateDlpJobRequest_RiskJob
  9951. Job isCreateDlpJobRequest_Job `protobuf_oneof:"job"`
  9952. // The job id can contain uppercase and lowercase letters,
  9953. // numbers, and hyphens; that is, it must match the regular
  9954. // expression: `[a-zA-Z\\d-]+`. The maximum length is 100
  9955. // characters. Can be empty to allow the system to generate one.
  9956. JobId string `protobuf:"bytes,4,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
  9957. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  9958. XXX_unrecognized []byte `json:"-"`
  9959. XXX_sizecache int32 `json:"-"`
  9960. }
  9961. func (m *CreateDlpJobRequest) Reset() { *m = CreateDlpJobRequest{} }
  9962. func (m *CreateDlpJobRequest) String() string { return proto.CompactTextString(m) }
  9963. func (*CreateDlpJobRequest) ProtoMessage() {}
  9964. func (*CreateDlpJobRequest) Descriptor() ([]byte, []int) {
  9965. return fileDescriptor_dlp_9184f835f60c3220, []int{82}
  9966. }
  9967. func (m *CreateDlpJobRequest) XXX_Unmarshal(b []byte) error {
  9968. return xxx_messageInfo_CreateDlpJobRequest.Unmarshal(m, b)
  9969. }
  9970. func (m *CreateDlpJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  9971. return xxx_messageInfo_CreateDlpJobRequest.Marshal(b, m, deterministic)
  9972. }
  9973. func (dst *CreateDlpJobRequest) XXX_Merge(src proto.Message) {
  9974. xxx_messageInfo_CreateDlpJobRequest.Merge(dst, src)
  9975. }
  9976. func (m *CreateDlpJobRequest) XXX_Size() int {
  9977. return xxx_messageInfo_CreateDlpJobRequest.Size(m)
  9978. }
  9979. func (m *CreateDlpJobRequest) XXX_DiscardUnknown() {
  9980. xxx_messageInfo_CreateDlpJobRequest.DiscardUnknown(m)
  9981. }
  9982. var xxx_messageInfo_CreateDlpJobRequest proto.InternalMessageInfo
  9983. func (m *CreateDlpJobRequest) GetParent() string {
  9984. if m != nil {
  9985. return m.Parent
  9986. }
  9987. return ""
  9988. }
  9989. type isCreateDlpJobRequest_Job interface {
  9990. isCreateDlpJobRequest_Job()
  9991. }
  9992. type CreateDlpJobRequest_InspectJob struct {
  9993. InspectJob *InspectJobConfig `protobuf:"bytes,2,opt,name=inspect_job,json=inspectJob,proto3,oneof"`
  9994. }
  9995. type CreateDlpJobRequest_RiskJob struct {
  9996. RiskJob *RiskAnalysisJobConfig `protobuf:"bytes,3,opt,name=risk_job,json=riskJob,proto3,oneof"`
  9997. }
  9998. func (*CreateDlpJobRequest_InspectJob) isCreateDlpJobRequest_Job() {}
  9999. func (*CreateDlpJobRequest_RiskJob) isCreateDlpJobRequest_Job() {}
  10000. func (m *CreateDlpJobRequest) GetJob() isCreateDlpJobRequest_Job {
  10001. if m != nil {
  10002. return m.Job
  10003. }
  10004. return nil
  10005. }
  10006. func (m *CreateDlpJobRequest) GetInspectJob() *InspectJobConfig {
  10007. if x, ok := m.GetJob().(*CreateDlpJobRequest_InspectJob); ok {
  10008. return x.InspectJob
  10009. }
  10010. return nil
  10011. }
  10012. func (m *CreateDlpJobRequest) GetRiskJob() *RiskAnalysisJobConfig {
  10013. if x, ok := m.GetJob().(*CreateDlpJobRequest_RiskJob); ok {
  10014. return x.RiskJob
  10015. }
  10016. return nil
  10017. }
  10018. func (m *CreateDlpJobRequest) GetJobId() string {
  10019. if m != nil {
  10020. return m.JobId
  10021. }
  10022. return ""
  10023. }
  10024. // XXX_OneofFuncs is for the internal use of the proto package.
  10025. func (*CreateDlpJobRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  10026. return _CreateDlpJobRequest_OneofMarshaler, _CreateDlpJobRequest_OneofUnmarshaler, _CreateDlpJobRequest_OneofSizer, []interface{}{
  10027. (*CreateDlpJobRequest_InspectJob)(nil),
  10028. (*CreateDlpJobRequest_RiskJob)(nil),
  10029. }
  10030. }
  10031. func _CreateDlpJobRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  10032. m := msg.(*CreateDlpJobRequest)
  10033. // job
  10034. switch x := m.Job.(type) {
  10035. case *CreateDlpJobRequest_InspectJob:
  10036. b.EncodeVarint(2<<3 | proto.WireBytes)
  10037. if err := b.EncodeMessage(x.InspectJob); err != nil {
  10038. return err
  10039. }
  10040. case *CreateDlpJobRequest_RiskJob:
  10041. b.EncodeVarint(3<<3 | proto.WireBytes)
  10042. if err := b.EncodeMessage(x.RiskJob); err != nil {
  10043. return err
  10044. }
  10045. case nil:
  10046. default:
  10047. return fmt.Errorf("CreateDlpJobRequest.Job has unexpected type %T", x)
  10048. }
  10049. return nil
  10050. }
  10051. func _CreateDlpJobRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  10052. m := msg.(*CreateDlpJobRequest)
  10053. switch tag {
  10054. case 2: // job.inspect_job
  10055. if wire != proto.WireBytes {
  10056. return true, proto.ErrInternalBadWireType
  10057. }
  10058. msg := new(InspectJobConfig)
  10059. err := b.DecodeMessage(msg)
  10060. m.Job = &CreateDlpJobRequest_InspectJob{msg}
  10061. return true, err
  10062. case 3: // job.risk_job
  10063. if wire != proto.WireBytes {
  10064. return true, proto.ErrInternalBadWireType
  10065. }
  10066. msg := new(RiskAnalysisJobConfig)
  10067. err := b.DecodeMessage(msg)
  10068. m.Job = &CreateDlpJobRequest_RiskJob{msg}
  10069. return true, err
  10070. default:
  10071. return false, nil
  10072. }
  10073. }
  10074. func _CreateDlpJobRequest_OneofSizer(msg proto.Message) (n int) {
  10075. m := msg.(*CreateDlpJobRequest)
  10076. // job
  10077. switch x := m.Job.(type) {
  10078. case *CreateDlpJobRequest_InspectJob:
  10079. s := proto.Size(x.InspectJob)
  10080. n += 1 // tag and wire
  10081. n += proto.SizeVarint(uint64(s))
  10082. n += s
  10083. case *CreateDlpJobRequest_RiskJob:
  10084. s := proto.Size(x.RiskJob)
  10085. n += 1 // tag and wire
  10086. n += proto.SizeVarint(uint64(s))
  10087. n += s
  10088. case nil:
  10089. default:
  10090. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  10091. }
  10092. return n
  10093. }
  10094. // Request message for ListJobTriggers.
  10095. type ListJobTriggersRequest struct {
  10096. // The parent resource name, for example `projects/my-project-id`.
  10097. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  10098. // Optional page token to continue retrieval. Comes from previous call
  10099. // to ListJobTriggers. `order_by` field must not
  10100. // change for subsequent calls.
  10101. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  10102. // Optional size of the page, can be limited by a server.
  10103. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  10104. // Optional comma separated list of triggeredJob fields to order by,
  10105. // followed by `asc` or `desc` postfix. This list is case-insensitive,
  10106. // default sorting order is ascending, redundant space characters are
  10107. // insignificant.
  10108. //
  10109. // Example: `name asc,update_time, create_time desc`
  10110. //
  10111. // Supported fields are:
  10112. //
  10113. // - `create_time`: corresponds to time the JobTrigger was created.
  10114. // - `update_time`: corresponds to time the JobTrigger was last updated.
  10115. // - `last_run_time`: corresponds to the last time the JobTrigger ran.
  10116. // - `name`: corresponds to JobTrigger's name.
  10117. // - `display_name`: corresponds to JobTrigger's display name.
  10118. // - `status`: corresponds to JobTrigger's status.
  10119. OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
  10120. // Optional. Allows filtering.
  10121. //
  10122. // Supported syntax:
  10123. //
  10124. // * Filter expressions are made up of one or more restrictions.
  10125. // * Restrictions can be combined by `AND` or `OR` logical operators. A
  10126. // sequence of restrictions implicitly uses `AND`.
  10127. // * A restriction has the form of `<field> <operator> <value>`.
  10128. // * Supported fields/values for inspect jobs:
  10129. // - `status` - HEALTHY|PAUSED|CANCELLED
  10130. // - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
  10131. // - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
  10132. // quotation marks. Nanoseconds are ignored.
  10133. // - 'error_count' - Number of errors that have occurred while running.
  10134. // * The operator must be `=` or `!=` for status and inspected_storage.
  10135. //
  10136. // Examples:
  10137. //
  10138. // * inspected_storage = cloud_storage AND status = HEALTHY
  10139. // * inspected_storage = cloud_storage OR inspected_storage = bigquery
  10140. // * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
  10141. // * last_run_time > \"2017-12-12T00:00:00+00:00\"
  10142. //
  10143. // The length of this field should be no more than 500 characters.
  10144. Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
  10145. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  10146. XXX_unrecognized []byte `json:"-"`
  10147. XXX_sizecache int32 `json:"-"`
  10148. }
  10149. func (m *ListJobTriggersRequest) Reset() { *m = ListJobTriggersRequest{} }
  10150. func (m *ListJobTriggersRequest) String() string { return proto.CompactTextString(m) }
  10151. func (*ListJobTriggersRequest) ProtoMessage() {}
  10152. func (*ListJobTriggersRequest) Descriptor() ([]byte, []int) {
  10153. return fileDescriptor_dlp_9184f835f60c3220, []int{83}
  10154. }
  10155. func (m *ListJobTriggersRequest) XXX_Unmarshal(b []byte) error {
  10156. return xxx_messageInfo_ListJobTriggersRequest.Unmarshal(m, b)
  10157. }
  10158. func (m *ListJobTriggersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  10159. return xxx_messageInfo_ListJobTriggersRequest.Marshal(b, m, deterministic)
  10160. }
  10161. func (dst *ListJobTriggersRequest) XXX_Merge(src proto.Message) {
  10162. xxx_messageInfo_ListJobTriggersRequest.Merge(dst, src)
  10163. }
  10164. func (m *ListJobTriggersRequest) XXX_Size() int {
  10165. return xxx_messageInfo_ListJobTriggersRequest.Size(m)
  10166. }
  10167. func (m *ListJobTriggersRequest) XXX_DiscardUnknown() {
  10168. xxx_messageInfo_ListJobTriggersRequest.DiscardUnknown(m)
  10169. }
  10170. var xxx_messageInfo_ListJobTriggersRequest proto.InternalMessageInfo
  10171. func (m *ListJobTriggersRequest) GetParent() string {
  10172. if m != nil {
  10173. return m.Parent
  10174. }
  10175. return ""
  10176. }
  10177. func (m *ListJobTriggersRequest) GetPageToken() string {
  10178. if m != nil {
  10179. return m.PageToken
  10180. }
  10181. return ""
  10182. }
  10183. func (m *ListJobTriggersRequest) GetPageSize() int32 {
  10184. if m != nil {
  10185. return m.PageSize
  10186. }
  10187. return 0
  10188. }
  10189. func (m *ListJobTriggersRequest) GetOrderBy() string {
  10190. if m != nil {
  10191. return m.OrderBy
  10192. }
  10193. return ""
  10194. }
  10195. func (m *ListJobTriggersRequest) GetFilter() string {
  10196. if m != nil {
  10197. return m.Filter
  10198. }
  10199. return ""
  10200. }
  10201. // Response message for ListJobTriggers.
  10202. type ListJobTriggersResponse struct {
  10203. // List of triggeredJobs, up to page_size in ListJobTriggersRequest.
  10204. JobTriggers []*JobTrigger `protobuf:"bytes,1,rep,name=job_triggers,json=jobTriggers,proto3" json:"job_triggers,omitempty"`
  10205. // If the next page is available then the next page token to be used
  10206. // in following ListJobTriggers request.
  10207. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  10208. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  10209. XXX_unrecognized []byte `json:"-"`
  10210. XXX_sizecache int32 `json:"-"`
  10211. }
  10212. func (m *ListJobTriggersResponse) Reset() { *m = ListJobTriggersResponse{} }
  10213. func (m *ListJobTriggersResponse) String() string { return proto.CompactTextString(m) }
  10214. func (*ListJobTriggersResponse) ProtoMessage() {}
  10215. func (*ListJobTriggersResponse) Descriptor() ([]byte, []int) {
  10216. return fileDescriptor_dlp_9184f835f60c3220, []int{84}
  10217. }
  10218. func (m *ListJobTriggersResponse) XXX_Unmarshal(b []byte) error {
  10219. return xxx_messageInfo_ListJobTriggersResponse.Unmarshal(m, b)
  10220. }
  10221. func (m *ListJobTriggersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  10222. return xxx_messageInfo_ListJobTriggersResponse.Marshal(b, m, deterministic)
  10223. }
  10224. func (dst *ListJobTriggersResponse) XXX_Merge(src proto.Message) {
  10225. xxx_messageInfo_ListJobTriggersResponse.Merge(dst, src)
  10226. }
  10227. func (m *ListJobTriggersResponse) XXX_Size() int {
  10228. return xxx_messageInfo_ListJobTriggersResponse.Size(m)
  10229. }
  10230. func (m *ListJobTriggersResponse) XXX_DiscardUnknown() {
  10231. xxx_messageInfo_ListJobTriggersResponse.DiscardUnknown(m)
  10232. }
  10233. var xxx_messageInfo_ListJobTriggersResponse proto.InternalMessageInfo
  10234. func (m *ListJobTriggersResponse) GetJobTriggers() []*JobTrigger {
  10235. if m != nil {
  10236. return m.JobTriggers
  10237. }
  10238. return nil
  10239. }
  10240. func (m *ListJobTriggersResponse) GetNextPageToken() string {
  10241. if m != nil {
  10242. return m.NextPageToken
  10243. }
  10244. return ""
  10245. }
  10246. // Request message for DeleteJobTrigger.
  10247. type DeleteJobTriggerRequest struct {
  10248. // Resource name of the project and the triggeredJob, for example
  10249. // `projects/dlp-test-project/jobTriggers/53234423`.
  10250. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  10251. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  10252. XXX_unrecognized []byte `json:"-"`
  10253. XXX_sizecache int32 `json:"-"`
  10254. }
  10255. func (m *DeleteJobTriggerRequest) Reset() { *m = DeleteJobTriggerRequest{} }
  10256. func (m *DeleteJobTriggerRequest) String() string { return proto.CompactTextString(m) }
  10257. func (*DeleteJobTriggerRequest) ProtoMessage() {}
  10258. func (*DeleteJobTriggerRequest) Descriptor() ([]byte, []int) {
  10259. return fileDescriptor_dlp_9184f835f60c3220, []int{85}
  10260. }
  10261. func (m *DeleteJobTriggerRequest) XXX_Unmarshal(b []byte) error {
  10262. return xxx_messageInfo_DeleteJobTriggerRequest.Unmarshal(m, b)
  10263. }
  10264. func (m *DeleteJobTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  10265. return xxx_messageInfo_DeleteJobTriggerRequest.Marshal(b, m, deterministic)
  10266. }
  10267. func (dst *DeleteJobTriggerRequest) XXX_Merge(src proto.Message) {
  10268. xxx_messageInfo_DeleteJobTriggerRequest.Merge(dst, src)
  10269. }
  10270. func (m *DeleteJobTriggerRequest) XXX_Size() int {
  10271. return xxx_messageInfo_DeleteJobTriggerRequest.Size(m)
  10272. }
  10273. func (m *DeleteJobTriggerRequest) XXX_DiscardUnknown() {
  10274. xxx_messageInfo_DeleteJobTriggerRequest.DiscardUnknown(m)
  10275. }
  10276. var xxx_messageInfo_DeleteJobTriggerRequest proto.InternalMessageInfo
  10277. func (m *DeleteJobTriggerRequest) GetName() string {
  10278. if m != nil {
  10279. return m.Name
  10280. }
  10281. return ""
  10282. }
  10283. type InspectJobConfig struct {
  10284. // The data to scan.
  10285. StorageConfig *StorageConfig `protobuf:"bytes,1,opt,name=storage_config,json=storageConfig,proto3" json:"storage_config,omitempty"`
  10286. // How and what to scan for.
  10287. InspectConfig *InspectConfig `protobuf:"bytes,2,opt,name=inspect_config,json=inspectConfig,proto3" json:"inspect_config,omitempty"`
  10288. // If provided, will be used as the default for all values in InspectConfig.
  10289. // `inspect_config` will be merged into the values persisted as part of the
  10290. // template.
  10291. InspectTemplateName string `protobuf:"bytes,3,opt,name=inspect_template_name,json=inspectTemplateName,proto3" json:"inspect_template_name,omitempty"`
  10292. // Actions to execute at the completion of the job. Are executed in the order
  10293. // provided.
  10294. Actions []*Action `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"`
  10295. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  10296. XXX_unrecognized []byte `json:"-"`
  10297. XXX_sizecache int32 `json:"-"`
  10298. }
  10299. func (m *InspectJobConfig) Reset() { *m = InspectJobConfig{} }
  10300. func (m *InspectJobConfig) String() string { return proto.CompactTextString(m) }
  10301. func (*InspectJobConfig) ProtoMessage() {}
  10302. func (*InspectJobConfig) Descriptor() ([]byte, []int) {
  10303. return fileDescriptor_dlp_9184f835f60c3220, []int{86}
  10304. }
  10305. func (m *InspectJobConfig) XXX_Unmarshal(b []byte) error {
  10306. return xxx_messageInfo_InspectJobConfig.Unmarshal(m, b)
  10307. }
  10308. func (m *InspectJobConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  10309. return xxx_messageInfo_InspectJobConfig.Marshal(b, m, deterministic)
  10310. }
  10311. func (dst *InspectJobConfig) XXX_Merge(src proto.Message) {
  10312. xxx_messageInfo_InspectJobConfig.Merge(dst, src)
  10313. }
  10314. func (m *InspectJobConfig) XXX_Size() int {
  10315. return xxx_messageInfo_InspectJobConfig.Size(m)
  10316. }
  10317. func (m *InspectJobConfig) XXX_DiscardUnknown() {
  10318. xxx_messageInfo_InspectJobConfig.DiscardUnknown(m)
  10319. }
  10320. var xxx_messageInfo_InspectJobConfig proto.InternalMessageInfo
  10321. func (m *InspectJobConfig) GetStorageConfig() *StorageConfig {
  10322. if m != nil {
  10323. return m.StorageConfig
  10324. }
  10325. return nil
  10326. }
  10327. func (m *InspectJobConfig) GetInspectConfig() *InspectConfig {
  10328. if m != nil {
  10329. return m.InspectConfig
  10330. }
  10331. return nil
  10332. }
  10333. func (m *InspectJobConfig) GetInspectTemplateName() string {
  10334. if m != nil {
  10335. return m.InspectTemplateName
  10336. }
  10337. return ""
  10338. }
  10339. func (m *InspectJobConfig) GetActions() []*Action {
  10340. if m != nil {
  10341. return m.Actions
  10342. }
  10343. return nil
  10344. }
  10345. // Combines all of the information about a DLP job.
  10346. type DlpJob struct {
  10347. // The server-assigned name.
  10348. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  10349. // The type of job.
  10350. Type DlpJobType `protobuf:"varint,2,opt,name=type,proto3,enum=google.privacy.dlp.v2.DlpJobType" json:"type,omitempty"`
  10351. // State of a job.
  10352. State DlpJob_JobState `protobuf:"varint,3,opt,name=state,proto3,enum=google.privacy.dlp.v2.DlpJob_JobState" json:"state,omitempty"`
  10353. // Types that are valid to be assigned to Details:
  10354. // *DlpJob_RiskDetails
  10355. // *DlpJob_InspectDetails
  10356. Details isDlpJob_Details `protobuf_oneof:"details"`
  10357. // Time when the job was created.
  10358. CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
  10359. // Time when the job started.
  10360. StartTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
  10361. // Time when the job finished.
  10362. EndTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
  10363. // If created by a job trigger, the resource name of the trigger that
  10364. // instantiated the job.
  10365. JobTriggerName string `protobuf:"bytes,10,opt,name=job_trigger_name,json=jobTriggerName,proto3" json:"job_trigger_name,omitempty"`
  10366. // A stream of errors encountered running the job.
  10367. Errors []*Error `protobuf:"bytes,11,rep,name=errors,proto3" json:"errors,omitempty"`
  10368. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  10369. XXX_unrecognized []byte `json:"-"`
  10370. XXX_sizecache int32 `json:"-"`
  10371. }
  10372. func (m *DlpJob) Reset() { *m = DlpJob{} }
  10373. func (m *DlpJob) String() string { return proto.CompactTextString(m) }
  10374. func (*DlpJob) ProtoMessage() {}
  10375. func (*DlpJob) Descriptor() ([]byte, []int) {
  10376. return fileDescriptor_dlp_9184f835f60c3220, []int{87}
  10377. }
  10378. func (m *DlpJob) XXX_Unmarshal(b []byte) error {
  10379. return xxx_messageInfo_DlpJob.Unmarshal(m, b)
  10380. }
  10381. func (m *DlpJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  10382. return xxx_messageInfo_DlpJob.Marshal(b, m, deterministic)
  10383. }
  10384. func (dst *DlpJob) XXX_Merge(src proto.Message) {
  10385. xxx_messageInfo_DlpJob.Merge(dst, src)
  10386. }
  10387. func (m *DlpJob) XXX_Size() int {
  10388. return xxx_messageInfo_DlpJob.Size(m)
  10389. }
  10390. func (m *DlpJob) XXX_DiscardUnknown() {
  10391. xxx_messageInfo_DlpJob.DiscardUnknown(m)
  10392. }
  10393. var xxx_messageInfo_DlpJob proto.InternalMessageInfo
  10394. func (m *DlpJob) GetName() string {
  10395. if m != nil {
  10396. return m.Name
  10397. }
  10398. return ""
  10399. }
  10400. func (m *DlpJob) GetType() DlpJobType {
  10401. if m != nil {
  10402. return m.Type
  10403. }
  10404. return DlpJobType_DLP_JOB_TYPE_UNSPECIFIED
  10405. }
  10406. func (m *DlpJob) GetState() DlpJob_JobState {
  10407. if m != nil {
  10408. return m.State
  10409. }
  10410. return DlpJob_JOB_STATE_UNSPECIFIED
  10411. }
  10412. type isDlpJob_Details interface {
  10413. isDlpJob_Details()
  10414. }
  10415. type DlpJob_RiskDetails struct {
  10416. RiskDetails *AnalyzeDataSourceRiskDetails `protobuf:"bytes,4,opt,name=risk_details,json=riskDetails,proto3,oneof"`
  10417. }
  10418. type DlpJob_InspectDetails struct {
  10419. InspectDetails *InspectDataSourceDetails `protobuf:"bytes,5,opt,name=inspect_details,json=inspectDetails,proto3,oneof"`
  10420. }
  10421. func (*DlpJob_RiskDetails) isDlpJob_Details() {}
  10422. func (*DlpJob_InspectDetails) isDlpJob_Details() {}
  10423. func (m *DlpJob) GetDetails() isDlpJob_Details {
  10424. if m != nil {
  10425. return m.Details
  10426. }
  10427. return nil
  10428. }
  10429. func (m *DlpJob) GetRiskDetails() *AnalyzeDataSourceRiskDetails {
  10430. if x, ok := m.GetDetails().(*DlpJob_RiskDetails); ok {
  10431. return x.RiskDetails
  10432. }
  10433. return nil
  10434. }
  10435. func (m *DlpJob) GetInspectDetails() *InspectDataSourceDetails {
  10436. if x, ok := m.GetDetails().(*DlpJob_InspectDetails); ok {
  10437. return x.InspectDetails
  10438. }
  10439. return nil
  10440. }
  10441. func (m *DlpJob) GetCreateTime() *timestamp.Timestamp {
  10442. if m != nil {
  10443. return m.CreateTime
  10444. }
  10445. return nil
  10446. }
  10447. func (m *DlpJob) GetStartTime() *timestamp.Timestamp {
  10448. if m != nil {
  10449. return m.StartTime
  10450. }
  10451. return nil
  10452. }
  10453. func (m *DlpJob) GetEndTime() *timestamp.Timestamp {
  10454. if m != nil {
  10455. return m.EndTime
  10456. }
  10457. return nil
  10458. }
  10459. func (m *DlpJob) GetJobTriggerName() string {
  10460. if m != nil {
  10461. return m.JobTriggerName
  10462. }
  10463. return ""
  10464. }
  10465. func (m *DlpJob) GetErrors() []*Error {
  10466. if m != nil {
  10467. return m.Errors
  10468. }
  10469. return nil
  10470. }
  10471. // XXX_OneofFuncs is for the internal use of the proto package.
  10472. func (*DlpJob) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  10473. return _DlpJob_OneofMarshaler, _DlpJob_OneofUnmarshaler, _DlpJob_OneofSizer, []interface{}{
  10474. (*DlpJob_RiskDetails)(nil),
  10475. (*DlpJob_InspectDetails)(nil),
  10476. }
  10477. }
  10478. func _DlpJob_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  10479. m := msg.(*DlpJob)
  10480. // details
  10481. switch x := m.Details.(type) {
  10482. case *DlpJob_RiskDetails:
  10483. b.EncodeVarint(4<<3 | proto.WireBytes)
  10484. if err := b.EncodeMessage(x.RiskDetails); err != nil {
  10485. return err
  10486. }
  10487. case *DlpJob_InspectDetails:
  10488. b.EncodeVarint(5<<3 | proto.WireBytes)
  10489. if err := b.EncodeMessage(x.InspectDetails); err != nil {
  10490. return err
  10491. }
  10492. case nil:
  10493. default:
  10494. return fmt.Errorf("DlpJob.Details has unexpected type %T", x)
  10495. }
  10496. return nil
  10497. }
  10498. func _DlpJob_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  10499. m := msg.(*DlpJob)
  10500. switch tag {
  10501. case 4: // details.risk_details
  10502. if wire != proto.WireBytes {
  10503. return true, proto.ErrInternalBadWireType
  10504. }
  10505. msg := new(AnalyzeDataSourceRiskDetails)
  10506. err := b.DecodeMessage(msg)
  10507. m.Details = &DlpJob_RiskDetails{msg}
  10508. return true, err
  10509. case 5: // details.inspect_details
  10510. if wire != proto.WireBytes {
  10511. return true, proto.ErrInternalBadWireType
  10512. }
  10513. msg := new(InspectDataSourceDetails)
  10514. err := b.DecodeMessage(msg)
  10515. m.Details = &DlpJob_InspectDetails{msg}
  10516. return true, err
  10517. default:
  10518. return false, nil
  10519. }
  10520. }
  10521. func _DlpJob_OneofSizer(msg proto.Message) (n int) {
  10522. m := msg.(*DlpJob)
  10523. // details
  10524. switch x := m.Details.(type) {
  10525. case *DlpJob_RiskDetails:
  10526. s := proto.Size(x.RiskDetails)
  10527. n += 1 // tag and wire
  10528. n += proto.SizeVarint(uint64(s))
  10529. n += s
  10530. case *DlpJob_InspectDetails:
  10531. s := proto.Size(x.InspectDetails)
  10532. n += 1 // tag and wire
  10533. n += proto.SizeVarint(uint64(s))
  10534. n += s
  10535. case nil:
  10536. default:
  10537. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  10538. }
  10539. return n
  10540. }
  10541. // The request message for [DlpJobs.GetDlpJob][].
  10542. type GetDlpJobRequest struct {
  10543. // The name of the DlpJob resource.
  10544. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  10545. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  10546. XXX_unrecognized []byte `json:"-"`
  10547. XXX_sizecache int32 `json:"-"`
  10548. }
  10549. func (m *GetDlpJobRequest) Reset() { *m = GetDlpJobRequest{} }
  10550. func (m *GetDlpJobRequest) String() string { return proto.CompactTextString(m) }
  10551. func (*GetDlpJobRequest) ProtoMessage() {}
  10552. func (*GetDlpJobRequest) Descriptor() ([]byte, []int) {
  10553. return fileDescriptor_dlp_9184f835f60c3220, []int{88}
  10554. }
  10555. func (m *GetDlpJobRequest) XXX_Unmarshal(b []byte) error {
  10556. return xxx_messageInfo_GetDlpJobRequest.Unmarshal(m, b)
  10557. }
  10558. func (m *GetDlpJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  10559. return xxx_messageInfo_GetDlpJobRequest.Marshal(b, m, deterministic)
  10560. }
  10561. func (dst *GetDlpJobRequest) XXX_Merge(src proto.Message) {
  10562. xxx_messageInfo_GetDlpJobRequest.Merge(dst, src)
  10563. }
  10564. func (m *GetDlpJobRequest) XXX_Size() int {
  10565. return xxx_messageInfo_GetDlpJobRequest.Size(m)
  10566. }
  10567. func (m *GetDlpJobRequest) XXX_DiscardUnknown() {
  10568. xxx_messageInfo_GetDlpJobRequest.DiscardUnknown(m)
  10569. }
  10570. var xxx_messageInfo_GetDlpJobRequest proto.InternalMessageInfo
  10571. func (m *GetDlpJobRequest) GetName() string {
  10572. if m != nil {
  10573. return m.Name
  10574. }
  10575. return ""
  10576. }
  10577. // The request message for listing DLP jobs.
  10578. type ListDlpJobsRequest struct {
  10579. // The parent resource name, for example projects/my-project-id.
  10580. Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
  10581. // Optional. Allows filtering.
  10582. //
  10583. // Supported syntax:
  10584. //
  10585. // * Filter expressions are made up of one or more restrictions.
  10586. // * Restrictions can be combined by `AND` or `OR` logical operators. A
  10587. // sequence of restrictions implicitly uses `AND`.
  10588. // * A restriction has the form of `<field> <operator> <value>`.
  10589. // * Supported fields/values for inspect jobs:
  10590. // - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED
  10591. // - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
  10592. // - `trigger_name` - The resource name of the trigger that created job.
  10593. // * Supported fields for risk analysis jobs:
  10594. // - `state` - RUNNING|CANCELED|FINISHED|FAILED
  10595. // * The operator must be `=` or `!=`.
  10596. //
  10597. // Examples:
  10598. //
  10599. // * inspected_storage = cloud_storage AND state = done
  10600. // * inspected_storage = cloud_storage OR inspected_storage = bigquery
  10601. // * inspected_storage = cloud_storage AND (state = done OR state = canceled)
  10602. //
  10603. // The length of this field should be no more than 500 characters.
  10604. Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
  10605. // The standard list page size.
  10606. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  10607. // The standard list page token.
  10608. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  10609. // The type of job. Defaults to `DlpJobType.INSPECT`
  10610. Type DlpJobType `protobuf:"varint,5,opt,name=type,proto3,enum=google.privacy.dlp.v2.DlpJobType" json:"type,omitempty"`
  10611. // Optional comma separated list of fields to order by,
  10612. // followed by `asc` or `desc` postfix. This list is case-insensitive,
  10613. // default sorting order is ascending, redundant space characters are
  10614. // insignificant.
  10615. //
  10616. // Example: `name asc, end_time asc, create_time desc`
  10617. //
  10618. // Supported fields are:
  10619. //
  10620. // - `create_time`: corresponds to time the job was created.
  10621. // - `end_time`: corresponds to time the job ended.
  10622. // - `name`: corresponds to job's name.
  10623. // - `state`: corresponds to `state`
  10624. OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
  10625. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  10626. XXX_unrecognized []byte `json:"-"`
  10627. XXX_sizecache int32 `json:"-"`
  10628. }
  10629. func (m *ListDlpJobsRequest) Reset() { *m = ListDlpJobsRequest{} }
  10630. func (m *ListDlpJobsRequest) String() string { return proto.CompactTextString(m) }
  10631. func (*ListDlpJobsRequest) ProtoMessage() {}
  10632. func (*ListDlpJobsRequest) Descriptor() ([]byte, []int) {
  10633. return fileDescriptor_dlp_9184f835f60c3220, []int{89}
  10634. }
  10635. func (m *ListDlpJobsRequest) XXX_Unmarshal(b []byte) error {
  10636. return xxx_messageInfo_ListDlpJobsRequest.Unmarshal(m, b)
  10637. }
  10638. func (m *ListDlpJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  10639. return xxx_messageInfo_ListDlpJobsRequest.Marshal(b, m, deterministic)
  10640. }
  10641. func (dst *ListDlpJobsRequest) XXX_Merge(src proto.Message) {
  10642. xxx_messageInfo_ListDlpJobsRequest.Merge(dst, src)
  10643. }
  10644. func (m *ListDlpJobsRequest) XXX_Size() int {
  10645. return xxx_messageInfo_ListDlpJobsRequest.Size(m)
  10646. }
  10647. func (m *ListDlpJobsRequest) XXX_DiscardUnknown() {
  10648. xxx_messageInfo_ListDlpJobsRequest.DiscardUnknown(m)
  10649. }
  10650. var xxx_messageInfo_ListDlpJobsRequest proto.InternalMessageInfo
  10651. func (m *ListDlpJobsRequest) GetParent() string {
  10652. if m != nil {
  10653. return m.Parent
  10654. }
  10655. return ""
  10656. }
  10657. func (m *ListDlpJobsRequest) GetFilter() string {
  10658. if m != nil {
  10659. return m.Filter
  10660. }
  10661. return ""
  10662. }
  10663. func (m *ListDlpJobsRequest) GetPageSize() int32 {
  10664. if m != nil {
  10665. return m.PageSize
  10666. }
  10667. return 0
  10668. }
  10669. func (m *ListDlpJobsRequest) GetPageToken() string {
  10670. if m != nil {
  10671. return m.PageToken
  10672. }
  10673. return ""
  10674. }
  10675. func (m *ListDlpJobsRequest) GetType() DlpJobType {
  10676. if m != nil {
  10677. return m.Type
  10678. }
  10679. return DlpJobType_DLP_JOB_TYPE_UNSPECIFIED
  10680. }
  10681. func (m *ListDlpJobsRequest) GetOrderBy() string {
  10682. if m != nil {
  10683. return m.OrderBy
  10684. }
  10685. return ""
  10686. }
  10687. // The response message for listing DLP jobs.
  10688. type ListDlpJobsResponse struct {
  10689. // A list of DlpJobs that matches the specified filter in the request.
  10690. Jobs []*DlpJob `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
  10691. // The standard List next-page token.
  10692. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  10693. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  10694. XXX_unrecognized []byte `json:"-"`
  10695. XXX_sizecache int32 `json:"-"`
  10696. }
  10697. func (m *ListDlpJobsResponse) Reset() { *m = ListDlpJobsResponse{} }
  10698. func (m *ListDlpJobsResponse) String() string { return proto.CompactTextString(m) }
  10699. func (*ListDlpJobsResponse) ProtoMessage() {}
  10700. func (*ListDlpJobsResponse) Descriptor() ([]byte, []int) {
  10701. return fileDescriptor_dlp_9184f835f60c3220, []int{90}
  10702. }
  10703. func (m *ListDlpJobsResponse) XXX_Unmarshal(b []byte) error {
  10704. return xxx_messageInfo_ListDlpJobsResponse.Unmarshal(m, b)
  10705. }
  10706. func (m *ListDlpJobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  10707. return xxx_messageInfo_ListDlpJobsResponse.Marshal(b, m, deterministic)
  10708. }
  10709. func (dst *ListDlpJobsResponse) XXX_Merge(src proto.Message) {
  10710. xxx_messageInfo_ListDlpJobsResponse.Merge(dst, src)
  10711. }
  10712. func (m *ListDlpJobsResponse) XXX_Size() int {
  10713. return xxx_messageInfo_ListDlpJobsResponse.Size(m)
  10714. }
  10715. func (m *ListDlpJobsResponse) XXX_DiscardUnknown() {
  10716. xxx_messageInfo_ListDlpJobsResponse.DiscardUnknown(m)
  10717. }
  10718. var xxx_messageInfo_ListDlpJobsResponse proto.InternalMessageInfo
  10719. func (m *ListDlpJobsResponse) GetJobs() []*DlpJob {
  10720. if m != nil {
  10721. return m.Jobs
  10722. }
  10723. return nil
  10724. }
  10725. func (m *ListDlpJobsResponse) GetNextPageToken() string {
  10726. if m != nil {
  10727. return m.NextPageToken
  10728. }
  10729. return ""
  10730. }
  10731. // The request message for canceling a DLP job.
  10732. type CancelDlpJobRequest struct {
  10733. // The name of the DlpJob resource to be cancelled.
  10734. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  10735. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  10736. XXX_unrecognized []byte `json:"-"`
  10737. XXX_sizecache int32 `json:"-"`
  10738. }
  10739. func (m *CancelDlpJobRequest) Reset() { *m = CancelDlpJobRequest{} }
  10740. func (m *CancelDlpJobRequest) String() string { return proto.CompactTextString(m) }
  10741. func (*CancelDlpJobRequest) ProtoMessage() {}
  10742. func (*CancelDlpJobRequest) Descriptor() ([]byte, []int) {
  10743. return fileDescriptor_dlp_9184f835f60c3220, []int{91}
  10744. }
  10745. func (m *CancelDlpJobRequest) XXX_Unmarshal(b []byte) error {
  10746. return xxx_messageInfo_CancelDlpJobRequest.Unmarshal(m, b)
  10747. }
  10748. func (m *CancelDlpJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  10749. return xxx_messageInfo_CancelDlpJobRequest.Marshal(b, m, deterministic)
  10750. }
  10751. func (dst *CancelDlpJobRequest) XXX_Merge(src proto.Message) {
  10752. xxx_messageInfo_CancelDlpJobRequest.Merge(dst, src)
  10753. }
  10754. func (m *CancelDlpJobRequest) XXX_Size() int {
  10755. return xxx_messageInfo_CancelDlpJobRequest.Size(m)
  10756. }
  10757. func (m *CancelDlpJobRequest) XXX_DiscardUnknown() {
  10758. xxx_messageInfo_CancelDlpJobRequest.DiscardUnknown(m)
  10759. }
  10760. var xxx_messageInfo_CancelDlpJobRequest proto.InternalMessageInfo
  10761. func (m *CancelDlpJobRequest) GetName() string {
  10762. if m != nil {
  10763. return m.Name
  10764. }
  10765. return ""
  10766. }
  10767. // The request message for deleting a DLP job.
  10768. type DeleteDlpJobRequest struct {
  10769. // The name of the DlpJob resource to be deleted.
  10770. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  10771. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  10772. XXX_unrecognized []byte `json:"-"`
  10773. XXX_sizecache int32 `json:"-"`
  10774. }
  10775. func (m *DeleteDlpJobRequest) Reset() { *m = DeleteDlpJobRequest{} }
  10776. func (m *DeleteDlpJobRequest) String() string { return proto.CompactTextString(m) }
  10777. func (*DeleteDlpJobRequest) ProtoMessage() {}
  10778. func (*DeleteDlpJobRequest) Descriptor() ([]byte, []int) {
  10779. return fileDescriptor_dlp_9184f835f60c3220, []int{92}
  10780. }
  10781. func (m *DeleteDlpJobRequest) XXX_Unmarshal(b []byte) error {
  10782. return xxx_messageInfo_DeleteDlpJobRequest.Unmarshal(m, b)
  10783. }
  10784. func (m *DeleteDlpJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  10785. return xxx_messageInfo_DeleteDlpJobRequest.Marshal(b, m, deterministic)
  10786. }
  10787. func (dst *DeleteDlpJobRequest) XXX_Merge(src proto.Message) {
  10788. xxx_messageInfo_DeleteDlpJobRequest.Merge(dst, src)
  10789. }
  10790. func (m *DeleteDlpJobRequest) XXX_Size() int {
  10791. return xxx_messageInfo_DeleteDlpJobRequest.Size(m)
  10792. }
  10793. func (m *DeleteDlpJobRequest) XXX_DiscardUnknown() {
  10794. xxx_messageInfo_DeleteDlpJobRequest.DiscardUnknown(m)
  10795. }
  10796. var xxx_messageInfo_DeleteDlpJobRequest proto.InternalMessageInfo
  10797. func (m *DeleteDlpJobRequest) GetName() string {
  10798. if m != nil {
  10799. return m.Name
  10800. }
  10801. return ""
  10802. }
  10803. // Request message for CreateDeidentifyTemplate.
  10804. type CreateDeidentifyTemplateRequest struct {
  10805. // The parent resource name, for example projects/my-project-id or
  10806. // organizations/my-org-id.
  10807. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  10808. // The DeidentifyTemplate to create.
  10809. DeidentifyTemplate *DeidentifyTemplate `protobuf:"bytes,2,opt,name=deidentify_template,json=deidentifyTemplate,proto3" json:"deidentify_template,omitempty"`
  10810. // The template id can contain uppercase and lowercase letters,
  10811. // numbers, and hyphens; that is, it must match the regular
  10812. // expression: `[a-zA-Z\\d-]+`. The maximum length is 100
  10813. // characters. Can be empty to allow the system to generate one.
  10814. TemplateId string `protobuf:"bytes,3,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"`
  10815. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  10816. XXX_unrecognized []byte `json:"-"`
  10817. XXX_sizecache int32 `json:"-"`
  10818. }
  10819. func (m *CreateDeidentifyTemplateRequest) Reset() { *m = CreateDeidentifyTemplateRequest{} }
  10820. func (m *CreateDeidentifyTemplateRequest) String() string { return proto.CompactTextString(m) }
  10821. func (*CreateDeidentifyTemplateRequest) ProtoMessage() {}
  10822. func (*CreateDeidentifyTemplateRequest) Descriptor() ([]byte, []int) {
  10823. return fileDescriptor_dlp_9184f835f60c3220, []int{93}
  10824. }
  10825. func (m *CreateDeidentifyTemplateRequest) XXX_Unmarshal(b []byte) error {
  10826. return xxx_messageInfo_CreateDeidentifyTemplateRequest.Unmarshal(m, b)
  10827. }
  10828. func (m *CreateDeidentifyTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  10829. return xxx_messageInfo_CreateDeidentifyTemplateRequest.Marshal(b, m, deterministic)
  10830. }
  10831. func (dst *CreateDeidentifyTemplateRequest) XXX_Merge(src proto.Message) {
  10832. xxx_messageInfo_CreateDeidentifyTemplateRequest.Merge(dst, src)
  10833. }
  10834. func (m *CreateDeidentifyTemplateRequest) XXX_Size() int {
  10835. return xxx_messageInfo_CreateDeidentifyTemplateRequest.Size(m)
  10836. }
  10837. func (m *CreateDeidentifyTemplateRequest) XXX_DiscardUnknown() {
  10838. xxx_messageInfo_CreateDeidentifyTemplateRequest.DiscardUnknown(m)
  10839. }
  10840. var xxx_messageInfo_CreateDeidentifyTemplateRequest proto.InternalMessageInfo
  10841. func (m *CreateDeidentifyTemplateRequest) GetParent() string {
  10842. if m != nil {
  10843. return m.Parent
  10844. }
  10845. return ""
  10846. }
  10847. func (m *CreateDeidentifyTemplateRequest) GetDeidentifyTemplate() *DeidentifyTemplate {
  10848. if m != nil {
  10849. return m.DeidentifyTemplate
  10850. }
  10851. return nil
  10852. }
  10853. func (m *CreateDeidentifyTemplateRequest) GetTemplateId() string {
  10854. if m != nil {
  10855. return m.TemplateId
  10856. }
  10857. return ""
  10858. }
  10859. // Request message for UpdateDeidentifyTemplate.
  10860. type UpdateDeidentifyTemplateRequest struct {
  10861. // Resource name of organization and deidentify template to be updated, for
  10862. // example `organizations/433245324/deidentifyTemplates/432452342` or
  10863. // projects/project-id/deidentifyTemplates/432452342.
  10864. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  10865. // New DeidentifyTemplate value.
  10866. DeidentifyTemplate *DeidentifyTemplate `protobuf:"bytes,2,opt,name=deidentify_template,json=deidentifyTemplate,proto3" json:"deidentify_template,omitempty"`
  10867. // Mask to control which fields get updated.
  10868. UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
  10869. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  10870. XXX_unrecognized []byte `json:"-"`
  10871. XXX_sizecache int32 `json:"-"`
  10872. }
  10873. func (m *UpdateDeidentifyTemplateRequest) Reset() { *m = UpdateDeidentifyTemplateRequest{} }
  10874. func (m *UpdateDeidentifyTemplateRequest) String() string { return proto.CompactTextString(m) }
  10875. func (*UpdateDeidentifyTemplateRequest) ProtoMessage() {}
  10876. func (*UpdateDeidentifyTemplateRequest) Descriptor() ([]byte, []int) {
  10877. return fileDescriptor_dlp_9184f835f60c3220, []int{94}
  10878. }
  10879. func (m *UpdateDeidentifyTemplateRequest) XXX_Unmarshal(b []byte) error {
  10880. return xxx_messageInfo_UpdateDeidentifyTemplateRequest.Unmarshal(m, b)
  10881. }
  10882. func (m *UpdateDeidentifyTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  10883. return xxx_messageInfo_UpdateDeidentifyTemplateRequest.Marshal(b, m, deterministic)
  10884. }
  10885. func (dst *UpdateDeidentifyTemplateRequest) XXX_Merge(src proto.Message) {
  10886. xxx_messageInfo_UpdateDeidentifyTemplateRequest.Merge(dst, src)
  10887. }
  10888. func (m *UpdateDeidentifyTemplateRequest) XXX_Size() int {
  10889. return xxx_messageInfo_UpdateDeidentifyTemplateRequest.Size(m)
  10890. }
  10891. func (m *UpdateDeidentifyTemplateRequest) XXX_DiscardUnknown() {
  10892. xxx_messageInfo_UpdateDeidentifyTemplateRequest.DiscardUnknown(m)
  10893. }
  10894. var xxx_messageInfo_UpdateDeidentifyTemplateRequest proto.InternalMessageInfo
  10895. func (m *UpdateDeidentifyTemplateRequest) GetName() string {
  10896. if m != nil {
  10897. return m.Name
  10898. }
  10899. return ""
  10900. }
  10901. func (m *UpdateDeidentifyTemplateRequest) GetDeidentifyTemplate() *DeidentifyTemplate {
  10902. if m != nil {
  10903. return m.DeidentifyTemplate
  10904. }
  10905. return nil
  10906. }
  10907. func (m *UpdateDeidentifyTemplateRequest) GetUpdateMask() *field_mask.FieldMask {
  10908. if m != nil {
  10909. return m.UpdateMask
  10910. }
  10911. return nil
  10912. }
  10913. // Request message for GetDeidentifyTemplate.
  10914. type GetDeidentifyTemplateRequest struct {
  10915. // Resource name of the organization and deidentify template to be read, for
  10916. // example `organizations/433245324/deidentifyTemplates/432452342` or
  10917. // projects/project-id/deidentifyTemplates/432452342.
  10918. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  10919. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  10920. XXX_unrecognized []byte `json:"-"`
  10921. XXX_sizecache int32 `json:"-"`
  10922. }
  10923. func (m *GetDeidentifyTemplateRequest) Reset() { *m = GetDeidentifyTemplateRequest{} }
  10924. func (m *GetDeidentifyTemplateRequest) String() string { return proto.CompactTextString(m) }
  10925. func (*GetDeidentifyTemplateRequest) ProtoMessage() {}
  10926. func (*GetDeidentifyTemplateRequest) Descriptor() ([]byte, []int) {
  10927. return fileDescriptor_dlp_9184f835f60c3220, []int{95}
  10928. }
  10929. func (m *GetDeidentifyTemplateRequest) XXX_Unmarshal(b []byte) error {
  10930. return xxx_messageInfo_GetDeidentifyTemplateRequest.Unmarshal(m, b)
  10931. }
  10932. func (m *GetDeidentifyTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  10933. return xxx_messageInfo_GetDeidentifyTemplateRequest.Marshal(b, m, deterministic)
  10934. }
  10935. func (dst *GetDeidentifyTemplateRequest) XXX_Merge(src proto.Message) {
  10936. xxx_messageInfo_GetDeidentifyTemplateRequest.Merge(dst, src)
  10937. }
  10938. func (m *GetDeidentifyTemplateRequest) XXX_Size() int {
  10939. return xxx_messageInfo_GetDeidentifyTemplateRequest.Size(m)
  10940. }
  10941. func (m *GetDeidentifyTemplateRequest) XXX_DiscardUnknown() {
  10942. xxx_messageInfo_GetDeidentifyTemplateRequest.DiscardUnknown(m)
  10943. }
  10944. var xxx_messageInfo_GetDeidentifyTemplateRequest proto.InternalMessageInfo
  10945. func (m *GetDeidentifyTemplateRequest) GetName() string {
  10946. if m != nil {
  10947. return m.Name
  10948. }
  10949. return ""
  10950. }
  10951. // Request message for ListDeidentifyTemplates.
  10952. type ListDeidentifyTemplatesRequest struct {
  10953. // The parent resource name, for example projects/my-project-id or
  10954. // organizations/my-org-id.
  10955. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  10956. // Optional page token to continue retrieval. Comes from previous call
  10957. // to `ListDeidentifyTemplates`.
  10958. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  10959. // Optional size of the page, can be limited by server. If zero server returns
  10960. // a page of max size 100.
  10961. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  10962. // Optional comma separated list of fields to order by,
  10963. // followed by `asc` or `desc` postfix. This list is case-insensitive,
  10964. // default sorting order is ascending, redundant space characters are
  10965. // insignificant.
  10966. //
  10967. // Example: `name asc,update_time, create_time desc`
  10968. //
  10969. // Supported fields are:
  10970. //
  10971. // - `create_time`: corresponds to time the template was created.
  10972. // - `update_time`: corresponds to time the template was last updated.
  10973. // - `name`: corresponds to template's name.
  10974. // - `display_name`: corresponds to template's display name.
  10975. OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
  10976. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  10977. XXX_unrecognized []byte `json:"-"`
  10978. XXX_sizecache int32 `json:"-"`
  10979. }
  10980. func (m *ListDeidentifyTemplatesRequest) Reset() { *m = ListDeidentifyTemplatesRequest{} }
  10981. func (m *ListDeidentifyTemplatesRequest) String() string { return proto.CompactTextString(m) }
  10982. func (*ListDeidentifyTemplatesRequest) ProtoMessage() {}
  10983. func (*ListDeidentifyTemplatesRequest) Descriptor() ([]byte, []int) {
  10984. return fileDescriptor_dlp_9184f835f60c3220, []int{96}
  10985. }
  10986. func (m *ListDeidentifyTemplatesRequest) XXX_Unmarshal(b []byte) error {
  10987. return xxx_messageInfo_ListDeidentifyTemplatesRequest.Unmarshal(m, b)
  10988. }
  10989. func (m *ListDeidentifyTemplatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  10990. return xxx_messageInfo_ListDeidentifyTemplatesRequest.Marshal(b, m, deterministic)
  10991. }
  10992. func (dst *ListDeidentifyTemplatesRequest) XXX_Merge(src proto.Message) {
  10993. xxx_messageInfo_ListDeidentifyTemplatesRequest.Merge(dst, src)
  10994. }
  10995. func (m *ListDeidentifyTemplatesRequest) XXX_Size() int {
  10996. return xxx_messageInfo_ListDeidentifyTemplatesRequest.Size(m)
  10997. }
  10998. func (m *ListDeidentifyTemplatesRequest) XXX_DiscardUnknown() {
  10999. xxx_messageInfo_ListDeidentifyTemplatesRequest.DiscardUnknown(m)
  11000. }
  11001. var xxx_messageInfo_ListDeidentifyTemplatesRequest proto.InternalMessageInfo
  11002. func (m *ListDeidentifyTemplatesRequest) GetParent() string {
  11003. if m != nil {
  11004. return m.Parent
  11005. }
  11006. return ""
  11007. }
  11008. func (m *ListDeidentifyTemplatesRequest) GetPageToken() string {
  11009. if m != nil {
  11010. return m.PageToken
  11011. }
  11012. return ""
  11013. }
  11014. func (m *ListDeidentifyTemplatesRequest) GetPageSize() int32 {
  11015. if m != nil {
  11016. return m.PageSize
  11017. }
  11018. return 0
  11019. }
  11020. func (m *ListDeidentifyTemplatesRequest) GetOrderBy() string {
  11021. if m != nil {
  11022. return m.OrderBy
  11023. }
  11024. return ""
  11025. }
  11026. // Response message for ListDeidentifyTemplates.
  11027. type ListDeidentifyTemplatesResponse struct {
  11028. // List of deidentify templates, up to page_size in
  11029. // ListDeidentifyTemplatesRequest.
  11030. DeidentifyTemplates []*DeidentifyTemplate `protobuf:"bytes,1,rep,name=deidentify_templates,json=deidentifyTemplates,proto3" json:"deidentify_templates,omitempty"`
  11031. // If the next page is available then the next page token to be used
  11032. // in following ListDeidentifyTemplates request.
  11033. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  11034. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  11035. XXX_unrecognized []byte `json:"-"`
  11036. XXX_sizecache int32 `json:"-"`
  11037. }
  11038. func (m *ListDeidentifyTemplatesResponse) Reset() { *m = ListDeidentifyTemplatesResponse{} }
  11039. func (m *ListDeidentifyTemplatesResponse) String() string { return proto.CompactTextString(m) }
  11040. func (*ListDeidentifyTemplatesResponse) ProtoMessage() {}
  11041. func (*ListDeidentifyTemplatesResponse) Descriptor() ([]byte, []int) {
  11042. return fileDescriptor_dlp_9184f835f60c3220, []int{97}
  11043. }
  11044. func (m *ListDeidentifyTemplatesResponse) XXX_Unmarshal(b []byte) error {
  11045. return xxx_messageInfo_ListDeidentifyTemplatesResponse.Unmarshal(m, b)
  11046. }
  11047. func (m *ListDeidentifyTemplatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  11048. return xxx_messageInfo_ListDeidentifyTemplatesResponse.Marshal(b, m, deterministic)
  11049. }
  11050. func (dst *ListDeidentifyTemplatesResponse) XXX_Merge(src proto.Message) {
  11051. xxx_messageInfo_ListDeidentifyTemplatesResponse.Merge(dst, src)
  11052. }
  11053. func (m *ListDeidentifyTemplatesResponse) XXX_Size() int {
  11054. return xxx_messageInfo_ListDeidentifyTemplatesResponse.Size(m)
  11055. }
  11056. func (m *ListDeidentifyTemplatesResponse) XXX_DiscardUnknown() {
  11057. xxx_messageInfo_ListDeidentifyTemplatesResponse.DiscardUnknown(m)
  11058. }
  11059. var xxx_messageInfo_ListDeidentifyTemplatesResponse proto.InternalMessageInfo
  11060. func (m *ListDeidentifyTemplatesResponse) GetDeidentifyTemplates() []*DeidentifyTemplate {
  11061. if m != nil {
  11062. return m.DeidentifyTemplates
  11063. }
  11064. return nil
  11065. }
  11066. func (m *ListDeidentifyTemplatesResponse) GetNextPageToken() string {
  11067. if m != nil {
  11068. return m.NextPageToken
  11069. }
  11070. return ""
  11071. }
  11072. // Request message for DeleteDeidentifyTemplate.
  11073. type DeleteDeidentifyTemplateRequest struct {
  11074. // Resource name of the organization and deidentify template to be deleted,
  11075. // for example `organizations/433245324/deidentifyTemplates/432452342` or
  11076. // projects/project-id/deidentifyTemplates/432452342.
  11077. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  11078. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  11079. XXX_unrecognized []byte `json:"-"`
  11080. XXX_sizecache int32 `json:"-"`
  11081. }
  11082. func (m *DeleteDeidentifyTemplateRequest) Reset() { *m = DeleteDeidentifyTemplateRequest{} }
  11083. func (m *DeleteDeidentifyTemplateRequest) String() string { return proto.CompactTextString(m) }
  11084. func (*DeleteDeidentifyTemplateRequest) ProtoMessage() {}
  11085. func (*DeleteDeidentifyTemplateRequest) Descriptor() ([]byte, []int) {
  11086. return fileDescriptor_dlp_9184f835f60c3220, []int{98}
  11087. }
  11088. func (m *DeleteDeidentifyTemplateRequest) XXX_Unmarshal(b []byte) error {
  11089. return xxx_messageInfo_DeleteDeidentifyTemplateRequest.Unmarshal(m, b)
  11090. }
  11091. func (m *DeleteDeidentifyTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  11092. return xxx_messageInfo_DeleteDeidentifyTemplateRequest.Marshal(b, m, deterministic)
  11093. }
  11094. func (dst *DeleteDeidentifyTemplateRequest) XXX_Merge(src proto.Message) {
  11095. xxx_messageInfo_DeleteDeidentifyTemplateRequest.Merge(dst, src)
  11096. }
  11097. func (m *DeleteDeidentifyTemplateRequest) XXX_Size() int {
  11098. return xxx_messageInfo_DeleteDeidentifyTemplateRequest.Size(m)
  11099. }
  11100. func (m *DeleteDeidentifyTemplateRequest) XXX_DiscardUnknown() {
  11101. xxx_messageInfo_DeleteDeidentifyTemplateRequest.DiscardUnknown(m)
  11102. }
  11103. var xxx_messageInfo_DeleteDeidentifyTemplateRequest proto.InternalMessageInfo
  11104. func (m *DeleteDeidentifyTemplateRequest) GetName() string {
  11105. if m != nil {
  11106. return m.Name
  11107. }
  11108. return ""
  11109. }
  11110. // Configuration for a custom dictionary created from a data source of any size
  11111. // up to the maximum size defined in the
  11112. // [limits](https://cloud.google.com/dlp/limits) page. The artifacts of
  11113. // dictionary creation are stored in the specified Google Cloud Storage
  11114. // location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries
  11115. // that satisfy the size requirements.
  11116. type LargeCustomDictionaryConfig struct {
  11117. // Location to store dictionary artifacts in Google Cloud Storage. These files
  11118. // will only be accessible by project owners and the DLP API. If any of these
  11119. // artifacts are modified, the dictionary is considered invalid and can no
  11120. // longer be used.
  11121. OutputPath *CloudStoragePath `protobuf:"bytes,1,opt,name=output_path,json=outputPath,proto3" json:"output_path,omitempty"`
  11122. // Types that are valid to be assigned to Source:
  11123. // *LargeCustomDictionaryConfig_CloudStorageFileSet
  11124. // *LargeCustomDictionaryConfig_BigQueryField
  11125. Source isLargeCustomDictionaryConfig_Source `protobuf_oneof:"source"`
  11126. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  11127. XXX_unrecognized []byte `json:"-"`
  11128. XXX_sizecache int32 `json:"-"`
  11129. }
  11130. func (m *LargeCustomDictionaryConfig) Reset() { *m = LargeCustomDictionaryConfig{} }
  11131. func (m *LargeCustomDictionaryConfig) String() string { return proto.CompactTextString(m) }
  11132. func (*LargeCustomDictionaryConfig) ProtoMessage() {}
  11133. func (*LargeCustomDictionaryConfig) Descriptor() ([]byte, []int) {
  11134. return fileDescriptor_dlp_9184f835f60c3220, []int{99}
  11135. }
  11136. func (m *LargeCustomDictionaryConfig) XXX_Unmarshal(b []byte) error {
  11137. return xxx_messageInfo_LargeCustomDictionaryConfig.Unmarshal(m, b)
  11138. }
  11139. func (m *LargeCustomDictionaryConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  11140. return xxx_messageInfo_LargeCustomDictionaryConfig.Marshal(b, m, deterministic)
  11141. }
  11142. func (dst *LargeCustomDictionaryConfig) XXX_Merge(src proto.Message) {
  11143. xxx_messageInfo_LargeCustomDictionaryConfig.Merge(dst, src)
  11144. }
  11145. func (m *LargeCustomDictionaryConfig) XXX_Size() int {
  11146. return xxx_messageInfo_LargeCustomDictionaryConfig.Size(m)
  11147. }
  11148. func (m *LargeCustomDictionaryConfig) XXX_DiscardUnknown() {
  11149. xxx_messageInfo_LargeCustomDictionaryConfig.DiscardUnknown(m)
  11150. }
  11151. var xxx_messageInfo_LargeCustomDictionaryConfig proto.InternalMessageInfo
  11152. func (m *LargeCustomDictionaryConfig) GetOutputPath() *CloudStoragePath {
  11153. if m != nil {
  11154. return m.OutputPath
  11155. }
  11156. return nil
  11157. }
  11158. type isLargeCustomDictionaryConfig_Source interface {
  11159. isLargeCustomDictionaryConfig_Source()
  11160. }
  11161. type LargeCustomDictionaryConfig_CloudStorageFileSet struct {
  11162. CloudStorageFileSet *CloudStorageFileSet `protobuf:"bytes,2,opt,name=cloud_storage_file_set,json=cloudStorageFileSet,proto3,oneof"`
  11163. }
  11164. type LargeCustomDictionaryConfig_BigQueryField struct {
  11165. BigQueryField *BigQueryField `protobuf:"bytes,3,opt,name=big_query_field,json=bigQueryField,proto3,oneof"`
  11166. }
  11167. func (*LargeCustomDictionaryConfig_CloudStorageFileSet) isLargeCustomDictionaryConfig_Source() {}
  11168. func (*LargeCustomDictionaryConfig_BigQueryField) isLargeCustomDictionaryConfig_Source() {}
  11169. func (m *LargeCustomDictionaryConfig) GetSource() isLargeCustomDictionaryConfig_Source {
  11170. if m != nil {
  11171. return m.Source
  11172. }
  11173. return nil
  11174. }
  11175. func (m *LargeCustomDictionaryConfig) GetCloudStorageFileSet() *CloudStorageFileSet {
  11176. if x, ok := m.GetSource().(*LargeCustomDictionaryConfig_CloudStorageFileSet); ok {
  11177. return x.CloudStorageFileSet
  11178. }
  11179. return nil
  11180. }
  11181. func (m *LargeCustomDictionaryConfig) GetBigQueryField() *BigQueryField {
  11182. if x, ok := m.GetSource().(*LargeCustomDictionaryConfig_BigQueryField); ok {
  11183. return x.BigQueryField
  11184. }
  11185. return nil
  11186. }
  11187. // XXX_OneofFuncs is for the internal use of the proto package.
  11188. func (*LargeCustomDictionaryConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  11189. return _LargeCustomDictionaryConfig_OneofMarshaler, _LargeCustomDictionaryConfig_OneofUnmarshaler, _LargeCustomDictionaryConfig_OneofSizer, []interface{}{
  11190. (*LargeCustomDictionaryConfig_CloudStorageFileSet)(nil),
  11191. (*LargeCustomDictionaryConfig_BigQueryField)(nil),
  11192. }
  11193. }
  11194. func _LargeCustomDictionaryConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  11195. m := msg.(*LargeCustomDictionaryConfig)
  11196. // source
  11197. switch x := m.Source.(type) {
  11198. case *LargeCustomDictionaryConfig_CloudStorageFileSet:
  11199. b.EncodeVarint(2<<3 | proto.WireBytes)
  11200. if err := b.EncodeMessage(x.CloudStorageFileSet); err != nil {
  11201. return err
  11202. }
  11203. case *LargeCustomDictionaryConfig_BigQueryField:
  11204. b.EncodeVarint(3<<3 | proto.WireBytes)
  11205. if err := b.EncodeMessage(x.BigQueryField); err != nil {
  11206. return err
  11207. }
  11208. case nil:
  11209. default:
  11210. return fmt.Errorf("LargeCustomDictionaryConfig.Source has unexpected type %T", x)
  11211. }
  11212. return nil
  11213. }
  11214. func _LargeCustomDictionaryConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  11215. m := msg.(*LargeCustomDictionaryConfig)
  11216. switch tag {
  11217. case 2: // source.cloud_storage_file_set
  11218. if wire != proto.WireBytes {
  11219. return true, proto.ErrInternalBadWireType
  11220. }
  11221. msg := new(CloudStorageFileSet)
  11222. err := b.DecodeMessage(msg)
  11223. m.Source = &LargeCustomDictionaryConfig_CloudStorageFileSet{msg}
  11224. return true, err
  11225. case 3: // source.big_query_field
  11226. if wire != proto.WireBytes {
  11227. return true, proto.ErrInternalBadWireType
  11228. }
  11229. msg := new(BigQueryField)
  11230. err := b.DecodeMessage(msg)
  11231. m.Source = &LargeCustomDictionaryConfig_BigQueryField{msg}
  11232. return true, err
  11233. default:
  11234. return false, nil
  11235. }
  11236. }
  11237. func _LargeCustomDictionaryConfig_OneofSizer(msg proto.Message) (n int) {
  11238. m := msg.(*LargeCustomDictionaryConfig)
  11239. // source
  11240. switch x := m.Source.(type) {
  11241. case *LargeCustomDictionaryConfig_CloudStorageFileSet:
  11242. s := proto.Size(x.CloudStorageFileSet)
  11243. n += 1 // tag and wire
  11244. n += proto.SizeVarint(uint64(s))
  11245. n += s
  11246. case *LargeCustomDictionaryConfig_BigQueryField:
  11247. s := proto.Size(x.BigQueryField)
  11248. n += 1 // tag and wire
  11249. n += proto.SizeVarint(uint64(s))
  11250. n += s
  11251. case nil:
  11252. default:
  11253. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  11254. }
  11255. return n
  11256. }
  11257. // Configuration for a StoredInfoType.
  11258. type StoredInfoTypeConfig struct {
  11259. // Display name of the StoredInfoType (max 256 characters).
  11260. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
  11261. // Description of the StoredInfoType (max 256 characters).
  11262. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
  11263. // Types that are valid to be assigned to Type:
  11264. // *StoredInfoTypeConfig_LargeCustomDictionary
  11265. Type isStoredInfoTypeConfig_Type `protobuf_oneof:"type"`
  11266. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  11267. XXX_unrecognized []byte `json:"-"`
  11268. XXX_sizecache int32 `json:"-"`
  11269. }
  11270. func (m *StoredInfoTypeConfig) Reset() { *m = StoredInfoTypeConfig{} }
  11271. func (m *StoredInfoTypeConfig) String() string { return proto.CompactTextString(m) }
  11272. func (*StoredInfoTypeConfig) ProtoMessage() {}
  11273. func (*StoredInfoTypeConfig) Descriptor() ([]byte, []int) {
  11274. return fileDescriptor_dlp_9184f835f60c3220, []int{100}
  11275. }
  11276. func (m *StoredInfoTypeConfig) XXX_Unmarshal(b []byte) error {
  11277. return xxx_messageInfo_StoredInfoTypeConfig.Unmarshal(m, b)
  11278. }
  11279. func (m *StoredInfoTypeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  11280. return xxx_messageInfo_StoredInfoTypeConfig.Marshal(b, m, deterministic)
  11281. }
  11282. func (dst *StoredInfoTypeConfig) XXX_Merge(src proto.Message) {
  11283. xxx_messageInfo_StoredInfoTypeConfig.Merge(dst, src)
  11284. }
  11285. func (m *StoredInfoTypeConfig) XXX_Size() int {
  11286. return xxx_messageInfo_StoredInfoTypeConfig.Size(m)
  11287. }
  11288. func (m *StoredInfoTypeConfig) XXX_DiscardUnknown() {
  11289. xxx_messageInfo_StoredInfoTypeConfig.DiscardUnknown(m)
  11290. }
  11291. var xxx_messageInfo_StoredInfoTypeConfig proto.InternalMessageInfo
  11292. func (m *StoredInfoTypeConfig) GetDisplayName() string {
  11293. if m != nil {
  11294. return m.DisplayName
  11295. }
  11296. return ""
  11297. }
  11298. func (m *StoredInfoTypeConfig) GetDescription() string {
  11299. if m != nil {
  11300. return m.Description
  11301. }
  11302. return ""
  11303. }
  11304. type isStoredInfoTypeConfig_Type interface {
  11305. isStoredInfoTypeConfig_Type()
  11306. }
  11307. type StoredInfoTypeConfig_LargeCustomDictionary struct {
  11308. LargeCustomDictionary *LargeCustomDictionaryConfig `protobuf:"bytes,3,opt,name=large_custom_dictionary,json=largeCustomDictionary,proto3,oneof"`
  11309. }
  11310. func (*StoredInfoTypeConfig_LargeCustomDictionary) isStoredInfoTypeConfig_Type() {}
  11311. func (m *StoredInfoTypeConfig) GetType() isStoredInfoTypeConfig_Type {
  11312. if m != nil {
  11313. return m.Type
  11314. }
  11315. return nil
  11316. }
  11317. func (m *StoredInfoTypeConfig) GetLargeCustomDictionary() *LargeCustomDictionaryConfig {
  11318. if x, ok := m.GetType().(*StoredInfoTypeConfig_LargeCustomDictionary); ok {
  11319. return x.LargeCustomDictionary
  11320. }
  11321. return nil
  11322. }
  11323. // XXX_OneofFuncs is for the internal use of the proto package.
  11324. func (*StoredInfoTypeConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  11325. return _StoredInfoTypeConfig_OneofMarshaler, _StoredInfoTypeConfig_OneofUnmarshaler, _StoredInfoTypeConfig_OneofSizer, []interface{}{
  11326. (*StoredInfoTypeConfig_LargeCustomDictionary)(nil),
  11327. }
  11328. }
  11329. func _StoredInfoTypeConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  11330. m := msg.(*StoredInfoTypeConfig)
  11331. // type
  11332. switch x := m.Type.(type) {
  11333. case *StoredInfoTypeConfig_LargeCustomDictionary:
  11334. b.EncodeVarint(3<<3 | proto.WireBytes)
  11335. if err := b.EncodeMessage(x.LargeCustomDictionary); err != nil {
  11336. return err
  11337. }
  11338. case nil:
  11339. default:
  11340. return fmt.Errorf("StoredInfoTypeConfig.Type has unexpected type %T", x)
  11341. }
  11342. return nil
  11343. }
  11344. func _StoredInfoTypeConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  11345. m := msg.(*StoredInfoTypeConfig)
  11346. switch tag {
  11347. case 3: // type.large_custom_dictionary
  11348. if wire != proto.WireBytes {
  11349. return true, proto.ErrInternalBadWireType
  11350. }
  11351. msg := new(LargeCustomDictionaryConfig)
  11352. err := b.DecodeMessage(msg)
  11353. m.Type = &StoredInfoTypeConfig_LargeCustomDictionary{msg}
  11354. return true, err
  11355. default:
  11356. return false, nil
  11357. }
  11358. }
  11359. func _StoredInfoTypeConfig_OneofSizer(msg proto.Message) (n int) {
  11360. m := msg.(*StoredInfoTypeConfig)
  11361. // type
  11362. switch x := m.Type.(type) {
  11363. case *StoredInfoTypeConfig_LargeCustomDictionary:
  11364. s := proto.Size(x.LargeCustomDictionary)
  11365. n += 1 // tag and wire
  11366. n += proto.SizeVarint(uint64(s))
  11367. n += s
  11368. case nil:
  11369. default:
  11370. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  11371. }
  11372. return n
  11373. }
  11374. // Version of a StoredInfoType, including the configuration used to build it,
  11375. // create timestamp, and current state.
  11376. type StoredInfoTypeVersion struct {
  11377. // StoredInfoType configuration.
  11378. Config *StoredInfoTypeConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
  11379. // Create timestamp of the version. Read-only, determined by the system
  11380. // when the version is created.
  11381. CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
  11382. // Stored info type version state. Read-only, updated by the system
  11383. // during dictionary creation.
  11384. State StoredInfoTypeState `protobuf:"varint,3,opt,name=state,proto3,enum=google.privacy.dlp.v2.StoredInfoTypeState" json:"state,omitempty"`
  11385. // Errors that occurred when creating this storedInfoType version, or
  11386. // anomalies detected in the storedInfoType data that render it unusable. Only
  11387. // the five most recent errors will be displayed, with the most recent error
  11388. // appearing first.
  11389. // <p>For example, some of the data for stored custom dictionaries is put in
  11390. // the user's Google Cloud Storage bucket, and if this data is modified or
  11391. // deleted by the user or another system, the dictionary becomes invalid.
  11392. // <p>If any errors occur, fix the problem indicated by the error message and
  11393. // use the UpdateStoredInfoType API method to create another version of the
  11394. // storedInfoType to continue using it, reusing the same `config` if it was
  11395. // not the source of the error.
  11396. Errors []*Error `protobuf:"bytes,4,rep,name=errors,proto3" json:"errors,omitempty"`
  11397. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  11398. XXX_unrecognized []byte `json:"-"`
  11399. XXX_sizecache int32 `json:"-"`
  11400. }
  11401. func (m *StoredInfoTypeVersion) Reset() { *m = StoredInfoTypeVersion{} }
  11402. func (m *StoredInfoTypeVersion) String() string { return proto.CompactTextString(m) }
  11403. func (*StoredInfoTypeVersion) ProtoMessage() {}
  11404. func (*StoredInfoTypeVersion) Descriptor() ([]byte, []int) {
  11405. return fileDescriptor_dlp_9184f835f60c3220, []int{101}
  11406. }
  11407. func (m *StoredInfoTypeVersion) XXX_Unmarshal(b []byte) error {
  11408. return xxx_messageInfo_StoredInfoTypeVersion.Unmarshal(m, b)
  11409. }
  11410. func (m *StoredInfoTypeVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  11411. return xxx_messageInfo_StoredInfoTypeVersion.Marshal(b, m, deterministic)
  11412. }
  11413. func (dst *StoredInfoTypeVersion) XXX_Merge(src proto.Message) {
  11414. xxx_messageInfo_StoredInfoTypeVersion.Merge(dst, src)
  11415. }
  11416. func (m *StoredInfoTypeVersion) XXX_Size() int {
  11417. return xxx_messageInfo_StoredInfoTypeVersion.Size(m)
  11418. }
  11419. func (m *StoredInfoTypeVersion) XXX_DiscardUnknown() {
  11420. xxx_messageInfo_StoredInfoTypeVersion.DiscardUnknown(m)
  11421. }
  11422. var xxx_messageInfo_StoredInfoTypeVersion proto.InternalMessageInfo
  11423. func (m *StoredInfoTypeVersion) GetConfig() *StoredInfoTypeConfig {
  11424. if m != nil {
  11425. return m.Config
  11426. }
  11427. return nil
  11428. }
  11429. func (m *StoredInfoTypeVersion) GetCreateTime() *timestamp.Timestamp {
  11430. if m != nil {
  11431. return m.CreateTime
  11432. }
  11433. return nil
  11434. }
  11435. func (m *StoredInfoTypeVersion) GetState() StoredInfoTypeState {
  11436. if m != nil {
  11437. return m.State
  11438. }
  11439. return StoredInfoTypeState_STORED_INFO_TYPE_STATE_UNSPECIFIED
  11440. }
  11441. func (m *StoredInfoTypeVersion) GetErrors() []*Error {
  11442. if m != nil {
  11443. return m.Errors
  11444. }
  11445. return nil
  11446. }
  11447. // StoredInfoType resource message that contains information about the current
  11448. // version and any pending updates.
  11449. type StoredInfoType struct {
  11450. // Resource name.
  11451. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  11452. // Current version of the stored info type.
  11453. CurrentVersion *StoredInfoTypeVersion `protobuf:"bytes,2,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty"`
  11454. // Pending versions of the stored info type. Empty if no versions are
  11455. // pending.
  11456. PendingVersions []*StoredInfoTypeVersion `protobuf:"bytes,3,rep,name=pending_versions,json=pendingVersions,proto3" json:"pending_versions,omitempty"`
  11457. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  11458. XXX_unrecognized []byte `json:"-"`
  11459. XXX_sizecache int32 `json:"-"`
  11460. }
  11461. func (m *StoredInfoType) Reset() { *m = StoredInfoType{} }
  11462. func (m *StoredInfoType) String() string { return proto.CompactTextString(m) }
  11463. func (*StoredInfoType) ProtoMessage() {}
  11464. func (*StoredInfoType) Descriptor() ([]byte, []int) {
  11465. return fileDescriptor_dlp_9184f835f60c3220, []int{102}
  11466. }
  11467. func (m *StoredInfoType) XXX_Unmarshal(b []byte) error {
  11468. return xxx_messageInfo_StoredInfoType.Unmarshal(m, b)
  11469. }
  11470. func (m *StoredInfoType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  11471. return xxx_messageInfo_StoredInfoType.Marshal(b, m, deterministic)
  11472. }
  11473. func (dst *StoredInfoType) XXX_Merge(src proto.Message) {
  11474. xxx_messageInfo_StoredInfoType.Merge(dst, src)
  11475. }
  11476. func (m *StoredInfoType) XXX_Size() int {
  11477. return xxx_messageInfo_StoredInfoType.Size(m)
  11478. }
  11479. func (m *StoredInfoType) XXX_DiscardUnknown() {
  11480. xxx_messageInfo_StoredInfoType.DiscardUnknown(m)
  11481. }
  11482. var xxx_messageInfo_StoredInfoType proto.InternalMessageInfo
  11483. func (m *StoredInfoType) GetName() string {
  11484. if m != nil {
  11485. return m.Name
  11486. }
  11487. return ""
  11488. }
  11489. func (m *StoredInfoType) GetCurrentVersion() *StoredInfoTypeVersion {
  11490. if m != nil {
  11491. return m.CurrentVersion
  11492. }
  11493. return nil
  11494. }
  11495. func (m *StoredInfoType) GetPendingVersions() []*StoredInfoTypeVersion {
  11496. if m != nil {
  11497. return m.PendingVersions
  11498. }
  11499. return nil
  11500. }
  11501. // Request message for CreateStoredInfoType.
  11502. type CreateStoredInfoTypeRequest struct {
  11503. // The parent resource name, for example projects/my-project-id or
  11504. // organizations/my-org-id.
  11505. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  11506. // Configuration of the storedInfoType to create.
  11507. Config *StoredInfoTypeConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
  11508. // The storedInfoType ID can contain uppercase and lowercase letters,
  11509. // numbers, and hyphens; that is, it must match the regular
  11510. // expression: `[a-zA-Z\\d-]+`. The maximum length is 100
  11511. // characters. Can be empty to allow the system to generate one.
  11512. StoredInfoTypeId string `protobuf:"bytes,3,opt,name=stored_info_type_id,json=storedInfoTypeId,proto3" json:"stored_info_type_id,omitempty"`
  11513. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  11514. XXX_unrecognized []byte `json:"-"`
  11515. XXX_sizecache int32 `json:"-"`
  11516. }
  11517. func (m *CreateStoredInfoTypeRequest) Reset() { *m = CreateStoredInfoTypeRequest{} }
  11518. func (m *CreateStoredInfoTypeRequest) String() string { return proto.CompactTextString(m) }
  11519. func (*CreateStoredInfoTypeRequest) ProtoMessage() {}
  11520. func (*CreateStoredInfoTypeRequest) Descriptor() ([]byte, []int) {
  11521. return fileDescriptor_dlp_9184f835f60c3220, []int{103}
  11522. }
  11523. func (m *CreateStoredInfoTypeRequest) XXX_Unmarshal(b []byte) error {
  11524. return xxx_messageInfo_CreateStoredInfoTypeRequest.Unmarshal(m, b)
  11525. }
  11526. func (m *CreateStoredInfoTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  11527. return xxx_messageInfo_CreateStoredInfoTypeRequest.Marshal(b, m, deterministic)
  11528. }
  11529. func (dst *CreateStoredInfoTypeRequest) XXX_Merge(src proto.Message) {
  11530. xxx_messageInfo_CreateStoredInfoTypeRequest.Merge(dst, src)
  11531. }
  11532. func (m *CreateStoredInfoTypeRequest) XXX_Size() int {
  11533. return xxx_messageInfo_CreateStoredInfoTypeRequest.Size(m)
  11534. }
  11535. func (m *CreateStoredInfoTypeRequest) XXX_DiscardUnknown() {
  11536. xxx_messageInfo_CreateStoredInfoTypeRequest.DiscardUnknown(m)
  11537. }
  11538. var xxx_messageInfo_CreateStoredInfoTypeRequest proto.InternalMessageInfo
  11539. func (m *CreateStoredInfoTypeRequest) GetParent() string {
  11540. if m != nil {
  11541. return m.Parent
  11542. }
  11543. return ""
  11544. }
  11545. func (m *CreateStoredInfoTypeRequest) GetConfig() *StoredInfoTypeConfig {
  11546. if m != nil {
  11547. return m.Config
  11548. }
  11549. return nil
  11550. }
  11551. func (m *CreateStoredInfoTypeRequest) GetStoredInfoTypeId() string {
  11552. if m != nil {
  11553. return m.StoredInfoTypeId
  11554. }
  11555. return ""
  11556. }
  11557. // Request message for UpdateStoredInfoType.
  11558. type UpdateStoredInfoTypeRequest struct {
  11559. // Resource name of organization and storedInfoType to be updated, for
  11560. // example `organizations/433245324/storedInfoTypes/432452342` or
  11561. // projects/project-id/storedInfoTypes/432452342.
  11562. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  11563. // Updated configuration for the storedInfoType. If not provided, a new
  11564. // version of the storedInfoType will be created with the existing
  11565. // configuration.
  11566. Config *StoredInfoTypeConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
  11567. // Mask to control which fields get updated.
  11568. UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
  11569. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  11570. XXX_unrecognized []byte `json:"-"`
  11571. XXX_sizecache int32 `json:"-"`
  11572. }
  11573. func (m *UpdateStoredInfoTypeRequest) Reset() { *m = UpdateStoredInfoTypeRequest{} }
  11574. func (m *UpdateStoredInfoTypeRequest) String() string { return proto.CompactTextString(m) }
  11575. func (*UpdateStoredInfoTypeRequest) ProtoMessage() {}
  11576. func (*UpdateStoredInfoTypeRequest) Descriptor() ([]byte, []int) {
  11577. return fileDescriptor_dlp_9184f835f60c3220, []int{104}
  11578. }
  11579. func (m *UpdateStoredInfoTypeRequest) XXX_Unmarshal(b []byte) error {
  11580. return xxx_messageInfo_UpdateStoredInfoTypeRequest.Unmarshal(m, b)
  11581. }
  11582. func (m *UpdateStoredInfoTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  11583. return xxx_messageInfo_UpdateStoredInfoTypeRequest.Marshal(b, m, deterministic)
  11584. }
  11585. func (dst *UpdateStoredInfoTypeRequest) XXX_Merge(src proto.Message) {
  11586. xxx_messageInfo_UpdateStoredInfoTypeRequest.Merge(dst, src)
  11587. }
  11588. func (m *UpdateStoredInfoTypeRequest) XXX_Size() int {
  11589. return xxx_messageInfo_UpdateStoredInfoTypeRequest.Size(m)
  11590. }
  11591. func (m *UpdateStoredInfoTypeRequest) XXX_DiscardUnknown() {
  11592. xxx_messageInfo_UpdateStoredInfoTypeRequest.DiscardUnknown(m)
  11593. }
  11594. var xxx_messageInfo_UpdateStoredInfoTypeRequest proto.InternalMessageInfo
  11595. func (m *UpdateStoredInfoTypeRequest) GetName() string {
  11596. if m != nil {
  11597. return m.Name
  11598. }
  11599. return ""
  11600. }
  11601. func (m *UpdateStoredInfoTypeRequest) GetConfig() *StoredInfoTypeConfig {
  11602. if m != nil {
  11603. return m.Config
  11604. }
  11605. return nil
  11606. }
  11607. func (m *UpdateStoredInfoTypeRequest) GetUpdateMask() *field_mask.FieldMask {
  11608. if m != nil {
  11609. return m.UpdateMask
  11610. }
  11611. return nil
  11612. }
  11613. // Request message for GetStoredInfoType.
  11614. type GetStoredInfoTypeRequest struct {
  11615. // Resource name of the organization and storedInfoType to be read, for
  11616. // example `organizations/433245324/storedInfoTypes/432452342` or
  11617. // projects/project-id/storedInfoTypes/432452342.
  11618. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  11619. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  11620. XXX_unrecognized []byte `json:"-"`
  11621. XXX_sizecache int32 `json:"-"`
  11622. }
  11623. func (m *GetStoredInfoTypeRequest) Reset() { *m = GetStoredInfoTypeRequest{} }
  11624. func (m *GetStoredInfoTypeRequest) String() string { return proto.CompactTextString(m) }
  11625. func (*GetStoredInfoTypeRequest) ProtoMessage() {}
  11626. func (*GetStoredInfoTypeRequest) Descriptor() ([]byte, []int) {
  11627. return fileDescriptor_dlp_9184f835f60c3220, []int{105}
  11628. }
  11629. func (m *GetStoredInfoTypeRequest) XXX_Unmarshal(b []byte) error {
  11630. return xxx_messageInfo_GetStoredInfoTypeRequest.Unmarshal(m, b)
  11631. }
  11632. func (m *GetStoredInfoTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  11633. return xxx_messageInfo_GetStoredInfoTypeRequest.Marshal(b, m, deterministic)
  11634. }
  11635. func (dst *GetStoredInfoTypeRequest) XXX_Merge(src proto.Message) {
  11636. xxx_messageInfo_GetStoredInfoTypeRequest.Merge(dst, src)
  11637. }
  11638. func (m *GetStoredInfoTypeRequest) XXX_Size() int {
  11639. return xxx_messageInfo_GetStoredInfoTypeRequest.Size(m)
  11640. }
  11641. func (m *GetStoredInfoTypeRequest) XXX_DiscardUnknown() {
  11642. xxx_messageInfo_GetStoredInfoTypeRequest.DiscardUnknown(m)
  11643. }
  11644. var xxx_messageInfo_GetStoredInfoTypeRequest proto.InternalMessageInfo
  11645. func (m *GetStoredInfoTypeRequest) GetName() string {
  11646. if m != nil {
  11647. return m.Name
  11648. }
  11649. return ""
  11650. }
  11651. // Request message for ListStoredInfoTypes.
  11652. type ListStoredInfoTypesRequest struct {
  11653. // The parent resource name, for example projects/my-project-id or
  11654. // organizations/my-org-id.
  11655. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  11656. // Optional page token to continue retrieval. Comes from previous call
  11657. // to `ListStoredInfoTypes`.
  11658. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  11659. // Optional size of the page, can be limited by server. If zero server returns
  11660. // a page of max size 100.
  11661. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  11662. // Optional comma separated list of fields to order by,
  11663. // followed by `asc` or `desc` postfix. This list is case-insensitive,
  11664. // default sorting order is ascending, redundant space characters are
  11665. // insignificant.
  11666. //
  11667. // Example: `name asc, display_name, create_time desc`
  11668. //
  11669. // Supported fields are:
  11670. //
  11671. // - `create_time`: corresponds to time the most recent version of the
  11672. // resource was created.
  11673. // - `state`: corresponds to the state of the resource.
  11674. // - `name`: corresponds to resource name.
  11675. // - `display_name`: corresponds to info type's display name.
  11676. OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
  11677. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  11678. XXX_unrecognized []byte `json:"-"`
  11679. XXX_sizecache int32 `json:"-"`
  11680. }
  11681. func (m *ListStoredInfoTypesRequest) Reset() { *m = ListStoredInfoTypesRequest{} }
  11682. func (m *ListStoredInfoTypesRequest) String() string { return proto.CompactTextString(m) }
  11683. func (*ListStoredInfoTypesRequest) ProtoMessage() {}
  11684. func (*ListStoredInfoTypesRequest) Descriptor() ([]byte, []int) {
  11685. return fileDescriptor_dlp_9184f835f60c3220, []int{106}
  11686. }
  11687. func (m *ListStoredInfoTypesRequest) XXX_Unmarshal(b []byte) error {
  11688. return xxx_messageInfo_ListStoredInfoTypesRequest.Unmarshal(m, b)
  11689. }
  11690. func (m *ListStoredInfoTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  11691. return xxx_messageInfo_ListStoredInfoTypesRequest.Marshal(b, m, deterministic)
  11692. }
  11693. func (dst *ListStoredInfoTypesRequest) XXX_Merge(src proto.Message) {
  11694. xxx_messageInfo_ListStoredInfoTypesRequest.Merge(dst, src)
  11695. }
  11696. func (m *ListStoredInfoTypesRequest) XXX_Size() int {
  11697. return xxx_messageInfo_ListStoredInfoTypesRequest.Size(m)
  11698. }
  11699. func (m *ListStoredInfoTypesRequest) XXX_DiscardUnknown() {
  11700. xxx_messageInfo_ListStoredInfoTypesRequest.DiscardUnknown(m)
  11701. }
  11702. var xxx_messageInfo_ListStoredInfoTypesRequest proto.InternalMessageInfo
  11703. func (m *ListStoredInfoTypesRequest) GetParent() string {
  11704. if m != nil {
  11705. return m.Parent
  11706. }
  11707. return ""
  11708. }
  11709. func (m *ListStoredInfoTypesRequest) GetPageToken() string {
  11710. if m != nil {
  11711. return m.PageToken
  11712. }
  11713. return ""
  11714. }
  11715. func (m *ListStoredInfoTypesRequest) GetPageSize() int32 {
  11716. if m != nil {
  11717. return m.PageSize
  11718. }
  11719. return 0
  11720. }
  11721. func (m *ListStoredInfoTypesRequest) GetOrderBy() string {
  11722. if m != nil {
  11723. return m.OrderBy
  11724. }
  11725. return ""
  11726. }
  11727. // Response message for ListStoredInfoTypes.
  11728. type ListStoredInfoTypesResponse struct {
  11729. // List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
  11730. StoredInfoTypes []*StoredInfoType `protobuf:"bytes,1,rep,name=stored_info_types,json=storedInfoTypes,proto3" json:"stored_info_types,omitempty"`
  11731. // If the next page is available then the next page token to be used
  11732. // in following ListStoredInfoTypes request.
  11733. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  11734. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  11735. XXX_unrecognized []byte `json:"-"`
  11736. XXX_sizecache int32 `json:"-"`
  11737. }
  11738. func (m *ListStoredInfoTypesResponse) Reset() { *m = ListStoredInfoTypesResponse{} }
  11739. func (m *ListStoredInfoTypesResponse) String() string { return proto.CompactTextString(m) }
  11740. func (*ListStoredInfoTypesResponse) ProtoMessage() {}
  11741. func (*ListStoredInfoTypesResponse) Descriptor() ([]byte, []int) {
  11742. return fileDescriptor_dlp_9184f835f60c3220, []int{107}
  11743. }
  11744. func (m *ListStoredInfoTypesResponse) XXX_Unmarshal(b []byte) error {
  11745. return xxx_messageInfo_ListStoredInfoTypesResponse.Unmarshal(m, b)
  11746. }
  11747. func (m *ListStoredInfoTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  11748. return xxx_messageInfo_ListStoredInfoTypesResponse.Marshal(b, m, deterministic)
  11749. }
  11750. func (dst *ListStoredInfoTypesResponse) XXX_Merge(src proto.Message) {
  11751. xxx_messageInfo_ListStoredInfoTypesResponse.Merge(dst, src)
  11752. }
  11753. func (m *ListStoredInfoTypesResponse) XXX_Size() int {
  11754. return xxx_messageInfo_ListStoredInfoTypesResponse.Size(m)
  11755. }
  11756. func (m *ListStoredInfoTypesResponse) XXX_DiscardUnknown() {
  11757. xxx_messageInfo_ListStoredInfoTypesResponse.DiscardUnknown(m)
  11758. }
  11759. var xxx_messageInfo_ListStoredInfoTypesResponse proto.InternalMessageInfo
  11760. func (m *ListStoredInfoTypesResponse) GetStoredInfoTypes() []*StoredInfoType {
  11761. if m != nil {
  11762. return m.StoredInfoTypes
  11763. }
  11764. return nil
  11765. }
  11766. func (m *ListStoredInfoTypesResponse) GetNextPageToken() string {
  11767. if m != nil {
  11768. return m.NextPageToken
  11769. }
  11770. return ""
  11771. }
  11772. // Request message for DeleteStoredInfoType.
  11773. type DeleteStoredInfoTypeRequest struct {
  11774. // Resource name of the organization and storedInfoType to be deleted, for
  11775. // example `organizations/433245324/storedInfoTypes/432452342` or
  11776. // projects/project-id/storedInfoTypes/432452342.
  11777. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  11778. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  11779. XXX_unrecognized []byte `json:"-"`
  11780. XXX_sizecache int32 `json:"-"`
  11781. }
  11782. func (m *DeleteStoredInfoTypeRequest) Reset() { *m = DeleteStoredInfoTypeRequest{} }
  11783. func (m *DeleteStoredInfoTypeRequest) String() string { return proto.CompactTextString(m) }
  11784. func (*DeleteStoredInfoTypeRequest) ProtoMessage() {}
  11785. func (*DeleteStoredInfoTypeRequest) Descriptor() ([]byte, []int) {
  11786. return fileDescriptor_dlp_9184f835f60c3220, []int{108}
  11787. }
  11788. func (m *DeleteStoredInfoTypeRequest) XXX_Unmarshal(b []byte) error {
  11789. return xxx_messageInfo_DeleteStoredInfoTypeRequest.Unmarshal(m, b)
  11790. }
  11791. func (m *DeleteStoredInfoTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  11792. return xxx_messageInfo_DeleteStoredInfoTypeRequest.Marshal(b, m, deterministic)
  11793. }
  11794. func (dst *DeleteStoredInfoTypeRequest) XXX_Merge(src proto.Message) {
  11795. xxx_messageInfo_DeleteStoredInfoTypeRequest.Merge(dst, src)
  11796. }
  11797. func (m *DeleteStoredInfoTypeRequest) XXX_Size() int {
  11798. return xxx_messageInfo_DeleteStoredInfoTypeRequest.Size(m)
  11799. }
  11800. func (m *DeleteStoredInfoTypeRequest) XXX_DiscardUnknown() {
  11801. xxx_messageInfo_DeleteStoredInfoTypeRequest.DiscardUnknown(m)
  11802. }
  11803. var xxx_messageInfo_DeleteStoredInfoTypeRequest proto.InternalMessageInfo
  11804. func (m *DeleteStoredInfoTypeRequest) GetName() string {
  11805. if m != nil {
  11806. return m.Name
  11807. }
  11808. return ""
  11809. }
  11810. func init() {
  11811. proto.RegisterType((*ExcludeInfoTypes)(nil), "google.privacy.dlp.v2.ExcludeInfoTypes")
  11812. proto.RegisterType((*ExclusionRule)(nil), "google.privacy.dlp.v2.ExclusionRule")
  11813. proto.RegisterType((*InspectionRule)(nil), "google.privacy.dlp.v2.InspectionRule")
  11814. proto.RegisterType((*InspectionRuleSet)(nil), "google.privacy.dlp.v2.InspectionRuleSet")
  11815. proto.RegisterType((*InspectConfig)(nil), "google.privacy.dlp.v2.InspectConfig")
  11816. proto.RegisterType((*InspectConfig_FindingLimits)(nil), "google.privacy.dlp.v2.InspectConfig.FindingLimits")
  11817. proto.RegisterType((*InspectConfig_FindingLimits_InfoTypeLimit)(nil), "google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit")
  11818. proto.RegisterType((*ByteContentItem)(nil), "google.privacy.dlp.v2.ByteContentItem")
  11819. proto.RegisterType((*ContentItem)(nil), "google.privacy.dlp.v2.ContentItem")
  11820. proto.RegisterType((*Table)(nil), "google.privacy.dlp.v2.Table")
  11821. proto.RegisterType((*Table_Row)(nil), "google.privacy.dlp.v2.Table.Row")
  11822. proto.RegisterType((*InspectResult)(nil), "google.privacy.dlp.v2.InspectResult")
  11823. proto.RegisterType((*Finding)(nil), "google.privacy.dlp.v2.Finding")
  11824. proto.RegisterType((*Location)(nil), "google.privacy.dlp.v2.Location")
  11825. proto.RegisterType((*ContentLocation)(nil), "google.privacy.dlp.v2.ContentLocation")
  11826. proto.RegisterType((*DocumentLocation)(nil), "google.privacy.dlp.v2.DocumentLocation")
  11827. proto.RegisterType((*RecordLocation)(nil), "google.privacy.dlp.v2.RecordLocation")
  11828. proto.RegisterType((*TableLocation)(nil), "google.privacy.dlp.v2.TableLocation")
  11829. proto.RegisterType((*Range)(nil), "google.privacy.dlp.v2.Range")
  11830. proto.RegisterType((*ImageLocation)(nil), "google.privacy.dlp.v2.ImageLocation")
  11831. proto.RegisterType((*BoundingBox)(nil), "google.privacy.dlp.v2.BoundingBox")
  11832. proto.RegisterType((*RedactImageRequest)(nil), "google.privacy.dlp.v2.RedactImageRequest")
  11833. proto.RegisterType((*RedactImageRequest_ImageRedactionConfig)(nil), "google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig")
  11834. proto.RegisterType((*Color)(nil), "google.privacy.dlp.v2.Color")
  11835. proto.RegisterType((*RedactImageResponse)(nil), "google.privacy.dlp.v2.RedactImageResponse")
  11836. proto.RegisterType((*DeidentifyContentRequest)(nil), "google.privacy.dlp.v2.DeidentifyContentRequest")
  11837. proto.RegisterType((*DeidentifyContentResponse)(nil), "google.privacy.dlp.v2.DeidentifyContentResponse")
  11838. proto.RegisterType((*ReidentifyContentRequest)(nil), "google.privacy.dlp.v2.ReidentifyContentRequest")
  11839. proto.RegisterType((*ReidentifyContentResponse)(nil), "google.privacy.dlp.v2.ReidentifyContentResponse")
  11840. proto.RegisterType((*InspectContentRequest)(nil), "google.privacy.dlp.v2.InspectContentRequest")
  11841. proto.RegisterType((*InspectContentResponse)(nil), "google.privacy.dlp.v2.InspectContentResponse")
  11842. proto.RegisterType((*OutputStorageConfig)(nil), "google.privacy.dlp.v2.OutputStorageConfig")
  11843. proto.RegisterType((*InfoTypeStats)(nil), "google.privacy.dlp.v2.InfoTypeStats")
  11844. proto.RegisterType((*InspectDataSourceDetails)(nil), "google.privacy.dlp.v2.InspectDataSourceDetails")
  11845. proto.RegisterType((*InspectDataSourceDetails_RequestedOptions)(nil), "google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions")
  11846. proto.RegisterType((*InspectDataSourceDetails_Result)(nil), "google.privacy.dlp.v2.InspectDataSourceDetails.Result")
  11847. proto.RegisterType((*InfoTypeDescription)(nil), "google.privacy.dlp.v2.InfoTypeDescription")
  11848. proto.RegisterType((*ListInfoTypesRequest)(nil), "google.privacy.dlp.v2.ListInfoTypesRequest")
  11849. proto.RegisterType((*ListInfoTypesResponse)(nil), "google.privacy.dlp.v2.ListInfoTypesResponse")
  11850. proto.RegisterType((*RiskAnalysisJobConfig)(nil), "google.privacy.dlp.v2.RiskAnalysisJobConfig")
  11851. proto.RegisterType((*QuasiId)(nil), "google.privacy.dlp.v2.QuasiId")
  11852. proto.RegisterType((*StatisticalTable)(nil), "google.privacy.dlp.v2.StatisticalTable")
  11853. proto.RegisterType((*StatisticalTable_QuasiIdentifierField)(nil), "google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField")
  11854. proto.RegisterType((*PrivacyMetric)(nil), "google.privacy.dlp.v2.PrivacyMetric")
  11855. proto.RegisterType((*PrivacyMetric_NumericalStatsConfig)(nil), "google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig")
  11856. proto.RegisterType((*PrivacyMetric_CategoricalStatsConfig)(nil), "google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig")
  11857. proto.RegisterType((*PrivacyMetric_KAnonymityConfig)(nil), "google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig")
  11858. proto.RegisterType((*PrivacyMetric_LDiversityConfig)(nil), "google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig")
  11859. proto.RegisterType((*PrivacyMetric_KMapEstimationConfig)(nil), "google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig")
  11860. proto.RegisterType((*PrivacyMetric_KMapEstimationConfig_TaggedField)(nil), "google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField")
  11861. proto.RegisterType((*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable)(nil), "google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable")
  11862. proto.RegisterType((*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField)(nil), "google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField")
  11863. proto.RegisterType((*PrivacyMetric_DeltaPresenceEstimationConfig)(nil), "google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig")
  11864. proto.RegisterType((*AnalyzeDataSourceRiskDetails)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails")
  11865. proto.RegisterType((*AnalyzeDataSourceRiskDetails_NumericalStatsResult)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult")
  11866. proto.RegisterType((*AnalyzeDataSourceRiskDetails_CategoricalStatsResult)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult")
  11867. proto.RegisterType((*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket")
  11868. proto.RegisterType((*AnalyzeDataSourceRiskDetails_KAnonymityResult)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult")
  11869. proto.RegisterType((*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass")
  11870. proto.RegisterType((*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket")
  11871. proto.RegisterType((*AnalyzeDataSourceRiskDetails_LDiversityResult)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult")
  11872. proto.RegisterType((*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass")
  11873. proto.RegisterType((*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket")
  11874. proto.RegisterType((*AnalyzeDataSourceRiskDetails_KMapEstimationResult)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult")
  11875. proto.RegisterType((*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues")
  11876. proto.RegisterType((*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket")
  11877. proto.RegisterType((*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult")
  11878. proto.RegisterType((*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues")
  11879. proto.RegisterType((*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket")
  11880. proto.RegisterType((*ValueFrequency)(nil), "google.privacy.dlp.v2.ValueFrequency")
  11881. proto.RegisterType((*Value)(nil), "google.privacy.dlp.v2.Value")
  11882. proto.RegisterType((*QuoteInfo)(nil), "google.privacy.dlp.v2.QuoteInfo")
  11883. proto.RegisterType((*DateTime)(nil), "google.privacy.dlp.v2.DateTime")
  11884. proto.RegisterType((*DateTime_TimeZone)(nil), "google.privacy.dlp.v2.DateTime.TimeZone")
  11885. proto.RegisterType((*DeidentifyConfig)(nil), "google.privacy.dlp.v2.DeidentifyConfig")
  11886. proto.RegisterType((*PrimitiveTransformation)(nil), "google.privacy.dlp.v2.PrimitiveTransformation")
  11887. proto.RegisterType((*TimePartConfig)(nil), "google.privacy.dlp.v2.TimePartConfig")
  11888. proto.RegisterType((*CryptoHashConfig)(nil), "google.privacy.dlp.v2.CryptoHashConfig")
  11889. proto.RegisterType((*ReplaceValueConfig)(nil), "google.privacy.dlp.v2.ReplaceValueConfig")
  11890. proto.RegisterType((*ReplaceWithInfoTypeConfig)(nil), "google.privacy.dlp.v2.ReplaceWithInfoTypeConfig")
  11891. proto.RegisterType((*RedactConfig)(nil), "google.privacy.dlp.v2.RedactConfig")
  11892. proto.RegisterType((*CharsToIgnore)(nil), "google.privacy.dlp.v2.CharsToIgnore")
  11893. proto.RegisterType((*CharacterMaskConfig)(nil), "google.privacy.dlp.v2.CharacterMaskConfig")
  11894. proto.RegisterType((*FixedSizeBucketingConfig)(nil), "google.privacy.dlp.v2.FixedSizeBucketingConfig")
  11895. proto.RegisterType((*BucketingConfig)(nil), "google.privacy.dlp.v2.BucketingConfig")
  11896. proto.RegisterType((*BucketingConfig_Bucket)(nil), "google.privacy.dlp.v2.BucketingConfig.Bucket")
  11897. proto.RegisterType((*CryptoReplaceFfxFpeConfig)(nil), "google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig")
  11898. proto.RegisterType((*CryptoKey)(nil), "google.privacy.dlp.v2.CryptoKey")
  11899. proto.RegisterType((*TransientCryptoKey)(nil), "google.privacy.dlp.v2.TransientCryptoKey")
  11900. proto.RegisterType((*UnwrappedCryptoKey)(nil), "google.privacy.dlp.v2.UnwrappedCryptoKey")
  11901. proto.RegisterType((*KmsWrappedCryptoKey)(nil), "google.privacy.dlp.v2.KmsWrappedCryptoKey")
  11902. proto.RegisterType((*DateShiftConfig)(nil), "google.privacy.dlp.v2.DateShiftConfig")
  11903. proto.RegisterType((*InfoTypeTransformations)(nil), "google.privacy.dlp.v2.InfoTypeTransformations")
  11904. proto.RegisterType((*InfoTypeTransformations_InfoTypeTransformation)(nil), "google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation")
  11905. proto.RegisterType((*FieldTransformation)(nil), "google.privacy.dlp.v2.FieldTransformation")
  11906. proto.RegisterType((*RecordTransformations)(nil), "google.privacy.dlp.v2.RecordTransformations")
  11907. proto.RegisterType((*RecordSuppression)(nil), "google.privacy.dlp.v2.RecordSuppression")
  11908. proto.RegisterType((*RecordCondition)(nil), "google.privacy.dlp.v2.RecordCondition")
  11909. proto.RegisterType((*RecordCondition_Condition)(nil), "google.privacy.dlp.v2.RecordCondition.Condition")
  11910. proto.RegisterType((*RecordCondition_Conditions)(nil), "google.privacy.dlp.v2.RecordCondition.Conditions")
  11911. proto.RegisterType((*RecordCondition_Expressions)(nil), "google.privacy.dlp.v2.RecordCondition.Expressions")
  11912. proto.RegisterType((*TransformationOverview)(nil), "google.privacy.dlp.v2.TransformationOverview")
  11913. proto.RegisterType((*TransformationSummary)(nil), "google.privacy.dlp.v2.TransformationSummary")
  11914. proto.RegisterType((*TransformationSummary_SummaryResult)(nil), "google.privacy.dlp.v2.TransformationSummary.SummaryResult")
  11915. proto.RegisterType((*Schedule)(nil), "google.privacy.dlp.v2.Schedule")
  11916. proto.RegisterType((*InspectTemplate)(nil), "google.privacy.dlp.v2.InspectTemplate")
  11917. proto.RegisterType((*DeidentifyTemplate)(nil), "google.privacy.dlp.v2.DeidentifyTemplate")
  11918. proto.RegisterType((*Error)(nil), "google.privacy.dlp.v2.Error")
  11919. proto.RegisterType((*JobTrigger)(nil), "google.privacy.dlp.v2.JobTrigger")
  11920. proto.RegisterType((*JobTrigger_Trigger)(nil), "google.privacy.dlp.v2.JobTrigger.Trigger")
  11921. proto.RegisterType((*Action)(nil), "google.privacy.dlp.v2.Action")
  11922. proto.RegisterType((*Action_SaveFindings)(nil), "google.privacy.dlp.v2.Action.SaveFindings")
  11923. proto.RegisterType((*Action_PublishToPubSub)(nil), "google.privacy.dlp.v2.Action.PublishToPubSub")
  11924. proto.RegisterType((*Action_PublishSummaryToCscc)(nil), "google.privacy.dlp.v2.Action.PublishSummaryToCscc")
  11925. proto.RegisterType((*Action_JobNotificationEmails)(nil), "google.privacy.dlp.v2.Action.JobNotificationEmails")
  11926. proto.RegisterType((*CreateInspectTemplateRequest)(nil), "google.privacy.dlp.v2.CreateInspectTemplateRequest")
  11927. proto.RegisterType((*UpdateInspectTemplateRequest)(nil), "google.privacy.dlp.v2.UpdateInspectTemplateRequest")
  11928. proto.RegisterType((*GetInspectTemplateRequest)(nil), "google.privacy.dlp.v2.GetInspectTemplateRequest")
  11929. proto.RegisterType((*ListInspectTemplatesRequest)(nil), "google.privacy.dlp.v2.ListInspectTemplatesRequest")
  11930. proto.RegisterType((*ListInspectTemplatesResponse)(nil), "google.privacy.dlp.v2.ListInspectTemplatesResponse")
  11931. proto.RegisterType((*DeleteInspectTemplateRequest)(nil), "google.privacy.dlp.v2.DeleteInspectTemplateRequest")
  11932. proto.RegisterType((*CreateJobTriggerRequest)(nil), "google.privacy.dlp.v2.CreateJobTriggerRequest")
  11933. proto.RegisterType((*ActivateJobTriggerRequest)(nil), "google.privacy.dlp.v2.ActivateJobTriggerRequest")
  11934. proto.RegisterType((*UpdateJobTriggerRequest)(nil), "google.privacy.dlp.v2.UpdateJobTriggerRequest")
  11935. proto.RegisterType((*GetJobTriggerRequest)(nil), "google.privacy.dlp.v2.GetJobTriggerRequest")
  11936. proto.RegisterType((*CreateDlpJobRequest)(nil), "google.privacy.dlp.v2.CreateDlpJobRequest")
  11937. proto.RegisterType((*ListJobTriggersRequest)(nil), "google.privacy.dlp.v2.ListJobTriggersRequest")
  11938. proto.RegisterType((*ListJobTriggersResponse)(nil), "google.privacy.dlp.v2.ListJobTriggersResponse")
  11939. proto.RegisterType((*DeleteJobTriggerRequest)(nil), "google.privacy.dlp.v2.DeleteJobTriggerRequest")
  11940. proto.RegisterType((*InspectJobConfig)(nil), "google.privacy.dlp.v2.InspectJobConfig")
  11941. proto.RegisterType((*DlpJob)(nil), "google.privacy.dlp.v2.DlpJob")
  11942. proto.RegisterType((*GetDlpJobRequest)(nil), "google.privacy.dlp.v2.GetDlpJobRequest")
  11943. proto.RegisterType((*ListDlpJobsRequest)(nil), "google.privacy.dlp.v2.ListDlpJobsRequest")
  11944. proto.RegisterType((*ListDlpJobsResponse)(nil), "google.privacy.dlp.v2.ListDlpJobsResponse")
  11945. proto.RegisterType((*CancelDlpJobRequest)(nil), "google.privacy.dlp.v2.CancelDlpJobRequest")
  11946. proto.RegisterType((*DeleteDlpJobRequest)(nil), "google.privacy.dlp.v2.DeleteDlpJobRequest")
  11947. proto.RegisterType((*CreateDeidentifyTemplateRequest)(nil), "google.privacy.dlp.v2.CreateDeidentifyTemplateRequest")
  11948. proto.RegisterType((*UpdateDeidentifyTemplateRequest)(nil), "google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest")
  11949. proto.RegisterType((*GetDeidentifyTemplateRequest)(nil), "google.privacy.dlp.v2.GetDeidentifyTemplateRequest")
  11950. proto.RegisterType((*ListDeidentifyTemplatesRequest)(nil), "google.privacy.dlp.v2.ListDeidentifyTemplatesRequest")
  11951. proto.RegisterType((*ListDeidentifyTemplatesResponse)(nil), "google.privacy.dlp.v2.ListDeidentifyTemplatesResponse")
  11952. proto.RegisterType((*DeleteDeidentifyTemplateRequest)(nil), "google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest")
  11953. proto.RegisterType((*LargeCustomDictionaryConfig)(nil), "google.privacy.dlp.v2.LargeCustomDictionaryConfig")
  11954. proto.RegisterType((*StoredInfoTypeConfig)(nil), "google.privacy.dlp.v2.StoredInfoTypeConfig")
  11955. proto.RegisterType((*StoredInfoTypeVersion)(nil), "google.privacy.dlp.v2.StoredInfoTypeVersion")
  11956. proto.RegisterType((*StoredInfoType)(nil), "google.privacy.dlp.v2.StoredInfoType")
  11957. proto.RegisterType((*CreateStoredInfoTypeRequest)(nil), "google.privacy.dlp.v2.CreateStoredInfoTypeRequest")
  11958. proto.RegisterType((*UpdateStoredInfoTypeRequest)(nil), "google.privacy.dlp.v2.UpdateStoredInfoTypeRequest")
  11959. proto.RegisterType((*GetStoredInfoTypeRequest)(nil), "google.privacy.dlp.v2.GetStoredInfoTypeRequest")
  11960. proto.RegisterType((*ListStoredInfoTypesRequest)(nil), "google.privacy.dlp.v2.ListStoredInfoTypesRequest")
  11961. proto.RegisterType((*ListStoredInfoTypesResponse)(nil), "google.privacy.dlp.v2.ListStoredInfoTypesResponse")
  11962. proto.RegisterType((*DeleteStoredInfoTypeRequest)(nil), "google.privacy.dlp.v2.DeleteStoredInfoTypeRequest")
  11963. proto.RegisterEnum("google.privacy.dlp.v2.ContentOption", ContentOption_name, ContentOption_value)
  11964. proto.RegisterEnum("google.privacy.dlp.v2.MatchingType", MatchingType_name, MatchingType_value)
  11965. proto.RegisterEnum("google.privacy.dlp.v2.InfoTypeSupportedBy", InfoTypeSupportedBy_name, InfoTypeSupportedBy_value)
  11966. proto.RegisterEnum("google.privacy.dlp.v2.RelationalOperator", RelationalOperator_name, RelationalOperator_value)
  11967. proto.RegisterEnum("google.privacy.dlp.v2.DlpJobType", DlpJobType_name, DlpJobType_value)
  11968. proto.RegisterEnum("google.privacy.dlp.v2.StoredInfoTypeState", StoredInfoTypeState_name, StoredInfoTypeState_value)
  11969. proto.RegisterEnum("google.privacy.dlp.v2.ByteContentItem_BytesType", ByteContentItem_BytesType_name, ByteContentItem_BytesType_value)
  11970. proto.RegisterEnum("google.privacy.dlp.v2.OutputStorageConfig_OutputSchema", OutputStorageConfig_OutputSchema_name, OutputStorageConfig_OutputSchema_value)
  11971. proto.RegisterEnum("google.privacy.dlp.v2.TimePartConfig_TimePart", TimePartConfig_TimePart_name, TimePartConfig_TimePart_value)
  11972. proto.RegisterEnum("google.privacy.dlp.v2.CharsToIgnore_CommonCharsToIgnore", CharsToIgnore_CommonCharsToIgnore_name, CharsToIgnore_CommonCharsToIgnore_value)
  11973. proto.RegisterEnum("google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet", CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet_name, CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet_value)
  11974. proto.RegisterEnum("google.privacy.dlp.v2.RecordCondition_Expressions_LogicalOperator", RecordCondition_Expressions_LogicalOperator_name, RecordCondition_Expressions_LogicalOperator_value)
  11975. proto.RegisterEnum("google.privacy.dlp.v2.TransformationSummary_TransformationResultCode", TransformationSummary_TransformationResultCode_name, TransformationSummary_TransformationResultCode_value)
  11976. proto.RegisterEnum("google.privacy.dlp.v2.JobTrigger_Status", JobTrigger_Status_name, JobTrigger_Status_value)
  11977. proto.RegisterEnum("google.privacy.dlp.v2.DlpJob_JobState", DlpJob_JobState_name, DlpJob_JobState_value)
  11978. }
  11979. // Reference imports to suppress errors if they are not otherwise used.
  11980. var _ context.Context
  11981. var _ grpc.ClientConn
  11982. // This is a compile-time assertion to ensure that this generated file
  11983. // is compatible with the grpc package it is being compiled against.
  11984. const _ = grpc.SupportPackageIsVersion4
  11985. // DlpServiceClient is the client API for DlpService service.
  11986. //
  11987. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  11988. type DlpServiceClient interface {
  11989. // Finds potentially sensitive info in content.
  11990. // This method has limits on input size, processing time, and output size.
  11991. //
  11992. // When no InfoTypes or CustomInfoTypes are specified in this request, the
  11993. // system will automatically choose what detectors to run. By default this may
  11994. // be all types, but may change over time as detectors are updated.
  11995. //
  11996. // For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
  11997. // and https://cloud.google.com/dlp/docs/inspecting-text,
  11998. InspectContent(ctx context.Context, in *InspectContentRequest, opts ...grpc.CallOption) (*InspectContentResponse, error)
  11999. // Redacts potentially sensitive info from an image.
  12000. // This method has limits on input size, processing time, and output size.
  12001. // See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
  12002. // learn more.
  12003. //
  12004. // When no InfoTypes or CustomInfoTypes are specified in this request, the
  12005. // system will automatically choose what detectors to run. By default this may
  12006. // be all types, but may change over time as detectors are updated.
  12007. RedactImage(ctx context.Context, in *RedactImageRequest, opts ...grpc.CallOption) (*RedactImageResponse, error)
  12008. // De-identifies potentially sensitive info from a ContentItem.
  12009. // This method has limits on input size and output size.
  12010. // See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
  12011. // learn more.
  12012. //
  12013. // When no InfoTypes or CustomInfoTypes are specified in this request, the
  12014. // system will automatically choose what detectors to run. By default this may
  12015. // be all types, but may change over time as detectors are updated.
  12016. DeidentifyContent(ctx context.Context, in *DeidentifyContentRequest, opts ...grpc.CallOption) (*DeidentifyContentResponse, error)
  12017. // Re-identifies content that has been de-identified.
  12018. // See
  12019. // https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
  12020. // to learn more.
  12021. ReidentifyContent(ctx context.Context, in *ReidentifyContentRequest, opts ...grpc.CallOption) (*ReidentifyContentResponse, error)
  12022. // Returns a list of the sensitive information types that the DLP API
  12023. // supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
  12024. // learn more.
  12025. ListInfoTypes(ctx context.Context, in *ListInfoTypesRequest, opts ...grpc.CallOption) (*ListInfoTypesResponse, error)
  12026. // Creates an InspectTemplate for re-using frequently used configuration
  12027. // for inspecting content, images, and storage.
  12028. // See https://cloud.google.com/dlp/docs/creating-templates to learn more.
  12029. CreateInspectTemplate(ctx context.Context, in *CreateInspectTemplateRequest, opts ...grpc.CallOption) (*InspectTemplate, error)
  12030. // Updates the InspectTemplate.
  12031. // See https://cloud.google.com/dlp/docs/creating-templates to learn more.
  12032. UpdateInspectTemplate(ctx context.Context, in *UpdateInspectTemplateRequest, opts ...grpc.CallOption) (*InspectTemplate, error)
  12033. // Gets an InspectTemplate.
  12034. // See https://cloud.google.com/dlp/docs/creating-templates to learn more.
  12035. GetInspectTemplate(ctx context.Context, in *GetInspectTemplateRequest, opts ...grpc.CallOption) (*InspectTemplate, error)
  12036. // Lists InspectTemplates.
  12037. // See https://cloud.google.com/dlp/docs/creating-templates to learn more.
  12038. ListInspectTemplates(ctx context.Context, in *ListInspectTemplatesRequest, opts ...grpc.CallOption) (*ListInspectTemplatesResponse, error)
  12039. // Deletes an InspectTemplate.
  12040. // See https://cloud.google.com/dlp/docs/creating-templates to learn more.
  12041. DeleteInspectTemplate(ctx context.Context, in *DeleteInspectTemplateRequest, opts ...grpc.CallOption) (*empty.Empty, error)
  12042. // Creates a DeidentifyTemplate for re-using frequently used configuration
  12043. // for de-identifying content, images, and storage.
  12044. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
  12045. // more.
  12046. CreateDeidentifyTemplate(ctx context.Context, in *CreateDeidentifyTemplateRequest, opts ...grpc.CallOption) (*DeidentifyTemplate, error)
  12047. // Updates the DeidentifyTemplate.
  12048. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
  12049. // more.
  12050. UpdateDeidentifyTemplate(ctx context.Context, in *UpdateDeidentifyTemplateRequest, opts ...grpc.CallOption) (*DeidentifyTemplate, error)
  12051. // Gets a DeidentifyTemplate.
  12052. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
  12053. // more.
  12054. GetDeidentifyTemplate(ctx context.Context, in *GetDeidentifyTemplateRequest, opts ...grpc.CallOption) (*DeidentifyTemplate, error)
  12055. // Lists DeidentifyTemplates.
  12056. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
  12057. // more.
  12058. ListDeidentifyTemplates(ctx context.Context, in *ListDeidentifyTemplatesRequest, opts ...grpc.CallOption) (*ListDeidentifyTemplatesResponse, error)
  12059. // Deletes a DeidentifyTemplate.
  12060. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
  12061. // more.
  12062. DeleteDeidentifyTemplate(ctx context.Context, in *DeleteDeidentifyTemplateRequest, opts ...grpc.CallOption) (*empty.Empty, error)
  12063. // Creates a job trigger to run DLP actions such as scanning storage for
  12064. // sensitive information on a set schedule.
  12065. // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
  12066. CreateJobTrigger(ctx context.Context, in *CreateJobTriggerRequest, opts ...grpc.CallOption) (*JobTrigger, error)
  12067. // Updates a job trigger.
  12068. // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
  12069. UpdateJobTrigger(ctx context.Context, in *UpdateJobTriggerRequest, opts ...grpc.CallOption) (*JobTrigger, error)
  12070. // Gets a job trigger.
  12071. // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
  12072. GetJobTrigger(ctx context.Context, in *GetJobTriggerRequest, opts ...grpc.CallOption) (*JobTrigger, error)
  12073. // Lists job triggers.
  12074. // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
  12075. ListJobTriggers(ctx context.Context, in *ListJobTriggersRequest, opts ...grpc.CallOption) (*ListJobTriggersResponse, error)
  12076. // Deletes a job trigger.
  12077. // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
  12078. DeleteJobTrigger(ctx context.Context, in *DeleteJobTriggerRequest, opts ...grpc.CallOption) (*empty.Empty, error)
  12079. // Activate a job trigger. Causes the immediate execute of a trigger
  12080. // instead of waiting on the trigger event to occur.
  12081. ActivateJobTrigger(ctx context.Context, in *ActivateJobTriggerRequest, opts ...grpc.CallOption) (*DlpJob, error)
  12082. // Creates a new job to inspect storage or calculate risk metrics.
  12083. // See https://cloud.google.com/dlp/docs/inspecting-storage and
  12084. // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
  12085. //
  12086. // When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
  12087. // system will automatically choose what detectors to run. By default this may
  12088. // be all types, but may change over time as detectors are updated.
  12089. CreateDlpJob(ctx context.Context, in *CreateDlpJobRequest, opts ...grpc.CallOption) (*DlpJob, error)
  12090. // Lists DlpJobs that match the specified filter in the request.
  12091. // See https://cloud.google.com/dlp/docs/inspecting-storage and
  12092. // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
  12093. ListDlpJobs(ctx context.Context, in *ListDlpJobsRequest, opts ...grpc.CallOption) (*ListDlpJobsResponse, error)
  12094. // Gets the latest state of a long-running DlpJob.
  12095. // See https://cloud.google.com/dlp/docs/inspecting-storage and
  12096. // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
  12097. GetDlpJob(ctx context.Context, in *GetDlpJobRequest, opts ...grpc.CallOption) (*DlpJob, error)
  12098. // Deletes a long-running DlpJob. This method indicates that the client is
  12099. // no longer interested in the DlpJob result. The job will be cancelled if
  12100. // possible.
  12101. // See https://cloud.google.com/dlp/docs/inspecting-storage and
  12102. // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
  12103. DeleteDlpJob(ctx context.Context, in *DeleteDlpJobRequest, opts ...grpc.CallOption) (*empty.Empty, error)
  12104. // Starts asynchronous cancellation on a long-running DlpJob. The server
  12105. // makes a best effort to cancel the DlpJob, but success is not
  12106. // guaranteed.
  12107. // See https://cloud.google.com/dlp/docs/inspecting-storage and
  12108. // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
  12109. CancelDlpJob(ctx context.Context, in *CancelDlpJobRequest, opts ...grpc.CallOption) (*empty.Empty, error)
  12110. // Creates a pre-built stored infoType to be used for inspection.
  12111. // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
  12112. // learn more.
  12113. CreateStoredInfoType(ctx context.Context, in *CreateStoredInfoTypeRequest, opts ...grpc.CallOption) (*StoredInfoType, error)
  12114. // Updates the stored infoType by creating a new version. The existing version
  12115. // will continue to be used until the new version is ready.
  12116. // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
  12117. // learn more.
  12118. UpdateStoredInfoType(ctx context.Context, in *UpdateStoredInfoTypeRequest, opts ...grpc.CallOption) (*StoredInfoType, error)
  12119. // Gets a stored infoType.
  12120. // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
  12121. // learn more.
  12122. GetStoredInfoType(ctx context.Context, in *GetStoredInfoTypeRequest, opts ...grpc.CallOption) (*StoredInfoType, error)
  12123. // Lists stored infoTypes.
  12124. // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
  12125. // learn more.
  12126. ListStoredInfoTypes(ctx context.Context, in *ListStoredInfoTypesRequest, opts ...grpc.CallOption) (*ListStoredInfoTypesResponse, error)
  12127. // Deletes a stored infoType.
  12128. // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
  12129. // learn more.
  12130. DeleteStoredInfoType(ctx context.Context, in *DeleteStoredInfoTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error)
  12131. }
  12132. type dlpServiceClient struct {
  12133. cc *grpc.ClientConn
  12134. }
  12135. func NewDlpServiceClient(cc *grpc.ClientConn) DlpServiceClient {
  12136. return &dlpServiceClient{cc}
  12137. }
  12138. func (c *dlpServiceClient) InspectContent(ctx context.Context, in *InspectContentRequest, opts ...grpc.CallOption) (*InspectContentResponse, error) {
  12139. out := new(InspectContentResponse)
  12140. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/InspectContent", in, out, opts...)
  12141. if err != nil {
  12142. return nil, err
  12143. }
  12144. return out, nil
  12145. }
  12146. func (c *dlpServiceClient) RedactImage(ctx context.Context, in *RedactImageRequest, opts ...grpc.CallOption) (*RedactImageResponse, error) {
  12147. out := new(RedactImageResponse)
  12148. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/RedactImage", in, out, opts...)
  12149. if err != nil {
  12150. return nil, err
  12151. }
  12152. return out, nil
  12153. }
  12154. func (c *dlpServiceClient) DeidentifyContent(ctx context.Context, in *DeidentifyContentRequest, opts ...grpc.CallOption) (*DeidentifyContentResponse, error) {
  12155. out := new(DeidentifyContentResponse)
  12156. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/DeidentifyContent", in, out, opts...)
  12157. if err != nil {
  12158. return nil, err
  12159. }
  12160. return out, nil
  12161. }
  12162. func (c *dlpServiceClient) ReidentifyContent(ctx context.Context, in *ReidentifyContentRequest, opts ...grpc.CallOption) (*ReidentifyContentResponse, error) {
  12163. out := new(ReidentifyContentResponse)
  12164. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/ReidentifyContent", in, out, opts...)
  12165. if err != nil {
  12166. return nil, err
  12167. }
  12168. return out, nil
  12169. }
  12170. func (c *dlpServiceClient) ListInfoTypes(ctx context.Context, in *ListInfoTypesRequest, opts ...grpc.CallOption) (*ListInfoTypesResponse, error) {
  12171. out := new(ListInfoTypesResponse)
  12172. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/ListInfoTypes", in, out, opts...)
  12173. if err != nil {
  12174. return nil, err
  12175. }
  12176. return out, nil
  12177. }
  12178. func (c *dlpServiceClient) CreateInspectTemplate(ctx context.Context, in *CreateInspectTemplateRequest, opts ...grpc.CallOption) (*InspectTemplate, error) {
  12179. out := new(InspectTemplate)
  12180. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/CreateInspectTemplate", in, out, opts...)
  12181. if err != nil {
  12182. return nil, err
  12183. }
  12184. return out, nil
  12185. }
  12186. func (c *dlpServiceClient) UpdateInspectTemplate(ctx context.Context, in *UpdateInspectTemplateRequest, opts ...grpc.CallOption) (*InspectTemplate, error) {
  12187. out := new(InspectTemplate)
  12188. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/UpdateInspectTemplate", in, out, opts...)
  12189. if err != nil {
  12190. return nil, err
  12191. }
  12192. return out, nil
  12193. }
  12194. func (c *dlpServiceClient) GetInspectTemplate(ctx context.Context, in *GetInspectTemplateRequest, opts ...grpc.CallOption) (*InspectTemplate, error) {
  12195. out := new(InspectTemplate)
  12196. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/GetInspectTemplate", in, out, opts...)
  12197. if err != nil {
  12198. return nil, err
  12199. }
  12200. return out, nil
  12201. }
  12202. func (c *dlpServiceClient) ListInspectTemplates(ctx context.Context, in *ListInspectTemplatesRequest, opts ...grpc.CallOption) (*ListInspectTemplatesResponse, error) {
  12203. out := new(ListInspectTemplatesResponse)
  12204. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/ListInspectTemplates", in, out, opts...)
  12205. if err != nil {
  12206. return nil, err
  12207. }
  12208. return out, nil
  12209. }
  12210. func (c *dlpServiceClient) DeleteInspectTemplate(ctx context.Context, in *DeleteInspectTemplateRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
  12211. out := new(empty.Empty)
  12212. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/DeleteInspectTemplate", in, out, opts...)
  12213. if err != nil {
  12214. return nil, err
  12215. }
  12216. return out, nil
  12217. }
  12218. func (c *dlpServiceClient) CreateDeidentifyTemplate(ctx context.Context, in *CreateDeidentifyTemplateRequest, opts ...grpc.CallOption) (*DeidentifyTemplate, error) {
  12219. out := new(DeidentifyTemplate)
  12220. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/CreateDeidentifyTemplate", in, out, opts...)
  12221. if err != nil {
  12222. return nil, err
  12223. }
  12224. return out, nil
  12225. }
  12226. func (c *dlpServiceClient) UpdateDeidentifyTemplate(ctx context.Context, in *UpdateDeidentifyTemplateRequest, opts ...grpc.CallOption) (*DeidentifyTemplate, error) {
  12227. out := new(DeidentifyTemplate)
  12228. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/UpdateDeidentifyTemplate", in, out, opts...)
  12229. if err != nil {
  12230. return nil, err
  12231. }
  12232. return out, nil
  12233. }
  12234. func (c *dlpServiceClient) GetDeidentifyTemplate(ctx context.Context, in *GetDeidentifyTemplateRequest, opts ...grpc.CallOption) (*DeidentifyTemplate, error) {
  12235. out := new(DeidentifyTemplate)
  12236. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/GetDeidentifyTemplate", in, out, opts...)
  12237. if err != nil {
  12238. return nil, err
  12239. }
  12240. return out, nil
  12241. }
  12242. func (c *dlpServiceClient) ListDeidentifyTemplates(ctx context.Context, in *ListDeidentifyTemplatesRequest, opts ...grpc.CallOption) (*ListDeidentifyTemplatesResponse, error) {
  12243. out := new(ListDeidentifyTemplatesResponse)
  12244. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/ListDeidentifyTemplates", in, out, opts...)
  12245. if err != nil {
  12246. return nil, err
  12247. }
  12248. return out, nil
  12249. }
  12250. func (c *dlpServiceClient) DeleteDeidentifyTemplate(ctx context.Context, in *DeleteDeidentifyTemplateRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
  12251. out := new(empty.Empty)
  12252. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/DeleteDeidentifyTemplate", in, out, opts...)
  12253. if err != nil {
  12254. return nil, err
  12255. }
  12256. return out, nil
  12257. }
  12258. func (c *dlpServiceClient) CreateJobTrigger(ctx context.Context, in *CreateJobTriggerRequest, opts ...grpc.CallOption) (*JobTrigger, error) {
  12259. out := new(JobTrigger)
  12260. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/CreateJobTrigger", in, out, opts...)
  12261. if err != nil {
  12262. return nil, err
  12263. }
  12264. return out, nil
  12265. }
  12266. func (c *dlpServiceClient) UpdateJobTrigger(ctx context.Context, in *UpdateJobTriggerRequest, opts ...grpc.CallOption) (*JobTrigger, error) {
  12267. out := new(JobTrigger)
  12268. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/UpdateJobTrigger", in, out, opts...)
  12269. if err != nil {
  12270. return nil, err
  12271. }
  12272. return out, nil
  12273. }
  12274. func (c *dlpServiceClient) GetJobTrigger(ctx context.Context, in *GetJobTriggerRequest, opts ...grpc.CallOption) (*JobTrigger, error) {
  12275. out := new(JobTrigger)
  12276. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/GetJobTrigger", in, out, opts...)
  12277. if err != nil {
  12278. return nil, err
  12279. }
  12280. return out, nil
  12281. }
  12282. func (c *dlpServiceClient) ListJobTriggers(ctx context.Context, in *ListJobTriggersRequest, opts ...grpc.CallOption) (*ListJobTriggersResponse, error) {
  12283. out := new(ListJobTriggersResponse)
  12284. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/ListJobTriggers", in, out, opts...)
  12285. if err != nil {
  12286. return nil, err
  12287. }
  12288. return out, nil
  12289. }
  12290. func (c *dlpServiceClient) DeleteJobTrigger(ctx context.Context, in *DeleteJobTriggerRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
  12291. out := new(empty.Empty)
  12292. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/DeleteJobTrigger", in, out, opts...)
  12293. if err != nil {
  12294. return nil, err
  12295. }
  12296. return out, nil
  12297. }
  12298. func (c *dlpServiceClient) ActivateJobTrigger(ctx context.Context, in *ActivateJobTriggerRequest, opts ...grpc.CallOption) (*DlpJob, error) {
  12299. out := new(DlpJob)
  12300. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/ActivateJobTrigger", in, out, opts...)
  12301. if err != nil {
  12302. return nil, err
  12303. }
  12304. return out, nil
  12305. }
  12306. func (c *dlpServiceClient) CreateDlpJob(ctx context.Context, in *CreateDlpJobRequest, opts ...grpc.CallOption) (*DlpJob, error) {
  12307. out := new(DlpJob)
  12308. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/CreateDlpJob", in, out, opts...)
  12309. if err != nil {
  12310. return nil, err
  12311. }
  12312. return out, nil
  12313. }
  12314. func (c *dlpServiceClient) ListDlpJobs(ctx context.Context, in *ListDlpJobsRequest, opts ...grpc.CallOption) (*ListDlpJobsResponse, error) {
  12315. out := new(ListDlpJobsResponse)
  12316. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/ListDlpJobs", in, out, opts...)
  12317. if err != nil {
  12318. return nil, err
  12319. }
  12320. return out, nil
  12321. }
  12322. func (c *dlpServiceClient) GetDlpJob(ctx context.Context, in *GetDlpJobRequest, opts ...grpc.CallOption) (*DlpJob, error) {
  12323. out := new(DlpJob)
  12324. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/GetDlpJob", in, out, opts...)
  12325. if err != nil {
  12326. return nil, err
  12327. }
  12328. return out, nil
  12329. }
  12330. func (c *dlpServiceClient) DeleteDlpJob(ctx context.Context, in *DeleteDlpJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
  12331. out := new(empty.Empty)
  12332. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/DeleteDlpJob", in, out, opts...)
  12333. if err != nil {
  12334. return nil, err
  12335. }
  12336. return out, nil
  12337. }
  12338. func (c *dlpServiceClient) CancelDlpJob(ctx context.Context, in *CancelDlpJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
  12339. out := new(empty.Empty)
  12340. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/CancelDlpJob", in, out, opts...)
  12341. if err != nil {
  12342. return nil, err
  12343. }
  12344. return out, nil
  12345. }
  12346. func (c *dlpServiceClient) CreateStoredInfoType(ctx context.Context, in *CreateStoredInfoTypeRequest, opts ...grpc.CallOption) (*StoredInfoType, error) {
  12347. out := new(StoredInfoType)
  12348. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/CreateStoredInfoType", in, out, opts...)
  12349. if err != nil {
  12350. return nil, err
  12351. }
  12352. return out, nil
  12353. }
  12354. func (c *dlpServiceClient) UpdateStoredInfoType(ctx context.Context, in *UpdateStoredInfoTypeRequest, opts ...grpc.CallOption) (*StoredInfoType, error) {
  12355. out := new(StoredInfoType)
  12356. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/UpdateStoredInfoType", in, out, opts...)
  12357. if err != nil {
  12358. return nil, err
  12359. }
  12360. return out, nil
  12361. }
  12362. func (c *dlpServiceClient) GetStoredInfoType(ctx context.Context, in *GetStoredInfoTypeRequest, opts ...grpc.CallOption) (*StoredInfoType, error) {
  12363. out := new(StoredInfoType)
  12364. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/GetStoredInfoType", in, out, opts...)
  12365. if err != nil {
  12366. return nil, err
  12367. }
  12368. return out, nil
  12369. }
  12370. func (c *dlpServiceClient) ListStoredInfoTypes(ctx context.Context, in *ListStoredInfoTypesRequest, opts ...grpc.CallOption) (*ListStoredInfoTypesResponse, error) {
  12371. out := new(ListStoredInfoTypesResponse)
  12372. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/ListStoredInfoTypes", in, out, opts...)
  12373. if err != nil {
  12374. return nil, err
  12375. }
  12376. return out, nil
  12377. }
  12378. func (c *dlpServiceClient) DeleteStoredInfoType(ctx context.Context, in *DeleteStoredInfoTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
  12379. out := new(empty.Empty)
  12380. err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/DeleteStoredInfoType", in, out, opts...)
  12381. if err != nil {
  12382. return nil, err
  12383. }
  12384. return out, nil
  12385. }
  12386. // DlpServiceServer is the server API for DlpService service.
  12387. type DlpServiceServer interface {
  12388. // Finds potentially sensitive info in content.
  12389. // This method has limits on input size, processing time, and output size.
  12390. //
  12391. // When no InfoTypes or CustomInfoTypes are specified in this request, the
  12392. // system will automatically choose what detectors to run. By default this may
  12393. // be all types, but may change over time as detectors are updated.
  12394. //
  12395. // For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
  12396. // and https://cloud.google.com/dlp/docs/inspecting-text,
  12397. InspectContent(context.Context, *InspectContentRequest) (*InspectContentResponse, error)
  12398. // Redacts potentially sensitive info from an image.
  12399. // This method has limits on input size, processing time, and output size.
  12400. // See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
  12401. // learn more.
  12402. //
  12403. // When no InfoTypes or CustomInfoTypes are specified in this request, the
  12404. // system will automatically choose what detectors to run. By default this may
  12405. // be all types, but may change over time as detectors are updated.
  12406. RedactImage(context.Context, *RedactImageRequest) (*RedactImageResponse, error)
  12407. // De-identifies potentially sensitive info from a ContentItem.
  12408. // This method has limits on input size and output size.
  12409. // See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
  12410. // learn more.
  12411. //
  12412. // When no InfoTypes or CustomInfoTypes are specified in this request, the
  12413. // system will automatically choose what detectors to run. By default this may
  12414. // be all types, but may change over time as detectors are updated.
  12415. DeidentifyContent(context.Context, *DeidentifyContentRequest) (*DeidentifyContentResponse, error)
  12416. // Re-identifies content that has been de-identified.
  12417. // See
  12418. // https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
  12419. // to learn more.
  12420. ReidentifyContent(context.Context, *ReidentifyContentRequest) (*ReidentifyContentResponse, error)
  12421. // Returns a list of the sensitive information types that the DLP API
  12422. // supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
  12423. // learn more.
  12424. ListInfoTypes(context.Context, *ListInfoTypesRequest) (*ListInfoTypesResponse, error)
  12425. // Creates an InspectTemplate for re-using frequently used configuration
  12426. // for inspecting content, images, and storage.
  12427. // See https://cloud.google.com/dlp/docs/creating-templates to learn more.
  12428. CreateInspectTemplate(context.Context, *CreateInspectTemplateRequest) (*InspectTemplate, error)
  12429. // Updates the InspectTemplate.
  12430. // See https://cloud.google.com/dlp/docs/creating-templates to learn more.
  12431. UpdateInspectTemplate(context.Context, *UpdateInspectTemplateRequest) (*InspectTemplate, error)
  12432. // Gets an InspectTemplate.
  12433. // See https://cloud.google.com/dlp/docs/creating-templates to learn more.
  12434. GetInspectTemplate(context.Context, *GetInspectTemplateRequest) (*InspectTemplate, error)
  12435. // Lists InspectTemplates.
  12436. // See https://cloud.google.com/dlp/docs/creating-templates to learn more.
  12437. ListInspectTemplates(context.Context, *ListInspectTemplatesRequest) (*ListInspectTemplatesResponse, error)
  12438. // Deletes an InspectTemplate.
  12439. // See https://cloud.google.com/dlp/docs/creating-templates to learn more.
  12440. DeleteInspectTemplate(context.Context, *DeleteInspectTemplateRequest) (*empty.Empty, error)
  12441. // Creates a DeidentifyTemplate for re-using frequently used configuration
  12442. // for de-identifying content, images, and storage.
  12443. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
  12444. // more.
  12445. CreateDeidentifyTemplate(context.Context, *CreateDeidentifyTemplateRequest) (*DeidentifyTemplate, error)
  12446. // Updates the DeidentifyTemplate.
  12447. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
  12448. // more.
  12449. UpdateDeidentifyTemplate(context.Context, *UpdateDeidentifyTemplateRequest) (*DeidentifyTemplate, error)
  12450. // Gets a DeidentifyTemplate.
  12451. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
  12452. // more.
  12453. GetDeidentifyTemplate(context.Context, *GetDeidentifyTemplateRequest) (*DeidentifyTemplate, error)
  12454. // Lists DeidentifyTemplates.
  12455. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
  12456. // more.
  12457. ListDeidentifyTemplates(context.Context, *ListDeidentifyTemplatesRequest) (*ListDeidentifyTemplatesResponse, error)
  12458. // Deletes a DeidentifyTemplate.
  12459. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
  12460. // more.
  12461. DeleteDeidentifyTemplate(context.Context, *DeleteDeidentifyTemplateRequest) (*empty.Empty, error)
  12462. // Creates a job trigger to run DLP actions such as scanning storage for
  12463. // sensitive information on a set schedule.
  12464. // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
  12465. CreateJobTrigger(context.Context, *CreateJobTriggerRequest) (*JobTrigger, error)
  12466. // Updates a job trigger.
  12467. // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
  12468. UpdateJobTrigger(context.Context, *UpdateJobTriggerRequest) (*JobTrigger, error)
  12469. // Gets a job trigger.
  12470. // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
  12471. GetJobTrigger(context.Context, *GetJobTriggerRequest) (*JobTrigger, error)
  12472. // Lists job triggers.
  12473. // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
  12474. ListJobTriggers(context.Context, *ListJobTriggersRequest) (*ListJobTriggersResponse, error)
  12475. // Deletes a job trigger.
  12476. // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
  12477. DeleteJobTrigger(context.Context, *DeleteJobTriggerRequest) (*empty.Empty, error)
  12478. // Activate a job trigger. Causes the immediate execute of a trigger
  12479. // instead of waiting on the trigger event to occur.
  12480. ActivateJobTrigger(context.Context, *ActivateJobTriggerRequest) (*DlpJob, error)
  12481. // Creates a new job to inspect storage or calculate risk metrics.
  12482. // See https://cloud.google.com/dlp/docs/inspecting-storage and
  12483. // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
  12484. //
  12485. // When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
  12486. // system will automatically choose what detectors to run. By default this may
  12487. // be all types, but may change over time as detectors are updated.
  12488. CreateDlpJob(context.Context, *CreateDlpJobRequest) (*DlpJob, error)
  12489. // Lists DlpJobs that match the specified filter in the request.
  12490. // See https://cloud.google.com/dlp/docs/inspecting-storage and
  12491. // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
  12492. ListDlpJobs(context.Context, *ListDlpJobsRequest) (*ListDlpJobsResponse, error)
  12493. // Gets the latest state of a long-running DlpJob.
  12494. // See https://cloud.google.com/dlp/docs/inspecting-storage and
  12495. // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
  12496. GetDlpJob(context.Context, *GetDlpJobRequest) (*DlpJob, error)
  12497. // Deletes a long-running DlpJob. This method indicates that the client is
  12498. // no longer interested in the DlpJob result. The job will be cancelled if
  12499. // possible.
  12500. // See https://cloud.google.com/dlp/docs/inspecting-storage and
  12501. // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
  12502. DeleteDlpJob(context.Context, *DeleteDlpJobRequest) (*empty.Empty, error)
  12503. // Starts asynchronous cancellation on a long-running DlpJob. The server
  12504. // makes a best effort to cancel the DlpJob, but success is not
  12505. // guaranteed.
  12506. // See https://cloud.google.com/dlp/docs/inspecting-storage and
  12507. // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
  12508. CancelDlpJob(context.Context, *CancelDlpJobRequest) (*empty.Empty, error)
  12509. // Creates a pre-built stored infoType to be used for inspection.
  12510. // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
  12511. // learn more.
  12512. CreateStoredInfoType(context.Context, *CreateStoredInfoTypeRequest) (*StoredInfoType, error)
  12513. // Updates the stored infoType by creating a new version. The existing version
  12514. // will continue to be used until the new version is ready.
  12515. // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
  12516. // learn more.
  12517. UpdateStoredInfoType(context.Context, *UpdateStoredInfoTypeRequest) (*StoredInfoType, error)
  12518. // Gets a stored infoType.
  12519. // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
  12520. // learn more.
  12521. GetStoredInfoType(context.Context, *GetStoredInfoTypeRequest) (*StoredInfoType, error)
  12522. // Lists stored infoTypes.
  12523. // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
  12524. // learn more.
  12525. ListStoredInfoTypes(context.Context, *ListStoredInfoTypesRequest) (*ListStoredInfoTypesResponse, error)
  12526. // Deletes a stored infoType.
  12527. // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
  12528. // learn more.
  12529. DeleteStoredInfoType(context.Context, *DeleteStoredInfoTypeRequest) (*empty.Empty, error)
  12530. }
  12531. func RegisterDlpServiceServer(s *grpc.Server, srv DlpServiceServer) {
  12532. s.RegisterService(&_DlpService_serviceDesc, srv)
  12533. }
  12534. func _DlpService_InspectContent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12535. in := new(InspectContentRequest)
  12536. if err := dec(in); err != nil {
  12537. return nil, err
  12538. }
  12539. if interceptor == nil {
  12540. return srv.(DlpServiceServer).InspectContent(ctx, in)
  12541. }
  12542. info := &grpc.UnaryServerInfo{
  12543. Server: srv,
  12544. FullMethod: "/google.privacy.dlp.v2.DlpService/InspectContent",
  12545. }
  12546. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12547. return srv.(DlpServiceServer).InspectContent(ctx, req.(*InspectContentRequest))
  12548. }
  12549. return interceptor(ctx, in, info, handler)
  12550. }
  12551. func _DlpService_RedactImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12552. in := new(RedactImageRequest)
  12553. if err := dec(in); err != nil {
  12554. return nil, err
  12555. }
  12556. if interceptor == nil {
  12557. return srv.(DlpServiceServer).RedactImage(ctx, in)
  12558. }
  12559. info := &grpc.UnaryServerInfo{
  12560. Server: srv,
  12561. FullMethod: "/google.privacy.dlp.v2.DlpService/RedactImage",
  12562. }
  12563. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12564. return srv.(DlpServiceServer).RedactImage(ctx, req.(*RedactImageRequest))
  12565. }
  12566. return interceptor(ctx, in, info, handler)
  12567. }
  12568. func _DlpService_DeidentifyContent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12569. in := new(DeidentifyContentRequest)
  12570. if err := dec(in); err != nil {
  12571. return nil, err
  12572. }
  12573. if interceptor == nil {
  12574. return srv.(DlpServiceServer).DeidentifyContent(ctx, in)
  12575. }
  12576. info := &grpc.UnaryServerInfo{
  12577. Server: srv,
  12578. FullMethod: "/google.privacy.dlp.v2.DlpService/DeidentifyContent",
  12579. }
  12580. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12581. return srv.(DlpServiceServer).DeidentifyContent(ctx, req.(*DeidentifyContentRequest))
  12582. }
  12583. return interceptor(ctx, in, info, handler)
  12584. }
  12585. func _DlpService_ReidentifyContent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12586. in := new(ReidentifyContentRequest)
  12587. if err := dec(in); err != nil {
  12588. return nil, err
  12589. }
  12590. if interceptor == nil {
  12591. return srv.(DlpServiceServer).ReidentifyContent(ctx, in)
  12592. }
  12593. info := &grpc.UnaryServerInfo{
  12594. Server: srv,
  12595. FullMethod: "/google.privacy.dlp.v2.DlpService/ReidentifyContent",
  12596. }
  12597. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12598. return srv.(DlpServiceServer).ReidentifyContent(ctx, req.(*ReidentifyContentRequest))
  12599. }
  12600. return interceptor(ctx, in, info, handler)
  12601. }
  12602. func _DlpService_ListInfoTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12603. in := new(ListInfoTypesRequest)
  12604. if err := dec(in); err != nil {
  12605. return nil, err
  12606. }
  12607. if interceptor == nil {
  12608. return srv.(DlpServiceServer).ListInfoTypes(ctx, in)
  12609. }
  12610. info := &grpc.UnaryServerInfo{
  12611. Server: srv,
  12612. FullMethod: "/google.privacy.dlp.v2.DlpService/ListInfoTypes",
  12613. }
  12614. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12615. return srv.(DlpServiceServer).ListInfoTypes(ctx, req.(*ListInfoTypesRequest))
  12616. }
  12617. return interceptor(ctx, in, info, handler)
  12618. }
  12619. func _DlpService_CreateInspectTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12620. in := new(CreateInspectTemplateRequest)
  12621. if err := dec(in); err != nil {
  12622. return nil, err
  12623. }
  12624. if interceptor == nil {
  12625. return srv.(DlpServiceServer).CreateInspectTemplate(ctx, in)
  12626. }
  12627. info := &grpc.UnaryServerInfo{
  12628. Server: srv,
  12629. FullMethod: "/google.privacy.dlp.v2.DlpService/CreateInspectTemplate",
  12630. }
  12631. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12632. return srv.(DlpServiceServer).CreateInspectTemplate(ctx, req.(*CreateInspectTemplateRequest))
  12633. }
  12634. return interceptor(ctx, in, info, handler)
  12635. }
  12636. func _DlpService_UpdateInspectTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12637. in := new(UpdateInspectTemplateRequest)
  12638. if err := dec(in); err != nil {
  12639. return nil, err
  12640. }
  12641. if interceptor == nil {
  12642. return srv.(DlpServiceServer).UpdateInspectTemplate(ctx, in)
  12643. }
  12644. info := &grpc.UnaryServerInfo{
  12645. Server: srv,
  12646. FullMethod: "/google.privacy.dlp.v2.DlpService/UpdateInspectTemplate",
  12647. }
  12648. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12649. return srv.(DlpServiceServer).UpdateInspectTemplate(ctx, req.(*UpdateInspectTemplateRequest))
  12650. }
  12651. return interceptor(ctx, in, info, handler)
  12652. }
  12653. func _DlpService_GetInspectTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12654. in := new(GetInspectTemplateRequest)
  12655. if err := dec(in); err != nil {
  12656. return nil, err
  12657. }
  12658. if interceptor == nil {
  12659. return srv.(DlpServiceServer).GetInspectTemplate(ctx, in)
  12660. }
  12661. info := &grpc.UnaryServerInfo{
  12662. Server: srv,
  12663. FullMethod: "/google.privacy.dlp.v2.DlpService/GetInspectTemplate",
  12664. }
  12665. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12666. return srv.(DlpServiceServer).GetInspectTemplate(ctx, req.(*GetInspectTemplateRequest))
  12667. }
  12668. return interceptor(ctx, in, info, handler)
  12669. }
  12670. func _DlpService_ListInspectTemplates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12671. in := new(ListInspectTemplatesRequest)
  12672. if err := dec(in); err != nil {
  12673. return nil, err
  12674. }
  12675. if interceptor == nil {
  12676. return srv.(DlpServiceServer).ListInspectTemplates(ctx, in)
  12677. }
  12678. info := &grpc.UnaryServerInfo{
  12679. Server: srv,
  12680. FullMethod: "/google.privacy.dlp.v2.DlpService/ListInspectTemplates",
  12681. }
  12682. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12683. return srv.(DlpServiceServer).ListInspectTemplates(ctx, req.(*ListInspectTemplatesRequest))
  12684. }
  12685. return interceptor(ctx, in, info, handler)
  12686. }
  12687. func _DlpService_DeleteInspectTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12688. in := new(DeleteInspectTemplateRequest)
  12689. if err := dec(in); err != nil {
  12690. return nil, err
  12691. }
  12692. if interceptor == nil {
  12693. return srv.(DlpServiceServer).DeleteInspectTemplate(ctx, in)
  12694. }
  12695. info := &grpc.UnaryServerInfo{
  12696. Server: srv,
  12697. FullMethod: "/google.privacy.dlp.v2.DlpService/DeleteInspectTemplate",
  12698. }
  12699. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12700. return srv.(DlpServiceServer).DeleteInspectTemplate(ctx, req.(*DeleteInspectTemplateRequest))
  12701. }
  12702. return interceptor(ctx, in, info, handler)
  12703. }
  12704. func _DlpService_CreateDeidentifyTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12705. in := new(CreateDeidentifyTemplateRequest)
  12706. if err := dec(in); err != nil {
  12707. return nil, err
  12708. }
  12709. if interceptor == nil {
  12710. return srv.(DlpServiceServer).CreateDeidentifyTemplate(ctx, in)
  12711. }
  12712. info := &grpc.UnaryServerInfo{
  12713. Server: srv,
  12714. FullMethod: "/google.privacy.dlp.v2.DlpService/CreateDeidentifyTemplate",
  12715. }
  12716. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12717. return srv.(DlpServiceServer).CreateDeidentifyTemplate(ctx, req.(*CreateDeidentifyTemplateRequest))
  12718. }
  12719. return interceptor(ctx, in, info, handler)
  12720. }
  12721. func _DlpService_UpdateDeidentifyTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12722. in := new(UpdateDeidentifyTemplateRequest)
  12723. if err := dec(in); err != nil {
  12724. return nil, err
  12725. }
  12726. if interceptor == nil {
  12727. return srv.(DlpServiceServer).UpdateDeidentifyTemplate(ctx, in)
  12728. }
  12729. info := &grpc.UnaryServerInfo{
  12730. Server: srv,
  12731. FullMethod: "/google.privacy.dlp.v2.DlpService/UpdateDeidentifyTemplate",
  12732. }
  12733. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12734. return srv.(DlpServiceServer).UpdateDeidentifyTemplate(ctx, req.(*UpdateDeidentifyTemplateRequest))
  12735. }
  12736. return interceptor(ctx, in, info, handler)
  12737. }
  12738. func _DlpService_GetDeidentifyTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12739. in := new(GetDeidentifyTemplateRequest)
  12740. if err := dec(in); err != nil {
  12741. return nil, err
  12742. }
  12743. if interceptor == nil {
  12744. return srv.(DlpServiceServer).GetDeidentifyTemplate(ctx, in)
  12745. }
  12746. info := &grpc.UnaryServerInfo{
  12747. Server: srv,
  12748. FullMethod: "/google.privacy.dlp.v2.DlpService/GetDeidentifyTemplate",
  12749. }
  12750. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12751. return srv.(DlpServiceServer).GetDeidentifyTemplate(ctx, req.(*GetDeidentifyTemplateRequest))
  12752. }
  12753. return interceptor(ctx, in, info, handler)
  12754. }
  12755. func _DlpService_ListDeidentifyTemplates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12756. in := new(ListDeidentifyTemplatesRequest)
  12757. if err := dec(in); err != nil {
  12758. return nil, err
  12759. }
  12760. if interceptor == nil {
  12761. return srv.(DlpServiceServer).ListDeidentifyTemplates(ctx, in)
  12762. }
  12763. info := &grpc.UnaryServerInfo{
  12764. Server: srv,
  12765. FullMethod: "/google.privacy.dlp.v2.DlpService/ListDeidentifyTemplates",
  12766. }
  12767. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12768. return srv.(DlpServiceServer).ListDeidentifyTemplates(ctx, req.(*ListDeidentifyTemplatesRequest))
  12769. }
  12770. return interceptor(ctx, in, info, handler)
  12771. }
  12772. func _DlpService_DeleteDeidentifyTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12773. in := new(DeleteDeidentifyTemplateRequest)
  12774. if err := dec(in); err != nil {
  12775. return nil, err
  12776. }
  12777. if interceptor == nil {
  12778. return srv.(DlpServiceServer).DeleteDeidentifyTemplate(ctx, in)
  12779. }
  12780. info := &grpc.UnaryServerInfo{
  12781. Server: srv,
  12782. FullMethod: "/google.privacy.dlp.v2.DlpService/DeleteDeidentifyTemplate",
  12783. }
  12784. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12785. return srv.(DlpServiceServer).DeleteDeidentifyTemplate(ctx, req.(*DeleteDeidentifyTemplateRequest))
  12786. }
  12787. return interceptor(ctx, in, info, handler)
  12788. }
  12789. func _DlpService_CreateJobTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12790. in := new(CreateJobTriggerRequest)
  12791. if err := dec(in); err != nil {
  12792. return nil, err
  12793. }
  12794. if interceptor == nil {
  12795. return srv.(DlpServiceServer).CreateJobTrigger(ctx, in)
  12796. }
  12797. info := &grpc.UnaryServerInfo{
  12798. Server: srv,
  12799. FullMethod: "/google.privacy.dlp.v2.DlpService/CreateJobTrigger",
  12800. }
  12801. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12802. return srv.(DlpServiceServer).CreateJobTrigger(ctx, req.(*CreateJobTriggerRequest))
  12803. }
  12804. return interceptor(ctx, in, info, handler)
  12805. }
  12806. func _DlpService_UpdateJobTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12807. in := new(UpdateJobTriggerRequest)
  12808. if err := dec(in); err != nil {
  12809. return nil, err
  12810. }
  12811. if interceptor == nil {
  12812. return srv.(DlpServiceServer).UpdateJobTrigger(ctx, in)
  12813. }
  12814. info := &grpc.UnaryServerInfo{
  12815. Server: srv,
  12816. FullMethod: "/google.privacy.dlp.v2.DlpService/UpdateJobTrigger",
  12817. }
  12818. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12819. return srv.(DlpServiceServer).UpdateJobTrigger(ctx, req.(*UpdateJobTriggerRequest))
  12820. }
  12821. return interceptor(ctx, in, info, handler)
  12822. }
  12823. func _DlpService_GetJobTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12824. in := new(GetJobTriggerRequest)
  12825. if err := dec(in); err != nil {
  12826. return nil, err
  12827. }
  12828. if interceptor == nil {
  12829. return srv.(DlpServiceServer).GetJobTrigger(ctx, in)
  12830. }
  12831. info := &grpc.UnaryServerInfo{
  12832. Server: srv,
  12833. FullMethod: "/google.privacy.dlp.v2.DlpService/GetJobTrigger",
  12834. }
  12835. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12836. return srv.(DlpServiceServer).GetJobTrigger(ctx, req.(*GetJobTriggerRequest))
  12837. }
  12838. return interceptor(ctx, in, info, handler)
  12839. }
  12840. func _DlpService_ListJobTriggers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12841. in := new(ListJobTriggersRequest)
  12842. if err := dec(in); err != nil {
  12843. return nil, err
  12844. }
  12845. if interceptor == nil {
  12846. return srv.(DlpServiceServer).ListJobTriggers(ctx, in)
  12847. }
  12848. info := &grpc.UnaryServerInfo{
  12849. Server: srv,
  12850. FullMethod: "/google.privacy.dlp.v2.DlpService/ListJobTriggers",
  12851. }
  12852. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12853. return srv.(DlpServiceServer).ListJobTriggers(ctx, req.(*ListJobTriggersRequest))
  12854. }
  12855. return interceptor(ctx, in, info, handler)
  12856. }
  12857. func _DlpService_DeleteJobTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12858. in := new(DeleteJobTriggerRequest)
  12859. if err := dec(in); err != nil {
  12860. return nil, err
  12861. }
  12862. if interceptor == nil {
  12863. return srv.(DlpServiceServer).DeleteJobTrigger(ctx, in)
  12864. }
  12865. info := &grpc.UnaryServerInfo{
  12866. Server: srv,
  12867. FullMethod: "/google.privacy.dlp.v2.DlpService/DeleteJobTrigger",
  12868. }
  12869. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12870. return srv.(DlpServiceServer).DeleteJobTrigger(ctx, req.(*DeleteJobTriggerRequest))
  12871. }
  12872. return interceptor(ctx, in, info, handler)
  12873. }
  12874. func _DlpService_ActivateJobTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12875. in := new(ActivateJobTriggerRequest)
  12876. if err := dec(in); err != nil {
  12877. return nil, err
  12878. }
  12879. if interceptor == nil {
  12880. return srv.(DlpServiceServer).ActivateJobTrigger(ctx, in)
  12881. }
  12882. info := &grpc.UnaryServerInfo{
  12883. Server: srv,
  12884. FullMethod: "/google.privacy.dlp.v2.DlpService/ActivateJobTrigger",
  12885. }
  12886. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12887. return srv.(DlpServiceServer).ActivateJobTrigger(ctx, req.(*ActivateJobTriggerRequest))
  12888. }
  12889. return interceptor(ctx, in, info, handler)
  12890. }
  12891. func _DlpService_CreateDlpJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12892. in := new(CreateDlpJobRequest)
  12893. if err := dec(in); err != nil {
  12894. return nil, err
  12895. }
  12896. if interceptor == nil {
  12897. return srv.(DlpServiceServer).CreateDlpJob(ctx, in)
  12898. }
  12899. info := &grpc.UnaryServerInfo{
  12900. Server: srv,
  12901. FullMethod: "/google.privacy.dlp.v2.DlpService/CreateDlpJob",
  12902. }
  12903. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12904. return srv.(DlpServiceServer).CreateDlpJob(ctx, req.(*CreateDlpJobRequest))
  12905. }
  12906. return interceptor(ctx, in, info, handler)
  12907. }
  12908. func _DlpService_ListDlpJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12909. in := new(ListDlpJobsRequest)
  12910. if err := dec(in); err != nil {
  12911. return nil, err
  12912. }
  12913. if interceptor == nil {
  12914. return srv.(DlpServiceServer).ListDlpJobs(ctx, in)
  12915. }
  12916. info := &grpc.UnaryServerInfo{
  12917. Server: srv,
  12918. FullMethod: "/google.privacy.dlp.v2.DlpService/ListDlpJobs",
  12919. }
  12920. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12921. return srv.(DlpServiceServer).ListDlpJobs(ctx, req.(*ListDlpJobsRequest))
  12922. }
  12923. return interceptor(ctx, in, info, handler)
  12924. }
  12925. func _DlpService_GetDlpJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12926. in := new(GetDlpJobRequest)
  12927. if err := dec(in); err != nil {
  12928. return nil, err
  12929. }
  12930. if interceptor == nil {
  12931. return srv.(DlpServiceServer).GetDlpJob(ctx, in)
  12932. }
  12933. info := &grpc.UnaryServerInfo{
  12934. Server: srv,
  12935. FullMethod: "/google.privacy.dlp.v2.DlpService/GetDlpJob",
  12936. }
  12937. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12938. return srv.(DlpServiceServer).GetDlpJob(ctx, req.(*GetDlpJobRequest))
  12939. }
  12940. return interceptor(ctx, in, info, handler)
  12941. }
  12942. func _DlpService_DeleteDlpJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12943. in := new(DeleteDlpJobRequest)
  12944. if err := dec(in); err != nil {
  12945. return nil, err
  12946. }
  12947. if interceptor == nil {
  12948. return srv.(DlpServiceServer).DeleteDlpJob(ctx, in)
  12949. }
  12950. info := &grpc.UnaryServerInfo{
  12951. Server: srv,
  12952. FullMethod: "/google.privacy.dlp.v2.DlpService/DeleteDlpJob",
  12953. }
  12954. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12955. return srv.(DlpServiceServer).DeleteDlpJob(ctx, req.(*DeleteDlpJobRequest))
  12956. }
  12957. return interceptor(ctx, in, info, handler)
  12958. }
  12959. func _DlpService_CancelDlpJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12960. in := new(CancelDlpJobRequest)
  12961. if err := dec(in); err != nil {
  12962. return nil, err
  12963. }
  12964. if interceptor == nil {
  12965. return srv.(DlpServiceServer).CancelDlpJob(ctx, in)
  12966. }
  12967. info := &grpc.UnaryServerInfo{
  12968. Server: srv,
  12969. FullMethod: "/google.privacy.dlp.v2.DlpService/CancelDlpJob",
  12970. }
  12971. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12972. return srv.(DlpServiceServer).CancelDlpJob(ctx, req.(*CancelDlpJobRequest))
  12973. }
  12974. return interceptor(ctx, in, info, handler)
  12975. }
  12976. func _DlpService_CreateStoredInfoType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12977. in := new(CreateStoredInfoTypeRequest)
  12978. if err := dec(in); err != nil {
  12979. return nil, err
  12980. }
  12981. if interceptor == nil {
  12982. return srv.(DlpServiceServer).CreateStoredInfoType(ctx, in)
  12983. }
  12984. info := &grpc.UnaryServerInfo{
  12985. Server: srv,
  12986. FullMethod: "/google.privacy.dlp.v2.DlpService/CreateStoredInfoType",
  12987. }
  12988. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  12989. return srv.(DlpServiceServer).CreateStoredInfoType(ctx, req.(*CreateStoredInfoTypeRequest))
  12990. }
  12991. return interceptor(ctx, in, info, handler)
  12992. }
  12993. func _DlpService_UpdateStoredInfoType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  12994. in := new(UpdateStoredInfoTypeRequest)
  12995. if err := dec(in); err != nil {
  12996. return nil, err
  12997. }
  12998. if interceptor == nil {
  12999. return srv.(DlpServiceServer).UpdateStoredInfoType(ctx, in)
  13000. }
  13001. info := &grpc.UnaryServerInfo{
  13002. Server: srv,
  13003. FullMethod: "/google.privacy.dlp.v2.DlpService/UpdateStoredInfoType",
  13004. }
  13005. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  13006. return srv.(DlpServiceServer).UpdateStoredInfoType(ctx, req.(*UpdateStoredInfoTypeRequest))
  13007. }
  13008. return interceptor(ctx, in, info, handler)
  13009. }
  13010. func _DlpService_GetStoredInfoType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  13011. in := new(GetStoredInfoTypeRequest)
  13012. if err := dec(in); err != nil {
  13013. return nil, err
  13014. }
  13015. if interceptor == nil {
  13016. return srv.(DlpServiceServer).GetStoredInfoType(ctx, in)
  13017. }
  13018. info := &grpc.UnaryServerInfo{
  13019. Server: srv,
  13020. FullMethod: "/google.privacy.dlp.v2.DlpService/GetStoredInfoType",
  13021. }
  13022. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  13023. return srv.(DlpServiceServer).GetStoredInfoType(ctx, req.(*GetStoredInfoTypeRequest))
  13024. }
  13025. return interceptor(ctx, in, info, handler)
  13026. }
  13027. func _DlpService_ListStoredInfoTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  13028. in := new(ListStoredInfoTypesRequest)
  13029. if err := dec(in); err != nil {
  13030. return nil, err
  13031. }
  13032. if interceptor == nil {
  13033. return srv.(DlpServiceServer).ListStoredInfoTypes(ctx, in)
  13034. }
  13035. info := &grpc.UnaryServerInfo{
  13036. Server: srv,
  13037. FullMethod: "/google.privacy.dlp.v2.DlpService/ListStoredInfoTypes",
  13038. }
  13039. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  13040. return srv.(DlpServiceServer).ListStoredInfoTypes(ctx, req.(*ListStoredInfoTypesRequest))
  13041. }
  13042. return interceptor(ctx, in, info, handler)
  13043. }
  13044. func _DlpService_DeleteStoredInfoType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  13045. in := new(DeleteStoredInfoTypeRequest)
  13046. if err := dec(in); err != nil {
  13047. return nil, err
  13048. }
  13049. if interceptor == nil {
  13050. return srv.(DlpServiceServer).DeleteStoredInfoType(ctx, in)
  13051. }
  13052. info := &grpc.UnaryServerInfo{
  13053. Server: srv,
  13054. FullMethod: "/google.privacy.dlp.v2.DlpService/DeleteStoredInfoType",
  13055. }
  13056. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  13057. return srv.(DlpServiceServer).DeleteStoredInfoType(ctx, req.(*DeleteStoredInfoTypeRequest))
  13058. }
  13059. return interceptor(ctx, in, info, handler)
  13060. }
  13061. var _DlpService_serviceDesc = grpc.ServiceDesc{
  13062. ServiceName: "google.privacy.dlp.v2.DlpService",
  13063. HandlerType: (*DlpServiceServer)(nil),
  13064. Methods: []grpc.MethodDesc{
  13065. {
  13066. MethodName: "InspectContent",
  13067. Handler: _DlpService_InspectContent_Handler,
  13068. },
  13069. {
  13070. MethodName: "RedactImage",
  13071. Handler: _DlpService_RedactImage_Handler,
  13072. },
  13073. {
  13074. MethodName: "DeidentifyContent",
  13075. Handler: _DlpService_DeidentifyContent_Handler,
  13076. },
  13077. {
  13078. MethodName: "ReidentifyContent",
  13079. Handler: _DlpService_ReidentifyContent_Handler,
  13080. },
  13081. {
  13082. MethodName: "ListInfoTypes",
  13083. Handler: _DlpService_ListInfoTypes_Handler,
  13084. },
  13085. {
  13086. MethodName: "CreateInspectTemplate",
  13087. Handler: _DlpService_CreateInspectTemplate_Handler,
  13088. },
  13089. {
  13090. MethodName: "UpdateInspectTemplate",
  13091. Handler: _DlpService_UpdateInspectTemplate_Handler,
  13092. },
  13093. {
  13094. MethodName: "GetInspectTemplate",
  13095. Handler: _DlpService_GetInspectTemplate_Handler,
  13096. },
  13097. {
  13098. MethodName: "ListInspectTemplates",
  13099. Handler: _DlpService_ListInspectTemplates_Handler,
  13100. },
  13101. {
  13102. MethodName: "DeleteInspectTemplate",
  13103. Handler: _DlpService_DeleteInspectTemplate_Handler,
  13104. },
  13105. {
  13106. MethodName: "CreateDeidentifyTemplate",
  13107. Handler: _DlpService_CreateDeidentifyTemplate_Handler,
  13108. },
  13109. {
  13110. MethodName: "UpdateDeidentifyTemplate",
  13111. Handler: _DlpService_UpdateDeidentifyTemplate_Handler,
  13112. },
  13113. {
  13114. MethodName: "GetDeidentifyTemplate",
  13115. Handler: _DlpService_GetDeidentifyTemplate_Handler,
  13116. },
  13117. {
  13118. MethodName: "ListDeidentifyTemplates",
  13119. Handler: _DlpService_ListDeidentifyTemplates_Handler,
  13120. },
  13121. {
  13122. MethodName: "DeleteDeidentifyTemplate",
  13123. Handler: _DlpService_DeleteDeidentifyTemplate_Handler,
  13124. },
  13125. {
  13126. MethodName: "CreateJobTrigger",
  13127. Handler: _DlpService_CreateJobTrigger_Handler,
  13128. },
  13129. {
  13130. MethodName: "UpdateJobTrigger",
  13131. Handler: _DlpService_UpdateJobTrigger_Handler,
  13132. },
  13133. {
  13134. MethodName: "GetJobTrigger",
  13135. Handler: _DlpService_GetJobTrigger_Handler,
  13136. },
  13137. {
  13138. MethodName: "ListJobTriggers",
  13139. Handler: _DlpService_ListJobTriggers_Handler,
  13140. },
  13141. {
  13142. MethodName: "DeleteJobTrigger",
  13143. Handler: _DlpService_DeleteJobTrigger_Handler,
  13144. },
  13145. {
  13146. MethodName: "ActivateJobTrigger",
  13147. Handler: _DlpService_ActivateJobTrigger_Handler,
  13148. },
  13149. {
  13150. MethodName: "CreateDlpJob",
  13151. Handler: _DlpService_CreateDlpJob_Handler,
  13152. },
  13153. {
  13154. MethodName: "ListDlpJobs",
  13155. Handler: _DlpService_ListDlpJobs_Handler,
  13156. },
  13157. {
  13158. MethodName: "GetDlpJob",
  13159. Handler: _DlpService_GetDlpJob_Handler,
  13160. },
  13161. {
  13162. MethodName: "DeleteDlpJob",
  13163. Handler: _DlpService_DeleteDlpJob_Handler,
  13164. },
  13165. {
  13166. MethodName: "CancelDlpJob",
  13167. Handler: _DlpService_CancelDlpJob_Handler,
  13168. },
  13169. {
  13170. MethodName: "CreateStoredInfoType",
  13171. Handler: _DlpService_CreateStoredInfoType_Handler,
  13172. },
  13173. {
  13174. MethodName: "UpdateStoredInfoType",
  13175. Handler: _DlpService_UpdateStoredInfoType_Handler,
  13176. },
  13177. {
  13178. MethodName: "GetStoredInfoType",
  13179. Handler: _DlpService_GetStoredInfoType_Handler,
  13180. },
  13181. {
  13182. MethodName: "ListStoredInfoTypes",
  13183. Handler: _DlpService_ListStoredInfoTypes_Handler,
  13184. },
  13185. {
  13186. MethodName: "DeleteStoredInfoType",
  13187. Handler: _DlpService_DeleteStoredInfoType_Handler,
  13188. },
  13189. },
  13190. Streams: []grpc.StreamDesc{},
  13191. Metadata: "google/privacy/dlp/v2/dlp.proto",
  13192. }
  13193. func init() {
  13194. proto.RegisterFile("google/privacy/dlp/v2/dlp.proto", fileDescriptor_dlp_9184f835f60c3220)
  13195. }
  13196. var fileDescriptor_dlp_9184f835f60c3220 = []byte{
  13197. // 9262 bytes of a gzipped FileDescriptorProto
  13198. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x7d, 0x5b, 0x8c, 0x1b, 0x59,
  13199. 0x76, 0x58, 0x17, 0xd9, 0xec, 0x26, 0x0f, 0x9b, 0x6c, 0xf6, 0xed, 0x87, 0x5a, 0x94, 0xb4, 0xd2,
  13200. 0x94, 0x66, 0x24, 0x4d, 0x4b, 0xea, 0x9e, 0xe9, 0x79, 0x3f, 0x76, 0x76, 0xd9, 0x24, 0x25, 0x52,
  13201. 0xd3, 0x2f, 0x15, 0xd9, 0xd2, 0x48, 0x1e, 0x4c, 0xa5, 0x9a, 0xbc, 0xcd, 0x2e, 0x35, 0xc9, 0xa2,
  13202. 0xaa, 0x8a, 0x52, 0xf7, 0xd8, 0x0e, 0xd6, 0x41, 0x12, 0xc3, 0x88, 0x07, 0xde, 0xc0, 0xd9, 0x6c,
  13203. 0x62, 0x3b, 0x1b, 0x27, 0x0e, 0x10, 0xc4, 0x80, 0x9d, 0x04, 0x8e, 0x1d, 0x24, 0xb1, 0xf3, 0x61,
  13204. 0x07, 0x36, 0x60, 0x38, 0xc1, 0x6e, 0x26, 0x1f, 0x09, 0x82, 0x05, 0x92, 0x4d, 0x9c, 0x18, 0x18,
  13205. 0xff, 0x04, 0xc8, 0x8f, 0x93, 0x9f, 0xe0, 0x3e, 0xea, 0xc9, 0x2a, 0xb2, 0xd8, 0xd2, 0x64, 0x8d,
  13206. 0xfd, 0x22, 0xef, 0xb9, 0xe7, 0x9c, 0x7b, 0xee, 0xb9, 0xe7, 0x9e, 0x7b, 0xee, 0xb3, 0xe0, 0x62,
  13207. 0x4b, 0xd3, 0x5a, 0x6d, 0xbc, 0xd6, 0xd3, 0xd5, 0x27, 0x4a, 0xe3, 0x64, 0xad, 0xd9, 0xee, 0xad,
  13208. 0x3d, 0x59, 0x27, 0x3f, 0xab, 0x3d, 0x5d, 0x33, 0x35, 0xb4, 0xc8, 0x10, 0x56, 0x39, 0xc2, 0x2a,
  13209. 0xc9, 0x79, 0xb2, 0x9e, 0x3f, 0xcf, 0xe9, 0x94, 0x9e, 0xba, 0xa6, 0x74, 0xbb, 0x9a, 0xa9, 0x98,
  13210. 0xaa, 0xd6, 0x35, 0x18, 0x51, 0xfe, 0x72, 0x30, 0x57, 0xc3, 0xd4, 0x74, 0xa5, 0x85, 0x39, 0xd2,
  13211. 0x57, 0x6c, 0x24, 0xcd, 0xd4, 0xf6, 0xfb, 0x07, 0x6b, 0xcd, 0xbe, 0x4e, 0xb9, 0xf0, 0xfc, 0x73,
  13212. 0xfe, 0x7c, 0xdc, 0xe9, 0x99, 0x27, 0x3c, 0xf3, 0x92, 0x3f, 0xf3, 0x40, 0xc5, 0xed, 0xa6, 0xdc,
  13213. 0x51, 0x8c, 0x23, 0x8e, 0x71, 0xd1, 0x8f, 0x61, 0xaa, 0x1d, 0x6c, 0x98, 0x4a, 0x87, 0xd7, 0x2c,
  13214. 0x7f, 0x86, 0x23, 0xe8, 0xbd, 0xc6, 0x9a, 0x61, 0x2a, 0x66, 0xdf, 0x92, 0x7e, 0x89, 0x67, 0x98,
  13215. 0x27, 0x3d, 0xbc, 0xd6, 0x54, 0x4c, 0xec, 0x13, 0x88, 0xc3, 0x4f, 0xb4, 0x83, 0xa7, 0x18, 0x1f,
  13216. 0x05, 0x65, 0x92, 0xa2, 0xb4, 0x83, 0xa6, 0xc2, 0xa5, 0x15, 0x25, 0xc8, 0x95, 0x8f, 0x1b, 0xed,
  13217. 0x7e, 0x13, 0x57, 0xbb, 0x07, 0x5a, 0xfd, 0xa4, 0x87, 0x0d, 0xf4, 0x01, 0x80, 0xda, 0x3d, 0xd0,
  13218. 0x64, 0x42, 0x60, 0x2c, 0x0b, 0x97, 0xe2, 0xd7, 0xd2, 0xeb, 0x17, 0x57, 0x03, 0xb5, 0xbd, 0x6a,
  13219. 0x51, 0x49, 0x29, 0xd5, 0xa2, 0x17, 0x3f, 0x8f, 0x41, 0x86, 0x32, 0x35, 0x54, 0xad, 0x2b, 0xf5,
  13220. 0xdb, 0x18, 0x49, 0x00, 0x4d, 0xb5, 0x41, 0x34, 0xa8, 0xe8, 0x27, 0xcb, 0xc2, 0x25, 0xe1, 0x5a,
  13221. 0x7a, 0xfd, 0x95, 0x10, 0x8e, 0xc5, 0xbe, 0x61, 0x6a, 0x1d, 0x8b, 0xef, 0x6a, 0xc9, 0xa6, 0xab,
  13222. 0x4c, 0x48, 0x2e, 0x2e, 0xa8, 0x08, 0x09, 0x1d, 0xb7, 0xf0, 0xf1, 0x72, 0x8c, 0xb2, 0xbb, 0x1e,
  13223. 0x8d, 0x9d, 0x44, 0x48, 0x2a, 0x13, 0x12, 0xa3, 0x45, 0xf7, 0x01, 0x61, 0x56, 0x7d, 0xd9, 0x55,
  13224. 0xe5, 0x38, 0xe5, 0x78, 0x35, 0x84, 0xa3, 0x5f, 0x5f, 0x95, 0x09, 0x29, 0x87, 0xfd, 0x3a, 0xac,
  13225. 0x40, 0xa6, 0xa3, 0x98, 0x8d, 0x43, 0xb5, 0xdb, 0xa2, 0x4c, 0x97, 0x27, 0x2f, 0x09, 0xd7, 0xb2,
  13226. 0xeb, 0x97, 0x43, 0x78, 0x6e, 0x71, 0x5c, 0xaa, 0xca, 0x99, 0x8e, 0x2b, 0xb5, 0x31, 0x05, 0x93,
  13227. 0x84, 0x81, 0xf8, 0x6f, 0x05, 0xc8, 0x56, 0xbb, 0x46, 0x0f, 0x53, 0x0d, 0x50, 0xb5, 0x36, 0x61,
  13228. 0xe6, 0x50, 0x33, 0x9f, 0x6a, 0x7a, 0x53, 0xd6, 0xfb, 0x6d, 0xcc, 0x15, 0xfb, 0xb5, 0x88, 0x8a,
  13229. 0xc5, 0xa6, 0xc3, 0x6a, 0xb5, 0xc2, 0xf8, 0x90, 0xff, 0x95, 0x09, 0x29, 0x7d, 0xe8, 0x24, 0xd1,
  13230. 0x16, 0x64, 0xb1, 0xd5, 0x9a, 0xac, 0x1c, 0xa6, 0xf1, 0x17, 0x87, 0xe9, 0xc7, 0x6a, 0xfa, 0xca,
  13231. 0x84, 0x94, 0xc1, 0x6e, 0x80, 0x5d, 0x9f, 0x6f, 0x0a, 0x30, 0xe7, 0xad, 0x4f, 0x0d, 0x9b, 0xcf,
  13232. 0x6a, 0x7b, 0xe8, 0x3d, 0x48, 0x10, 0x11, 0x8d, 0xe5, 0x18, 0x25, 0x7d, 0x29, 0x94, 0xd4, 0x5d,
  13233. 0xb0, 0xc4, 0x68, 0xc4, 0xcf, 0xa6, 0x21, 0xc3, 0x73, 0x8a, 0x5a, 0xf7, 0x40, 0x6d, 0x3d, 0xb3,
  13234. 0x38, 0x15, 0xc8, 0x76, 0xd4, 0xae, 0xdc, 0x56, 0x8f, 0x70, 0x5b, 0x3d, 0xd4, 0xb4, 0x26, 0xd5,
  13235. 0x5d, 0x76, 0xfd, 0x85, 0x10, 0x1e, 0x9b, 0x36, 0xa2, 0x94, 0xe9, 0xa8, 0x5d, 0x27, 0x89, 0xee,
  13236. 0xc0, 0x54, 0x5b, 0xed, 0xa8, 0xa6, 0x65, 0x9d, 0xeb, 0xc3, 0x6b, 0xc6, 0xe4, 0x5f, 0xbd, 0xa5,
  13237. 0x76, 0x9b, 0x6a, 0xb7, 0xb5, 0x49, 0x29, 0x25, 0xce, 0x01, 0x5d, 0x86, 0x8c, 0xda, 0x65, 0x56,
  13238. 0xff, 0xb8, 0xaf, 0x99, 0xcc, 0x38, 0x93, 0xd2, 0x0c, 0x07, 0xde, 0x25, 0x30, 0x74, 0x23, 0xb0,
  13239. 0x6b, 0x24, 0x28, 0xe6, 0xa0, 0xbd, 0xdf, 0x85, 0xb9, 0x06, 0xb5, 0x2f, 0x37, 0xf2, 0xd4, 0xd0,
  13240. 0x36, 0xf0, 0xda, 0xa3, 0x34, 0xdb, 0xf0, 0xa4, 0x0d, 0xb4, 0x05, 0xb3, 0x0d, 0xad, 0x6b, 0xe2,
  13241. 0xae, 0x29, 0x6b, 0x3d, 0xea, 0xc3, 0x97, 0x93, 0x97, 0xe2, 0xd7, 0xb2, 0xa1, 0x86, 0x57, 0x64,
  13242. 0xd8, 0x3b, 0x14, 0x59, 0xca, 0x36, 0xdc, 0x49, 0x03, 0x15, 0x21, 0x49, 0x5a, 0x59, 0x36, 0xb0,
  13243. 0xb9, 0x0c, 0x54, 0xb0, 0x6b, 0x91, 0x8c, 0xa3, 0x86, 0x4d, 0x69, 0x5a, 0x67, 0x7f, 0xf2, 0x5f,
  13244. 0xc4, 0x20, 0xe3, 0xd1, 0x29, 0x7a, 0x15, 0x16, 0x3b, 0xca, 0xb1, 0x7c, 0xc0, 0x80, 0x86, 0xdc,
  13245. 0xc3, 0xba, 0xac, 0x9a, 0xb8, 0x43, 0x3b, 0x63, 0x42, 0x42, 0x1d, 0xe5, 0x98, 0x13, 0x18, 0xbb,
  13246. 0x58, 0xaf, 0x9a, 0xb8, 0x83, 0xde, 0x82, 0xe5, 0x01, 0x12, 0x1d, 0x3f, 0xee, 0x63, 0xc3, 0xa4,
  13247. 0xe6, 0x91, 0x90, 0x16, 0xbd, 0x54, 0x12, 0xcb, 0x44, 0x3f, 0x01, 0xf9, 0xc1, 0xb2, 0x2c, 0x75,
  13248. 0x2f, 0xc7, 0x69, 0xa5, 0xbe, 0x3e, 0xbe, 0x5d, 0xd8, 0x96, 0x4b, 0x93, 0xd2, 0x92, 0x4f, 0x64,
  13249. 0x9e, 0x99, 0xef, 0x91, 0xce, 0xe1, 0x42, 0x44, 0xef, 0x43, 0xca, 0x29, 0x9d, 0xf9, 0x9e, 0x91,
  13250. 0x7d, 0x23, 0x69, 0xf5, 0x0d, 0xf4, 0x02, 0xcc, 0xb8, 0x2b, 0xc3, 0x6b, 0x9e, 0x76, 0x15, 0x2e,
  13251. 0x7e, 0x21, 0xc0, 0xec, 0xc6, 0x89, 0x89, 0x79, 0xc3, 0x52, 0xe5, 0x95, 0x98, 0xfb, 0xa0, 0xe5,
  13252. 0x65, 0x43, 0x07, 0x11, 0x1f, 0x15, 0x4d, 0x1b, 0x54, 0x00, 0x4a, 0x8d, 0x10, 0x4c, 0x36, 0x15,
  13253. 0x53, 0xa1, 0x85, 0xce, 0x48, 0xf4, 0xbf, 0xf8, 0x17, 0x21, 0x65, 0xa3, 0xa1, 0x3c, 0x2c, 0x6d,
  13254. 0x3c, 0xa8, 0x97, 0x6b, 0x72, 0xfd, 0xc1, 0x6e, 0x59, 0xde, 0xdb, 0xae, 0xed, 0x96, 0x8b, 0xd5,
  13255. 0x5b, 0xd5, 0x72, 0x29, 0x37, 0x81, 0x52, 0x90, 0xa8, 0x6e, 0x15, 0x6e, 0x97, 0x73, 0x53, 0x28,
  13256. 0x0b, 0x40, 0xff, 0xca, 0x77, 0x76, 0xcb, 0xb7, 0x73, 0x02, 0xca, 0x40, 0x8a, 0xa5, 0x37, 0xb6,
  13257. 0x76, 0x73, 0x31, 0x27, 0xb9, 0xbb, 0x7d, 0x3b, 0x17, 0x77, 0x92, 0xb5, 0x7b, 0xb7, 0x73, 0x93,
  13258. 0x24, 0x59, 0x2f, 0x7f, 0x54, 0x97, 0xf7, 0xea, 0xb7, 0xde, 0xce, 0x25, 0xc4, 0x7f, 0x2c, 0x40,
  13259. 0xda, 0x5d, 0xd3, 0x25, 0x48, 0x3c, 0x51, 0xda, 0x7d, 0x4c, 0x3b, 0x7c, 0x8a, 0x8c, 0x59, 0x34,
  13260. 0x89, 0x5e, 0x87, 0x84, 0xa9, 0xec, 0xb7, 0x59, 0xaf, 0x4d, 0xaf, 0x9f, 0x0f, 0x51, 0x41, 0x9d,
  13261. 0xe0, 0x10, 0x2a, 0x8a, 0x8c, 0xca, 0x90, 0xda, 0x3f, 0x31, 0x31, 0xb3, 0xcd, 0x04, 0xa5, 0xbc,
  13262. 0x12, 0x4d, 0x79, 0x95, 0x09, 0x29, 0x49, 0x48, 0xc9, 0xff, 0x8d, 0x34, 0xa4, 0x88, 0xb2, 0x28,
  13263. 0x1b, 0xf1, 0x9f, 0x09, 0x90, 0xa0, 0xc5, 0xa0, 0xb7, 0x61, 0xfa, 0x10, 0x2b, 0x4d, 0xac, 0x5b,
  13264. 0x4e, 0xf2, 0x2b, 0x21, 0xbc, 0x6f, 0x91, 0x60, 0xa8, 0xda, 0x94, 0x2c, 0x74, 0xf4, 0x3a, 0x4c,
  13265. 0xea, 0xda, 0x53, 0xcb, 0x5f, 0x5f, 0x1a, 0x56, 0x99, 0x55, 0x49, 0x7b, 0x2a, 0x51, 0xec, 0xfc,
  13266. 0x7b, 0x10, 0x97, 0xb4, 0xa7, 0xe8, 0x75, 0x98, 0xa2, 0x3a, 0xb1, 0x4a, 0x0d, 0xd3, 0xc5, 0x3d,
  13267. 0x82, 0x24, 0x71, 0x5c, 0xf1, 0x53, 0xdb, 0xcb, 0x4b, 0xd8, 0xe8, 0xb7, 0x4d, 0xf4, 0x2e, 0x24,
  13268. 0x6d, 0x33, 0x1c, 0x25, 0x3e, 0x45, 0x93, 0x6c, 0x7c, 0x74, 0x13, 0x90, 0xdd, 0x1f, 0x4d, 0xbd,
  13269. 0xdf, 0x6d, 0x28, 0x26, 0x66, 0x5e, 0x3e, 0x29, 0xcd, 0x59, 0x39, 0x75, 0x2b, 0x43, 0xfc, 0xcf,
  13270. 0x31, 0x98, 0xe6, 0x4c, 0xd0, 0x02, 0x24, 0x98, 0xfb, 0x25, 0xb6, 0x9c, 0x92, 0x58, 0xc2, 0xdb,
  13271. 0xab, 0x62, 0xe3, 0xf6, 0xaa, 0x02, 0x80, 0x6b, 0xb0, 0x89, 0x47, 0x1d, 0x6c, 0x5c, 0x44, 0xe8,
  13272. 0x3d, 0x48, 0xb6, 0xb5, 0x06, 0x8d, 0x77, 0xb9, 0x89, 0x85, 0x95, 0xbf, 0xc9, 0xd1, 0x24, 0x9b,
  13273. 0x00, 0xbd, 0x07, 0xe9, 0x86, 0x8e, 0x15, 0x13, 0xcb, 0x24, 0xd2, 0x5c, 0x9e, 0xa2, 0xf4, 0x79,
  13274. 0x87, 0x9e, 0x45, 0xbc, 0xab, 0x75, 0x2b, 0xe2, 0x95, 0x80, 0xa1, 0x13, 0x00, 0xfa, 0x1a, 0x00,
  13275. 0xd5, 0x01, 0x75, 0x6a, 0xcb, 0xd3, 0x94, 0x36, 0xcc, 0x22, 0xe8, 0x20, 0x45, 0x14, 0x20, 0xa5,
  13276. 0x1e, 0x5b, 0x7f, 0xc5, 0xff, 0x26, 0x40, 0x72, 0xd3, 0x11, 0x05, 0xa8, 0xc5, 0xeb, 0x4a, 0xb7,
  13277. 0x65, 0xf9, 0xa7, 0x30, 0x03, 0x91, 0x08, 0x8e, 0x44, 0x7b, 0x08, 0xfd, 0x8b, 0xca, 0x64, 0xf0,
  13278. 0x69, 0xe2, 0x9e, 0xa6, 0x76, 0x4d, 0xce, 0x21, 0x16, 0x81, 0x43, 0xd6, 0x26, 0x62, 0x6c, 0x6a,
  13279. 0x30, 0x67, 0x8d, 0x61, 0x96, 0x8a, 0x8c, 0xe5, 0x69, 0x6a, 0x62, 0x57, 0x86, 0x8f, 0x62, 0xb6,
  13280. 0x6e, 0x73, 0x0d, 0x2f, 0xc0, 0x10, 0xff, 0x79, 0x1c, 0x66, 0x7d, 0x58, 0xe8, 0x25, 0xa0, 0xe3,
  13281. 0x9d, 0xa2, 0x76, 0xb1, 0x2e, 0x77, 0x95, 0x8e, 0x65, 0x54, 0x19, 0x1b, 0xba, 0xad, 0x74, 0x30,
  13282. 0xda, 0x85, 0x59, 0x1d, 0x37, 0x48, 0xc0, 0x68, 0x37, 0x31, 0xab, 0x56, 0xd8, 0x20, 0x2d, 0x51,
  13283. 0x6c, 0xab, 0x98, 0xca, 0x84, 0x94, 0xd5, 0x3d, 0x10, 0x12, 0x1d, 0xaa, 0x1d, 0xa5, 0x85, 0x1d,
  13284. 0x86, 0xf1, 0xa1, 0xd1, 0x61, 0x95, 0x20, 0xbb, 0xf8, 0x65, 0x54, 0x37, 0x00, 0xdd, 0x83, 0xb9,
  13285. 0xa6, 0xd6, 0xe8, 0x77, 0xdc, 0x1a, 0xe3, 0xee, 0x2a, 0x2c, 0x1e, 0x2f, 0x71, 0x7c, 0x17, 0xd3,
  13286. 0x5c, 0xd3, 0x07, 0x43, 0x1f, 0xc2, 0xbc, 0xa3, 0x1f, 0x7b, 0xbe, 0x15, 0xc1, 0x3e, 0x91, 0x4d,
  13287. 0x66, 0xc3, 0xd0, 0x75, 0xd6, 0xaa, 0x8c, 0xd9, 0x13, 0xac, 0x93, 0xd8, 0x96, 0x9a, 0x6b, 0x8a,
  13288. 0xb5, 0x16, 0xcd, 0xb8, 0xc7, 0xe0, 0x1b, 0xe0, 0x74, 0x27, 0xf1, 0x35, 0xc8, 0xf9, 0xa5, 0x45,
  13289. 0x17, 0x21, 0x7d, 0xa0, 0xb6, 0xb1, 0xac, 0x1d, 0x1c, 0x90, 0xd0, 0x84, 0x34, 0x5b, 0x5c, 0x02,
  13290. 0x02, 0xda, 0xa1, 0x10, 0xf1, 0x3f, 0x09, 0x90, 0xf5, 0x36, 0x03, 0xe9, 0x28, 0xbc, 0x19, 0x8f,
  13291. 0xb0, 0x35, 0x9f, 0xba, 0x34, 0xb4, 0x05, 0x3f, 0xc4, 0x27, 0x52, 0x4a, 0xb7, 0xfe, 0xa2, 0x77,
  13292. 0x88, 0xc7, 0x23, 0xd3, 0x52, 0xb5, 0xc9, 0x0d, 0x60, 0xa4, 0xc3, 0x3e, 0x60, 0x7f, 0xd0, 0x87,
  13293. 0x90, 0xa5, 0x23, 0x4a, 0xd4, 0x06, 0xa7, 0xae, 0xdb, 0xb6, 0xe6, 0x8c, 0xe9, 0x4e, 0x8a, 0x37,
  13294. 0x20, 0xe3, 0xc9, 0x47, 0xe7, 0x20, 0xa5, 0x6b, 0x4f, 0x65, 0xb5, 0xdb, 0xc4, 0xc7, 0x5c, 0x17,
  13295. 0x49, 0x5d, 0x7b, 0x5a, 0x25, 0x69, 0x71, 0x0d, 0x12, 0xac, 0x5b, 0x2d, 0x40, 0xc2, 0x30, 0x15,
  13296. 0xdd, 0xd2, 0x16, 0x4b, 0xa0, 0x1c, 0xc4, 0x71, 0x97, 0xd5, 0x27, 0x2e, 0x91, 0xbf, 0xe2, 0x43,
  13297. 0xc8, 0x78, 0xec, 0x0d, 0x55, 0x21, 0xbb, 0xaf, 0xf5, 0xa9, 0xfb, 0x95, 0xf7, 0xb5, 0x63, 0x7b,
  13298. 0xe0, 0x10, 0xc3, 0x86, 0x42, 0x8e, 0xbc, 0xa1, 0x1d, 0x4b, 0x99, 0x7d, 0x27, 0x81, 0x0d, 0x51,
  13299. 0x81, 0xb4, 0x2b, 0x97, 0x14, 0x6e, 0x6a, 0x3d, 0x1e, 0xf5, 0x91, 0xbf, 0x24, 0xc6, 0x68, 0xe3,
  13300. 0x03, 0x2b, 0xa4, 0xa3, 0xff, 0x89, 0xe0, 0x4f, 0xd5, 0xa6, 0x79, 0x48, 0x75, 0x96, 0x90, 0x58,
  13301. 0x02, 0x2d, 0xc1, 0xd4, 0x21, 0x56, 0x5b, 0x87, 0x26, 0xf5, 0xb7, 0x09, 0x89, 0xa7, 0xc4, 0xdf,
  13302. 0x9c, 0x04, 0x24, 0xe1, 0xa6, 0xd2, 0x30, 0x69, 0x2d, 0xac, 0x30, 0x70, 0x09, 0xa6, 0x7a, 0x8a,
  13303. 0x8e, 0xbb, 0x26, 0xef, 0xe3, 0x3c, 0x45, 0x5a, 0x46, 0x65, 0xe3, 0x9a, 0xdc, 0xa0, 0x61, 0xde,
  13304. 0x88, 0x89, 0x9a, 0x27, 0x24, 0x94, 0x32, 0xaa, 0x67, 0xe6, 0xf3, 0x04, 0xce, 0xb0, 0x7e, 0xad,
  13305. 0x53, 0x01, 0xc8, 0xdc, 0x8f, 0x31, 0x25, 0x73, 0x00, 0xa2, 0xb2, 0x0f, 0x42, 0xed, 0xcd, 0x2f,
  13306. 0xf0, 0x2a, 0x4f, 0x70, 0x3e, 0xbc, 0xbc, 0x45, 0x35, 0x00, 0x6a, 0xa0, 0x97, 0x21, 0x67, 0xcd,
  13307. 0x4d, 0xec, 0x31, 0x79, 0x8a, 0x8e, 0xa6, 0xb3, 0x1c, 0x6e, 0x85, 0x87, 0xa8, 0xe8, 0x0e, 0x69,
  13308. 0xa6, 0xc7, 0x09, 0x69, 0x9c, 0x80, 0x26, 0xff, 0x3d, 0x01, 0x16, 0x82, 0xe4, 0x43, 0x1f, 0x8c,
  13309. 0x1f, 0xdd, 0x92, 0x48, 0xc9, 0x1e, 0x89, 0xaf, 0x11, 0x57, 0x4b, 0x58, 0xca, 0x4a, 0xbb, 0x2d,
  13310. 0x9b, 0xf8, 0x98, 0x59, 0x42, 0x92, 0xf8, 0x3c, 0x96, 0x51, 0x68, 0xb7, 0xeb, 0xf8, 0xd8, 0x24,
  13311. 0x63, 0x8d, 0x5b, 0xc9, 0x6d, 0x4d, 0xe7, 0x5d, 0xea, 0x7c, 0xe8, 0x10, 0xd1, 0xd6, 0x74, 0xe2,
  13312. 0x89, 0x6d, 0x89, 0xdb, 0x9a, 0xbe, 0x91, 0x84, 0x29, 0x53, 0xd1, 0x5b, 0xd8, 0x14, 0x8b, 0x90,
  13313. 0xa0, 0x20, 0x62, 0x94, 0x3a, 0x6e, 0x52, 0xe9, 0x63, 0x12, 0xf9, 0x4b, 0x0c, 0xb0, 0xa5, 0x63,
  13314. 0xcc, 0xdc, 0x7e, 0x4c, 0x62, 0x09, 0x62, 0xaa, 0xfb, 0x56, 0xa4, 0x19, 0x93, 0xe8, 0x7f, 0xf1,
  13315. 0x9f, 0x08, 0x30, 0xef, 0x69, 0x4b, 0xa3, 0xa7, 0x75, 0x0d, 0x4c, 0x46, 0x1a, 0x56, 0x30, 0x6e,
  13316. 0xca, 0xb4, 0x09, 0x29, 0xfb, 0x19, 0xab, 0x52, 0xb8, 0x49, 0xd1, 0x09, 0x1a, 0x3e, 0x36, 0x75,
  13317. 0x86, 0x67, 0xd7, 0x3e, 0x25, 0x65, 0x6c, 0x28, 0xad, 0xbb, 0xcb, 0x66, 0x75, 0x1a, 0x8c, 0x8d,
  13318. 0x1a, 0x3e, 0xdc, 0x81, 0x9b, 0x6d, 0xb3, 0x2c, 0x29, 0xfe, 0xdf, 0x18, 0x2c, 0x97, 0xb0, 0xda,
  13319. 0xc4, 0x5d, 0x53, 0x3d, 0x38, 0xe1, 0xed, 0x3d, 0xaa, 0xd7, 0xd4, 0x61, 0xae, 0x69, 0xd3, 0x78,
  13320. 0x3b, 0x4e, 0xe8, 0x88, 0xe3, 0x2e, 0x83, 0xd8, 0x72, 0xae, 0xe9, 0x83, 0x04, 0xf4, 0xc5, 0xf8,
  13321. 0xe9, 0xfb, 0xe2, 0x9b, 0x30, 0x49, 0x6d, 0x9c, 0x45, 0x63, 0xe2, 0xf0, 0xc0, 0x81, 0xda, 0x37,
  13322. 0xc5, 0x47, 0xeb, 0xb0, 0x68, 0x09, 0x61, 0xe2, 0x4e, 0xaf, 0x4d, 0xc2, 0x32, 0x1a, 0x1b, 0x24,
  13323. 0xa8, 0x06, 0xe6, 0x79, 0x66, 0x9d, 0xe7, 0xd1, 0x08, 0xe1, 0x6d, 0x58, 0x76, 0xa9, 0xc3, 0x4b,
  13324. 0x36, 0x45, 0xc9, 0x96, 0x9c, 0x7c, 0x37, 0xa5, 0xf8, 0x1d, 0x01, 0xce, 0x06, 0x68, 0x9f, 0x9b,
  13325. 0x8d, 0x55, 0x07, 0x61, 0xcc, 0x3a, 0x54, 0x21, 0xa9, 0x3d, 0xc1, 0xfa, 0x13, 0x15, 0x3f, 0xe5,
  13326. 0xad, 0x72, 0x33, 0x6c, 0xa0, 0xd1, 0x95, 0xae, 0x71, 0xa0, 0xe9, 0x1d, 0xea, 0xea, 0x77, 0x38,
  13327. 0x91, 0x64, 0x93, 0x53, 0xf3, 0x90, 0x4e, 0x61, 0x1e, 0xfa, 0x33, 0x9b, 0x87, 0xfe, 0xa3, 0x64,
  13328. 0x1e, 0xfa, 0x08, 0xf3, 0xd0, 0xc3, 0xcd, 0x43, 0xfa, 0xf3, 0x6c, 0x1e, 0x7f, 0x22, 0xc0, 0xa2,
  13329. 0xa3, 0xe7, 0x28, 0xb6, 0xf1, 0x5c, 0x07, 0x5c, 0x4b, 0x03, 0xf1, 0xe7, 0xd5, 0x8a, 0x93, 0xa1,
  13330. 0xad, 0x28, 0xde, 0x83, 0x25, 0x7f, 0x4d, 0x79, 0x3b, 0xbc, 0x0f, 0x53, 0xdc, 0x0f, 0x0b, 0x63,
  13331. 0xf8, 0x61, 0x4e, 0x23, 0xfe, 0x51, 0x0c, 0xe6, 0x77, 0xfa, 0x66, 0xaf, 0x6f, 0xd6, 0xd8, 0x86,
  13332. 0x0a, 0xaf, 0xdb, 0xfb, 0xd6, 0x92, 0xc5, 0x70, 0xa6, 0x1b, 0x6a, 0xeb, 0x6e, 0x1f, 0xeb, 0x27,
  13333. 0xbe, 0xa5, 0x8b, 0x8f, 0x21, 0xa3, 0x51, 0xa6, 0xb2, 0xd1, 0x38, 0xc4, 0x1d, 0x85, 0x4f, 0x6b,
  13334. 0xdf, 0x0a, 0xe1, 0x12, 0x20, 0x80, 0x05, 0xa3, 0xe4, 0xd2, 0x8c, 0xe6, 0x4a, 0x89, 0xdf, 0x14,
  13335. 0x60, 0xc6, 0x9d, 0x8d, 0x2e, 0xc0, 0xd9, 0x9d, 0xbd, 0xfa, 0xee, 0x5e, 0x5d, 0xae, 0x15, 0x2b,
  13336. 0xe5, 0xad, 0x82, 0x6f, 0xf5, 0x67, 0x0e, 0x32, 0x1b, 0x85, 0x5a, 0xb5, 0x28, 0x17, 0x77, 0x36,
  13337. 0xf7, 0xb6, 0xb6, 0x6b, 0x39, 0x01, 0xcd, 0x42, 0xfa, 0x76, 0xb1, 0x66, 0x03, 0x62, 0x68, 0x11,
  13338. 0xe6, 0x4a, 0x85, 0x7a, 0xa1, 0x56, 0xdf, 0x91, 0xca, 0x36, 0x38, 0x4e, 0xc0, 0x1b, 0xd5, 0xdb,
  13339. 0xf2, 0xdd, 0xbd, 0xb2, 0xf4, 0xc0, 0x06, 0x4f, 0x12, 0xf2, 0xc2, 0xe6, 0xa6, 0x0d, 0x48, 0xd8,
  13340. 0x4b, 0xe4, 0x0d, 0x67, 0xc5, 0xad, 0x66, 0x2a, 0xa6, 0xf1, 0x8c, 0x2b, 0x6e, 0x0b, 0x90, 0x68,
  13341. 0x68, 0xfd, 0xae, 0xc9, 0x23, 0x64, 0x96, 0x10, 0xbf, 0x3b, 0x09, 0xcb, 0xbc, 0x35, 0x4b, 0x8a,
  13342. 0xa9, 0xd4, 0xb4, 0xbe, 0xde, 0xc0, 0x25, 0x6c, 0x2a, 0x6a, 0xdb, 0x40, 0x1d, 0xe2, 0xfd, 0x68,
  13343. 0x27, 0xc0, 0x4d, 0x7b, 0x15, 0x96, 0x19, 0xf9, 0x88, 0x85, 0xc6, 0x01, 0x5e, 0xab, 0x92, 0xc5,
  13344. 0x88, 0xaf, 0xc8, 0x12, 0xb7, 0xe8, 0x85, 0xa0, 0x6d, 0xdb, 0xfa, 0x58, 0x2f, 0x78, 0x73, 0xfc,
  13345. 0x32, 0xdc, 0xf6, 0x98, 0xff, 0xd7, 0x02, 0xe4, 0xfc, 0xc5, 0xa2, 0x7d, 0x38, 0x6b, 0x74, 0x95,
  13346. 0x9e, 0x71, 0xa8, 0x99, 0xb2, 0xbf, 0xe7, 0x70, 0xa5, 0x5e, 0x19, 0x5e, 0xae, 0xd5, 0x97, 0xa4,
  13347. 0x33, 0x16, 0x23, 0x5f, 0x06, 0xba, 0x05, 0xf0, 0x48, 0xdb, 0xf7, 0xfa, 0xf6, 0xab, 0xc3, 0x99,
  13348. 0xde, 0xd1, 0xf6, 0xb9, 0x63, 0x48, 0x3d, 0xb2, 0xfe, 0xe6, 0x7f, 0x43, 0x80, 0x29, 0xbe, 0x48,
  13349. 0x75, 0x15, 0x66, 0x7b, 0xba, 0xd6, 0xc0, 0x86, 0x81, 0x9b, 0x32, 0x09, 0x5f, 0x0d, 0x3e, 0xfb,
  13350. 0xc9, 0xda, 0x60, 0xba, 0x7c, 0x49, 0x1c, 0x82, 0xa9, 0x99, 0x4a, 0x5b, 0xc6, 0x86, 0xa9, 0x76,
  13351. 0x14, 0xd3, 0x46, 0x67, 0xcd, 0x3e, 0x4f, 0x33, 0xcb, 0x56, 0x1e, 0xa3, 0xd9, 0x84, 0x59, 0xdb,
  13352. 0xb0, 0x64, 0x83, 0xd8, 0x1a, 0x5f, 0x4e, 0x7e, 0x71, 0x84, 0x79, 0x51, 0xbb, 0x24, 0xae, 0xcc,
  13353. 0x95, 0x14, 0x7f, 0x47, 0x80, 0x79, 0x0b, 0xa1, 0x84, 0x8d, 0x86, 0xae, 0x52, 0xd5, 0x93, 0x30,
  13354. 0xd3, 0xb5, 0x34, 0x41, 0xff, 0xa3, 0x17, 0x60, 0xa6, 0xa9, 0x1a, 0xbd, 0xb6, 0x72, 0xc2, 0xbc,
  13355. 0x16, 0x8b, 0x12, 0xd3, 0x1c, 0x46, 0xc7, 0x9c, 0x2d, 0x98, 0x31, 0xfa, 0xbd, 0x9e, 0xa6, 0xb3,
  13356. 0xaa, 0x50, 0xc9, 0xb2, 0xeb, 0x2b, 0xa3, 0x24, 0xb3, 0x48, 0x36, 0x4e, 0xa4, 0xb4, 0xe1, 0x24,
  13357. 0xd0, 0x25, 0x48, 0x37, 0x1d, 0xa1, 0xb8, 0x9b, 0x74, 0x83, 0xc4, 0x1a, 0x2c, 0x6c, 0xaa, 0x86,
  13358. 0x69, 0x6f, 0x45, 0x58, 0xe3, 0xc0, 0x65, 0xc8, 0xb4, 0x95, 0x6e, 0xab, 0x4f, 0xa6, 0x45, 0x0d,
  13359. 0xad, 0x69, 0x55, 0x64, 0xc6, 0x02, 0x16, 0xb5, 0x26, 0x26, 0x83, 0xc5, 0x81, 0xda, 0x36, 0xb1,
  13360. 0xce, 0xab, 0xc2, 0x53, 0xe2, 0x3e, 0x2c, 0xfa, 0x98, 0x72, 0x97, 0x5b, 0x0d, 0xd8, 0x63, 0x1a,
  13361. 0x55, 0x39, 0x97, 0x56, 0xdd, 0x3b, 0xaf, 0xff, 0x43, 0x80, 0x45, 0x49, 0x35, 0x8e, 0x0a, 0x5d,
  13362. 0xa5, 0x7d, 0x62, 0xa8, 0x86, 0x6d, 0x53, 0x64, 0xa8, 0xe2, 0xac, 0xe4, 0x0e, 0x36, 0x75, 0xb5,
  13363. 0x31, 0xc2, 0x15, 0xef, 0xb2, 0xe4, 0x16, 0xc5, 0x95, 0x32, 0x3d, 0x77, 0x12, 0xdd, 0x86, 0x19,
  13364. 0x83, 0x76, 0x3b, 0x99, 0x79, 0xf5, 0x58, 0x74, 0xaf, 0x2e, 0xa5, 0x19, 0x25, 0x5b, 0x36, 0x7e,
  13365. 0x0b, 0xa6, 0xd9, 0x0c, 0xc6, 0x32, 0xb7, 0x0b, 0x21, 0x3c, 0x0a, 0x6c, 0x3b, 0xc6, 0xc2, 0x16,
  13366. 0xbf, 0x2f, 0xc0, 0xf4, 0xdd, 0xbe, 0x62, 0xa8, 0xd5, 0x26, 0x7a, 0x1d, 0x12, 0x74, 0x6d, 0x82,
  13367. 0xd7, 0x68, 0xd4, 0x42, 0x06, 0x43, 0xf6, 0x4e, 0xef, 0x62, 0xe3, 0x4f, 0xef, 0x2e, 0x02, 0xf0,
  13368. 0x0d, 0x2f, 0x53, 0x69, 0xd9, 0x4b, 0xf4, 0x29, 0x06, 0xab, 0x2b, 0x2d, 0xf4, 0x3a, 0x10, 0x64,
  13369. 0xac, 0x93, 0x09, 0x18, 0x8b, 0xcc, 0x96, 0x06, 0x96, 0x99, 0xca, 0x9d, 0x9e, 0x79, 0xc2, 0xd9,
  13370. 0x52, 0xcc, 0x8d, 0x04, 0xc4, 0x4d, 0xa5, 0x25, 0xfe, 0x71, 0x0c, 0x72, 0xa4, 0x2f, 0xa9, 0x86,
  13371. 0xa9, 0x36, 0x94, 0x36, 0xd3, 0xd6, 0xbb, 0xd6, 0x28, 0x1a, 0x1f, 0x43, 0xdf, 0x7c, 0x0c, 0x7d,
  13372. 0x00, 0xa9, 0xc7, 0x44, 0x5f, 0xb2, 0xda, 0xb4, 0x6c, 0xec, 0xfd, 0x10, 0x7a, 0x7f, 0xb9, 0xab,
  13373. 0x5c, 0xd1, 0x34, 0x70, 0x53, 0xb1, 0x4e, 0x15, 0x29, 0x25, 0x1f, 0x33, 0xa8, 0x81, 0xb6, 0x00,
  13374. 0xe9, 0xb8, 0xad, 0x98, 0xea, 0x13, 0x2c, 0x1f, 0x50, 0x97, 0xde, 0x6d, 0x9c, 0x44, 0x5c, 0x55,
  13375. 0x9a, 0xb3, 0x28, 0x6f, 0x59, 0x84, 0xf9, 0x23, 0x58, 0x08, 0x2a, 0xf0, 0x94, 0xcd, 0x7c, 0xc1,
  13376. 0xd3, 0x4c, 0xac, 0x47, 0x3a, 0x8d, 0x24, 0xfe, 0xc9, 0x1c, 0x64, 0x3c, 0xa6, 0x8e, 0x1e, 0xc3,
  13377. 0x52, 0xb7, 0xdf, 0xc1, 0x3a, 0xa9, 0x3e, 0xf3, 0x84, 0x96, 0x17, 0x67, 0xe5, 0xbe, 0x13, 0xa5,
  13378. 0xc3, 0xac, 0x6e, 0x5b, 0x2c, 0xa8, 0x43, 0x64, 0x7d, 0xb0, 0x32, 0x21, 0x2d, 0x74, 0x03, 0xe0,
  13379. 0xe8, 0x29, 0x2c, 0x37, 0x14, 0x13, 0xb7, 0xb4, 0x80, 0x42, 0x99, 0x1a, 0xdf, 0x8b, 0x54, 0x68,
  13380. 0xd1, 0x61, 0xe2, 0x2d, 0x76, 0xa9, 0x11, 0x98, 0x83, 0x30, 0xa0, 0x23, 0x59, 0xe9, 0x6a, 0xdd,
  13381. 0x93, 0x8e, 0x6a, 0x9e, 0x78, 0x47, 0xab, 0x37, 0x22, 0x15, 0xf9, 0x61, 0xc1, 0xa2, 0xb6, 0x0b,
  13382. 0xcb, 0x1d, 0xf9, 0x60, 0xa4, 0x98, 0xb6, 0xdc, 0x54, 0xe9, 0x42, 0xa9, 0x53, 0xcc, 0xe4, 0x18,
  13383. 0xc5, 0x6c, 0x96, 0x2c, 0x6a, 0xa7, 0x98, 0xb6, 0x0f, 0x86, 0x74, 0x38, 0x73, 0x24, 0x77, 0x94,
  13384. 0x9e, 0x35, 0xee, 0x39, 0x4b, 0x56, 0x7c, 0x01, 0x39, 0x5a, 0xd3, 0x7d, 0xb8, 0xa5, 0xf4, 0xca,
  13385. 0x36, 0x07, 0xa7, 0xe9, 0x8e, 0x02, 0xe0, 0xe8, 0x33, 0x01, 0x2e, 0x35, 0x71, 0xdb, 0x54, 0xe4,
  13386. 0x9e, 0x8e, 0x0d, 0xdc, 0x6d, 0xe0, 0x80, 0xd2, 0xd9, 0x22, 0xf3, 0x46, 0xa4, 0xd2, 0x4b, 0x84,
  13387. 0xd9, 0x2e, 0xe7, 0x15, 0x20, 0xc6, 0x85, 0xe6, 0x30, 0x84, 0xfc, 0x26, 0x2c, 0x04, 0x99, 0xde,
  13388. 0xe9, 0x3a, 0x4f, 0x7e, 0x1b, 0x96, 0x82, 0x6d, 0xea, 0x94, 0xfc, 0x3e, 0x13, 0x20, 0xe7, 0xb7,
  13389. 0x18, 0xf4, 0xde, 0xa0, 0x67, 0x1a, 0xc5, 0xce, 0xf1, 0x3d, 0xef, 0x43, 0x8a, 0x78, 0x09, 0xf3,
  13390. 0xc4, 0x59, 0xc8, 0x0e, 0xf3, 0xe2, 0x65, 0x8a, 0x47, 0xa8, 0x31, 0xff, 0x97, 0xff, 0x65, 0x01,
  13391. 0x72, 0x7e, 0xd3, 0x7a, 0x36, 0x79, 0x76, 0x60, 0xde, 0xc0, 0x5d, 0x43, 0xa5, 0xce, 0x50, 0x31,
  13392. 0x4d, 0x5d, 0xdd, 0xef, 0x9b, 0x38, 0xa2, 0x33, 0x44, 0x36, 0x69, 0xc1, 0xa2, 0xcc, 0x7f, 0x31,
  13393. 0x05, 0x0b, 0x41, 0x16, 0x89, 0xf6, 0x07, 0xc5, 0x2c, 0x9f, 0xda, 0xbe, 0x57, 0xeb, 0x4a, 0xab,
  13394. 0x85, 0x9b, 0x7e, 0xcf, 0x7e, 0x11, 0xd2, 0x3a, 0x6e, 0x31, 0x4b, 0x6e, 0x5a, 0xa1, 0x19, 0x30,
  13395. 0x10, 0x8d, 0x75, 0x0c, 0xc8, 0x29, 0xfd, 0x63, 0xb5, 0xad, 0x2a, 0xfa, 0x09, 0x8b, 0x05, 0xac,
  13396. 0x81, 0xbc, 0x72, 0x7a, 0x59, 0x0a, 0x16, 0x47, 0x36, 0x80, 0xcd, 0x2a, 0x9e, 0xb4, 0x91, 0xff,
  13397. 0xaf, 0x02, 0xa4, 0x5d, 0xf2, 0xfe, 0x28, 0x8e, 0xff, 0xf9, 0xff, 0x1d, 0x83, 0xac, 0x57, 0x0f,
  13398. 0xcf, 0x34, 0xfa, 0xeb, 0x83, 0xc6, 0xb2, 0xf7, 0xbc, 0x1a, 0xc8, 0x0a, 0x0f, 0xbe, 0xe4, 0xb0,
  13399. 0xa0, 0x01, 0x33, 0xee, 0x82, 0xbe, 0x94, 0x70, 0x20, 0xff, 0x3d, 0x01, 0x2e, 0x0c, 0xf5, 0xc0,
  13400. 0xe3, 0x78, 0x07, 0x2e, 0xee, 0x38, 0xfd, 0x49, 0x0a, 0xed, 0x4f, 0x57, 0x23, 0x06, 0x6b, 0x03,
  13401. 0xdd, 0xc5, 0x5e, 0x4c, 0xf8, 0xf9, 0x2b, 0x70, 0x9e, 0xce, 0x0b, 0x3e, 0xc5, 0xce, 0xbc, 0x99,
  13402. 0x4c, 0x16, 0xac, 0xb9, 0xfe, 0x27, 0xb0, 0xec, 0xcc, 0xf5, 0x9f, 0x61, 0xb2, 0xb0, 0x64, 0x73,
  13403. 0xf1, 0x46, 0x56, 0x0f, 0xc1, 0xc9, 0x91, 0x4f, 0x3d, 0x7f, 0x58, 0xb0, 0x79, 0xd4, 0x5c, 0x13,
  13404. 0x89, 0x6f, 0x08, 0x83, 0x61, 0x9b, 0x67, 0x25, 0x21, 0xcc, 0x1f, 0x0d, 0xd3, 0x88, 0x2f, 0x8a,
  13405. 0x63, 0xf3, 0xf0, 0xc1, 0x28, 0x8e, 0xcf, 0xcf, 0xff, 0xaa, 0x10, 0x14, 0xc6, 0x71, 0x21, 0x98,
  13406. 0x03, 0xb8, 0x73, 0x1a, 0x21, 0xfc, 0x23, 0xb0, 0x2d, 0xc6, 0x40, 0x54, 0xc7, 0x05, 0x31, 0xbd,
  13407. 0x51, 0x1d, 0x97, 0x80, 0x85, 0x40, 0xa5, 0xd3, 0x48, 0xe0, 0x0c, 0xd9, 0x76, 0xd9, 0xae, 0x20,
  13408. 0xcf, 0x29, 0xd5, 0x1d, 0xe4, 0xf1, 0x52, 0xa7, 0x4e, 0x5f, 0xaa, 0x33, 0x30, 0x3b, 0xa5, 0xb6,
  13409. 0x7d, 0x30, 0xf4, 0x53, 0x42, 0x40, 0xd0, 0xc7, 0xcb, 0x9e, 0x3e, 0x7d, 0xc3, 0x7b, 0xdd, 0x9e,
  13410. 0xd3, 0xf0, 0x47, 0x01, 0x70, 0xf4, 0x4b, 0x43, 0x63, 0x40, 0x2e, 0x4c, 0x8a, 0x0a, 0x73, 0xf7,
  13411. 0x34, 0xc2, 0x84, 0x38, 0x24, 0x5b, 0xaa, 0xb0, 0x90, 0x90, 0x21, 0xe4, 0x3f, 0x17, 0xfc, 0x31,
  13412. 0x21, 0x97, 0xfb, 0x1d, 0x48, 0x75, 0xd4, 0xae, 0xcc, 0xce, 0x98, 0x0d, 0x3f, 0x1e, 0xc3, 0xce,
  13413. 0x4f, 0x25, 0x3b, 0x6a, 0x97, 0xfe, 0xa3, 0xa4, 0xca, 0x31, 0x27, 0x8d, 0x45, 0x22, 0x55, 0x8e,
  13414. 0x19, 0x69, 0x19, 0x66, 0x1f, 0xf7, 0x95, 0xae, 0xa9, 0xb6, 0xb1, 0xcc, 0xcf, 0x6e, 0x4d, 0x46,
  13415. 0x38, 0xbb, 0x95, 0xb5, 0x88, 0x68, 0xd2, 0xc8, 0x7f, 0x36, 0x39, 0x18, 0x9b, 0xf2, 0x7a, 0xfd,
  13416. 0xa6, 0x00, 0x2f, 0x50, 0xce, 0xce, 0xb0, 0x23, 0x1f, 0xaa, 0x86, 0xa9, 0xb5, 0x74, 0xa5, 0x23,
  13417. 0xef, 0xf7, 0x1b, 0x47, 0xd8, 0xb4, 0x36, 0xb1, 0x1f, 0x3d, 0xbf, 0x1e, 0x39, 0x00, 0xae, 0x58,
  13418. 0x65, 0x6e, 0xd0, 0x22, 0xa5, 0xaf, 0x50, 0xa1, 0xec, 0x11, 0xcd, 0x97, 0x6d, 0xe4, 0xff, 0x65,
  13419. 0x0c, 0x2e, 0x8e, 0xe0, 0x81, 0xbe, 0x0a, 0xe7, 0xfc, 0x55, 0x6b, 0x6b, 0x4f, 0xb1, 0x2e, 0xd3,
  13420. 0xb3, 0x09, 0x7c, 0x41, 0x70, 0xd9, 0x5b, 0xd0, 0x26, 0x41, 0xa0, 0x47, 0x15, 0x82, 0xc8, 0xfb,
  13421. 0xbd, 0x9e, 0x4d, 0x1e, 0x0b, 0x22, 0xdf, 0x23, 0x08, 0x8c, 0xfc, 0x22, 0xa4, 0x99, 0xfa, 0x64,
  13422. 0x43, 0xfd, 0x94, 0x05, 0x22, 0x71, 0x09, 0x18, 0xa8, 0xa6, 0x7e, 0x8a, 0xd1, 0x1d, 0xc8, 0x70,
  13423. 0x04, 0x4f, 0xd3, 0xbe, 0x34, 0xac, 0x69, 0xed, 0x82, 0xa4, 0x19, 0x46, 0xcb, 0x5a, 0x18, 0xdd,
  13424. 0x00, 0xe4, 0xe6, 0x25, 0xb3, 0xa5, 0xeb, 0x04, 0x2d, 0x33, 0xe7, 0xc2, 0x2c, 0x12, 0x78, 0xfe,
  13425. 0x8b, 0x84, 0x7b, 0x6a, 0xc1, 0x2d, 0xe1, 0xd7, 0x04, 0xb8, 0x8c, 0x1f, 0xf7, 0xd5, 0x27, 0x4a,
  13426. 0x9b, 0x76, 0xcb, 0x46, 0x5b, 0x31, 0x8c, 0x50, 0x5b, 0xf8, 0xe4, 0x79, 0xf8, 0x46, 0x17, 0xc0,
  13427. 0xdf, 0xfe, 0x97, 0x5c, 0xa2, 0x14, 0x89, 0x24, 0x03, 0x16, 0xf0, 0x0b, 0x02, 0xe4, 0x1d, 0xfa,
  13428. 0xb2, 0x0f, 0x1d, 0xdd, 0x82, 0x9c, 0x1d, 0x7b, 0xc8, 0x63, 0x9c, 0x7b, 0xcc, 0x5a, 0x01, 0x08,
  13429. 0xd7, 0xec, 0xeb, 0xb0, 0x34, 0xa8, 0x15, 0xda, 0xa2, 0xcc, 0x00, 0x16, 0xfc, 0x82, 0x92, 0xb6,
  13430. 0xcd, 0xff, 0x4c, 0x1c, 0xce, 0x86, 0x56, 0x0e, 0xdd, 0x01, 0x31, 0x98, 0x67, 0x80, 0x7d, 0x7e,
  13431. 0x25, 0x88, 0xbf, 0xcb, 0x4a, 0xc3, 0x79, 0x0d, 0x1a, 0x6b, 0x20, 0xaf, 0x71, 0x4c, 0xf6, 0x2f,
  13432. 0x0b, 0xc1, 0x36, 0x2b, 0x3f, 0x67, 0x6b, 0xf0, 0xb7, 0xe6, 0x33, 0x59, 0xfb, 0xdf, 0x9f, 0x76,
  13433. 0x4f, 0x5c, 0xb9, 0xb5, 0xff, 0xb6, 0x00, 0xd7, 0x9d, 0xc9, 0x67, 0x54, 0x0f, 0xf8, 0xc9, 0xf3,
  13434. 0x18, 0x9b, 0x5d, 0x00, 0xbf, 0xd5, 0x5f, 0xb5, 0x45, 0xba, 0x37, 0xdc, 0xfd, 0xfd, 0x56, 0x0c,
  13435. 0xf2, 0x0e, 0x9b, 0x3f, 0x5f, 0xc6, 0x8f, 0x0a, 0x70, 0xa1, 0xdb, 0xef, 0xc8, 0x4d, 0x12, 0x6a,
  13436. 0x77, 0x1b, 0xa6, 0xec, 0xd3, 0xb3, 0xc1, 0x0d, 0x2b, 0xdf, 0xed, 0x77, 0x4a, 0x1c, 0xa7, 0xe6,
  13437. 0xa9, 0xb7, 0x81, 0xee, 0xc3, 0x82, 0xa9, 0xf5, 0x06, 0x29, 0xc7, 0x72, 0x91, 0xc8, 0xd4, 0x7a,
  13438. 0x3e, 0xc6, 0xf9, 0x6f, 0xc5, 0xe1, 0x6c, 0xa8, 0xfe, 0xd1, 0x2e, 0xbc, 0x14, 0x6e, 0x14, 0x83,
  13439. 0x7d, 0xf3, 0x85, 0x90, 0xe6, 0x72, 0x75, 0xcf, 0xa1, 0x1c, 0x07, 0x7b, 0x68, 0x18, 0xc7, 0x1f,
  13440. 0x5a, 0x27, 0x1d, 0x62, 0xbc, 0xcf, 0xb5, 0x93, 0xfe, 0x52, 0xc2, 0xbf, 0x74, 0xc3, 0x3b, 0xea,
  13441. 0xaf, 0x08, 0x90, 0x1f, 0x08, 0x5a, 0xed, 0xfe, 0xc9, 0xad, 0xfa, 0xe0, 0x79, 0xc5, 0xad, 0x3e,
  13442. 0xa0, 0xbf, 0x7f, 0x9e, 0x39, 0x0a, 0xce, 0xce, 0xff, 0x4d, 0x01, 0xce, 0x79, 0x49, 0xf9, 0x84,
  13443. 0x96, 0x2b, 0xe3, 0x79, 0x75, 0xc8, 0x35, 0x98, 0x77, 0x36, 0x2a, 0xed, 0x69, 0x0b, 0x37, 0x1e,
  13444. 0x64, 0x67, 0xd9, 0x8e, 0x34, 0xff, 0x6f, 0x62, 0x70, 0x61, 0x68, 0x9d, 0xd0, 0x65, 0xc8, 0x90,
  13445. 0xc8, 0xd6, 0x61, 0xc6, 0x6c, 0x7b, 0xa6, 0xa3, 0x76, 0x6d, 0x36, 0x14, 0x49, 0x39, 0x1e, 0x28,
  13446. 0x71, 0xa6, 0xa3, 0x1c, 0x3b, 0x48, 0x3e, 0xcb, 0x4c, 0x0c, 0x58, 0xe6, 0xcf, 0x0c, 0x58, 0x26,
  13447. 0xbb, 0xf4, 0xd4, 0xfc, 0x92, 0x9a, 0xcf, 0xd3, 0x06, 0x91, 0xcc, 0x73, 0x3a, 0xc4, 0x3c, 0xff,
  13448. 0x2c, 0x11, 0xba, 0xd6, 0xc1, 0xed, 0xf4, 0x0f, 0x04, 0xb8, 0x1c, 0x3e, 0xb1, 0xf1, 0x1b, 0xec,
  13449. 0xf1, 0x73, 0x9f, 0xdb, 0x84, 0xe5, 0x0e, 0x04, 0x56, 0xcd, 0x11, 0x78, 0xf9, 0x5f, 0x11, 0xe0,
  13450. 0xc5, 0x10, 0x66, 0x5f, 0x8e, 0x51, 0xbf, 0x06, 0x8b, 0x8e, 0x51, 0xf7, 0x74, 0x6d, 0x5f, 0xd9,
  13451. 0x57, 0xdb, 0x96, 0x91, 0x09, 0xd2, 0x82, 0x9d, 0xb9, 0xeb, 0xe4, 0xe5, 0xff, 0x67, 0x0c, 0xae,
  13452. 0x44, 0xab, 0x32, 0xba, 0x0a, 0xb3, 0xc4, 0xc2, 0xdd, 0x9c, 0x05, 0xca, 0x39, 0xdb, 0x51, 0xbb,
  13453. 0x2e, 0x9e, 0x14, 0x51, 0x39, 0x0e, 0x10, 0x21, 0xdb, 0x51, 0x8e, 0xdd, 0x88, 0x23, 0x2d, 0xfd,
  13454. 0x17, 0x43, 0x2c, 0xfd, 0xc9, 0xff, 0xb7, 0x76, 0x7f, 0x6e, 0xb6, 0xbf, 0x91, 0xb4, 0xce, 0x99,
  13455. 0x88, 0x0f, 0x21, 0xeb, 0x1d, 0x96, 0xd0, 0xba, 0x75, 0xed, 0x2a, 0xca, 0x94, 0x98, 0x5f, 0xc9,
  13456. 0x0a, 0x3e, 0x59, 0xf3, 0x9d, 0x38, 0x24, 0xd8, 0xa4, 0xf7, 0x25, 0xc8, 0xa8, 0x5d, 0x13, 0xb7,
  13457. 0xb0, 0xee, 0x9a, 0x6e, 0xc7, 0x2b, 0x13, 0xd2, 0x0c, 0x07, 0x33, 0xb4, 0x17, 0x20, 0x7d, 0xd0,
  13458. 0xd6, 0x14, 0xd3, 0x35, 0xb1, 0x16, 0x2a, 0x13, 0x12, 0x50, 0x20, 0x43, 0xb9, 0x0c, 0x33, 0x86,
  13459. 0xa9, 0xab, 0xdd, 0x96, 0xec, 0xbd, 0x1b, 0x96, 0x66, 0x50, 0xbb, 0xb8, 0x7d, 0x4d, 0x6b, 0x63,
  13460. 0xc5, 0x9a, 0xdd, 0x4f, 0xf2, 0x83, 0xc7, 0x33, 0x1c, 0x6c, 0x4f, 0xc5, 0xed, 0x9b, 0x10, 0x1c,
  13461. 0x31, 0x31, 0xea, 0x3e, 0x44, 0x65, 0x42, 0xca, 0xda, 0x44, 0x8c, 0xcd, 0x5b, 0x00, 0x04, 0xc2,
  13462. 0x39, 0x4c, 0x79, 0x97, 0xba, 0xcd, 0x93, 0x1e, 0xa6, 0xd4, 0x3b, 0x07, 0x25, 0xe5, 0xa4, 0x32,
  13463. 0x21, 0xa5, 0x08, 0x2e, 0x23, 0x5c, 0x07, 0x68, 0x2a, 0xa6, 0x45, 0xc8, 0x96, 0x6b, 0xe6, 0x3c,
  13464. 0x84, 0x25, 0xc5, 0xc4, 0x84, 0x86, 0xa0, 0x31, 0x9a, 0x22, 0xcc, 0x35, 0x95, 0x13, 0x59, 0x3b,
  13465. 0x90, 0x9f, 0x62, 0x7c, 0xc4, 0x49, 0x93, 0xf4, 0x3c, 0xd8, 0x92, 0x8f, 0xf4, 0x64, 0xe7, 0xe0,
  13466. 0x3e, 0xc6, 0x47, 0x44, 0xe2, 0xa6, 0x95, 0xa0, 0x4c, 0xec, 0x25, 0xd1, 0x1f, 0x83, 0x94, 0x7d,
  13467. 0x8d, 0x08, 0x7d, 0x40, 0x6f, 0xb6, 0xf1, 0x7b, 0x4b, 0xc3, 0x37, 0x04, 0x4a, 0xfc, 0xc2, 0x52,
  13468. 0x65, 0x42, 0x4a, 0x36, 0xf9, 0xff, 0x8d, 0x2c, 0xcc, 0xf4, 0x14, 0xdd, 0xc0, 0x4d, 0x76, 0xa7,
  13469. 0x56, 0xfc, 0xb9, 0x18, 0x24, 0x2d, 0x44, 0xf4, 0x12, 0xbd, 0x6f, 0x68, 0xd9, 0xd4, 0x60, 0x25,
  13470. 0xe9, 0x15, 0x44, 0x8c, 0xde, 0x84, 0xb4, 0xab, 0x76, 0xfc, 0xae, 0x70, 0x48, 0xbd, 0x88, 0x56,
  13471. 0xf8, 0x5f, 0xb4, 0x02, 0x93, 0x54, 0xec, 0xf8, 0x30, 0xe5, 0x4b, 0x14, 0x07, 0x95, 0x81, 0x36,
  13472. 0x81, 0xfc, 0xa9, 0xd6, 0xb5, 0xae, 0x10, 0x5e, 0x1b, 0x51, 0x4f, 0xca, 0xe3, 0xa1, 0xd6, 0xc5,
  13473. 0x52, 0xd2, 0xe4, 0xff, 0xf2, 0xaf, 0x42, 0xd2, 0x82, 0xa2, 0x97, 0x20, 0xcb, 0x6e, 0xaf, 0xc8,
  13474. 0x1d, 0xb5, 0xdb, 0xb7, 0x4e, 0x26, 0x25, 0xa4, 0x0c, 0x83, 0x6e, 0x31, 0xa0, 0xf8, 0x67, 0x02,
  13475. 0xe4, 0xfc, 0x67, 0x63, 0x51, 0x1b, 0xce, 0x3a, 0x27, 0x8f, 0x4c, 0xcf, 0x19, 0x4d, 0x83, 0xab,
  13476. 0x6b, 0x75, 0xc4, 0xbe, 0x8c, 0xf7, 0x64, 0xa7, 0x51, 0x99, 0x90, 0xce, 0xa8, 0xc1, 0x59, 0x08,
  13477. 0xc3, 0x12, 0xbf, 0x38, 0xe3, 0x2f, 0x8a, 0xb5, 0xf8, 0x8d, 0xa1, 0x97, 0x68, 0x06, 0x0b, 0x5a,
  13478. 0xd4, 0x83, 0x32, 0x36, 0x72, 0x90, 0xf5, 0xf2, 0x17, 0x7f, 0x30, 0x0d, 0x67, 0x76, 0x75, 0xb5,
  13479. 0x43, 0x03, 0x61, 0x2f, 0x3a, 0x92, 0x20, 0xab, 0xe3, 0x5e, 0x5b, 0x21, 0xd3, 0x11, 0xf7, 0x51,
  13480. 0x83, 0x97, 0x43, 0x85, 0xa1, 0xc8, 0xdc, 0x9f, 0xf1, 0x8d, 0xe1, 0x0c, 0x67, 0xc1, 0xd5, 0x7a,
  13481. 0x07, 0xf8, 0x79, 0x7c, 0xef, 0x41, 0x82, 0xcb, 0x43, 0x2f, 0x6d, 0xd8, 0xcc, 0x66, 0x74, 0x57,
  13482. 0x1a, 0xfd, 0x05, 0x58, 0x6c, 0x1c, 0x2a, 0xf4, 0xd0, 0xbe, 0x4e, 0xdf, 0xb1, 0xf0, 0x9e, 0x14,
  13483. 0x08, 0x3b, 0xab, 0x54, 0xb4, 0x68, 0xb6, 0x14, 0xe3, 0xc8, 0x66, 0x3d, 0xdf, 0x18, 0x04, 0x23,
  13484. 0x13, 0x2e, 0x34, 0xf4, 0x93, 0x9e, 0xa9, 0xc9, 0x96, 0x22, 0x0e, 0x0e, 0x8e, 0xe5, 0x83, 0x1e,
  13485. 0xf6, 0x1e, 0x16, 0x08, 0x7d, 0x32, 0x82, 0xd2, 0x72, 0xb5, 0xdc, 0x3a, 0x38, 0xbe, 0xd5, 0x73,
  13486. 0xf4, 0x72, 0xb6, 0x11, 0x96, 0x89, 0x7a, 0x70, 0xee, 0x40, 0x3d, 0xc6, 0x4d, 0xb6, 0xb6, 0xc0,
  13487. 0x06, 0x09, 0xe2, 0x59, 0x3d, 0x87, 0x06, 0xd6, 0x42, 0x37, 0x96, 0x8e, 0x71, 0x93, 0x0c, 0x8c,
  13488. 0x1b, 0x16, 0x9d, 0x5d, 0xe4, 0xf2, 0x41, 0x48, 0x1e, 0xaa, 0x41, 0x6e, 0xa0, 0x98, 0xa9, 0xe1,
  13489. 0x17, 0x57, 0x06, 0xb8, 0xcf, 0xee, 0xfb, 0x98, 0x9a, 0x70, 0xc1, 0xd2, 0xda, 0x53, 0xd5, 0x3c,
  13490. 0x74, 0x6e, 0x84, 0x5b, 0x25, 0x4c, 0x0f, 0x55, 0x1e, 0xd7, 0xcc, 0x7d, 0xd5, 0x3c, 0xb4, 0x3a,
  13491. 0x94, 0xa3, 0x3c, 0x3d, 0x2c, 0x13, 0xdd, 0x85, 0x1c, 0x75, 0x23, 0x3d, 0x45, 0xb7, 0x6d, 0x2c,
  13492. 0x39, 0xf4, 0x2a, 0x21, 0x71, 0x17, 0xbb, 0x8a, 0xee, 0x58, 0x19, 0x1d, 0x48, 0x1c, 0x08, 0xba,
  13493. 0x0f, 0x88, 0x5b, 0xc1, 0xa1, 0x62, 0x1c, 0x5a, 0x4c, 0x53, 0x43, 0x0f, 0x4f, 0xb2, 0xa6, 0xaf,
  13494. 0x28, 0xc6, 0xa1, 0x73, 0x32, 0xa4, 0xe1, 0x83, 0xd1, 0x2b, 0x1e, 0xc4, 0xb5, 0x1b, 0x87, 0xea,
  13495. 0x81, 0x2d, 0x6c, 0x7a, 0xa8, 0xde, 0x89, 0xeb, 0xab, 0x11, 0x74, 0x47, 0xef, 0x4d, 0x2f, 0x28,
  13496. 0xa0, 0x93, 0x7f, 0x21, 0x40, 0xd6, 0x5b, 0x4b, 0x74, 0x0f, 0x66, 0xa9, 0x86, 0x4c, 0x4d, 0xe6,
  13497. 0x17, 0x5f, 0xf8, 0xcd, 0xf5, 0xd5, 0x48, 0x5a, 0xb2, 0x93, 0x52, 0x86, 0xb0, 0xa9, 0x6b, 0x65,
  13498. 0xc6, 0x44, 0xfc, 0x86, 0xc0, 0xfc, 0x2f, 0xc9, 0x43, 0x67, 0x61, 0xb1, 0x5e, 0xdd, 0x2a, 0xcb,
  13499. 0xbb, 0x05, 0xa9, 0xee, 0x3b, 0xad, 0x9c, 0x84, 0xc9, 0x07, 0xe5, 0x82, 0x94, 0x13, 0x50, 0x0a,
  13500. 0x12, 0x5b, 0x3b, 0xdb, 0xf5, 0x4a, 0x2e, 0x86, 0x72, 0x30, 0x53, 0x2a, 0x3c, 0x90, 0x77, 0x6e,
  13501. 0xc9, 0x0c, 0x12, 0x47, 0xb3, 0x90, 0xe6, 0x90, 0xfb, 0xe5, 0xf2, 0x87, 0xb9, 0x49, 0x82, 0x42,
  13502. 0xfe, 0x11, 0x08, 0xa5, 0x4f, 0x10, 0x94, 0xca, 0xce, 0x9e, 0x44, 0x20, 0xa5, 0xc2, 0x83, 0xdc,
  13503. 0x94, 0x58, 0x83, 0x9c, 0x5f, 0xfb, 0xe8, 0x6b, 0x00, 0xbc, 0x09, 0x47, 0x5f, 0x4c, 0x64, 0xc4,
  13504. 0xf4, 0x62, 0x62, 0xc3, 0xfa, 0x2b, 0xee, 0x00, 0x1a, 0x74, 0x6f, 0xe8, 0x1d, 0x48, 0x75, 0xf1,
  13505. 0xd3, 0x71, 0xb6, 0x2a, 0xba, 0xf8, 0x29, 0xfd, 0x27, 0x9e, 0x83, 0xb3, 0xa1, 0x16, 0x2e, 0x66,
  13506. 0x61, 0xc6, 0xed, 0xf9, 0xc4, 0x1f, 0xc4, 0x20, 0x43, 0xdc, 0x96, 0x51, 0xd7, 0xaa, 0xad, 0xae,
  13507. 0xa6, 0x63, 0xb4, 0x0a, 0xc8, 0x76, 0x58, 0x06, 0x69, 0x45, 0xe3, 0x48, 0x65, 0xb7, 0xfc, 0x52,
  13508. 0xd4, 0xd4, 0xec, 0xbc, 0xba, 0x56, 0x3b, 0x52, 0x7b, 0xe8, 0x04, 0xce, 0x35, 0xb4, 0x4e, 0x47,
  13509. 0xeb, 0xca, 0x5e, 0x32, 0x95, 0xb2, 0xe3, 0x23, 0xfa, 0xdb, 0x43, 0x3c, 0xa6, 0x5d, 0xf4, 0x6a,
  13510. 0x91, 0xf2, 0xf1, 0xc0, 0x88, 0x73, 0x69, 0xd8, 0x60, 0xab, 0x60, 0x96, 0x27, 0x7e, 0x5b, 0x80,
  13511. 0xf9, 0x00, 0x1a, 0x74, 0x05, 0xc4, 0xe2, 0xce, 0xd6, 0xd6, 0xce, 0xb6, 0x5c, 0xac, 0x14, 0xa4,
  13512. 0x9a, 0x5c, 0xdf, 0x91, 0xab, 0xb7, 0xb7, 0x77, 0x24, 0xff, 0xb3, 0x06, 0x69, 0x98, 0xde, 0xde,
  13513. 0xdb, 0x2a, 0x4b, 0xd5, 0x62, 0x4e, 0x40, 0x0b, 0x90, 0x2b, 0x6c, 0xee, 0x56, 0x0a, 0xf2, 0xde,
  13514. 0xee, 0x6e, 0x59, 0x92, 0x8b, 0x85, 0x5a, 0x39, 0x17, 0x73, 0xa0, 0x9b, 0x3b, 0xf7, 0x2d, 0x28,
  13515. 0x35, 0x9e, 0xdd, 0xbd, 0xed, 0x62, 0x7d, 0xaf, 0x50, 0xaf, 0xee, 0x6c, 0xe7, 0x26, 0x51, 0x16,
  13516. 0xe0, 0x7e, 0xa5, 0x5a, 0x2f, 0xd7, 0x76, 0x0b, 0xc5, 0x72, 0x2e, 0xb1, 0x31, 0x03, 0xe0, 0x68,
  13517. 0x43, 0xfc, 0x63, 0x22, 0x67, 0xc0, 0x20, 0x70, 0x1d, 0xe6, 0xc8, 0xe0, 0x42, 0x5d, 0xa3, 0x95,
  13518. 0xcd, 0x4f, 0xd8, 0xe6, 0x78, 0x86, 0x4d, 0x86, 0x5e, 0x84, 0x6c, 0xb7, 0xdf, 0xd9, 0xc7, 0x3a,
  13519. 0x51, 0x2e, 0xc9, 0xe5, 0xd7, 0x2c, 0x67, 0x18, 0xb4, 0xae, 0x11, 0xc6, 0x64, 0x8e, 0xaf, 0xe3,
  13520. 0x27, 0x58, 0x37, 0xb0, 0xac, 0xe9, 0x4d, 0xcc, 0xee, 0xd5, 0x25, 0xc9, 0xf0, 0x46, 0x81, 0x3b,
  13521. 0x04, 0x86, 0xee, 0xc1, 0x42, 0x60, 0x5b, 0x4d, 0x0e, 0x3d, 0x00, 0xed, 0xd1, 0xb1, 0x84, 0x1a,
  13522. 0x83, 0xed, 0xf1, 0x2f, 0x04, 0x58, 0x0e, 0x1b, 0x25, 0xd0, 0x57, 0x21, 0xed, 0x5f, 0x7c, 0x1b,
  13523. 0x65, 0xd3, 0xd0, 0x76, 0x6f, 0xe4, 0xa4, 0xfd, 0x2b, 0x6d, 0x23, 0xc9, 0xfb, 0x43, 0x17, 0xdc,
  13524. 0x04, 0xf7, 0x64, 0x4f, 0xfc, 0x66, 0x0c, 0x66, 0xfd, 0x22, 0xdf, 0x86, 0x69, 0x6b, 0xe9, 0x98,
  13525. 0x4d, 0x89, 0x6f, 0x46, 0x1b, 0xb3, 0x78, 0x5a, 0xb2, 0xa8, 0xe9, 0xa1, 0x76, 0x3e, 0x8f, 0x5d,
  13526. 0x85, 0x78, 0x47, 0xed, 0x46, 0xaa, 0x3e, 0x41, 0xa4, 0xf8, 0xca, 0x71, 0xa4, 0xfa, 0x12, 0x44,
  13527. 0x54, 0x85, 0x39, 0x3e, 0x84, 0xd1, 0x1b, 0xe5, 0xce, 0x9c, 0x69, 0x14, 0x75, 0xce, 0x45, 0xc6,
  13528. 0x1c, 0xc9, 0xef, 0x4e, 0xc2, 0xd9, 0xd0, 0x40, 0xe3, 0x99, 0x1d, 0x1f, 0x7a, 0x1b, 0xa6, 0xe9,
  13529. 0x45, 0x7f, 0x7e, 0x51, 0x32, 0xc2, 0x85, 0x6c, 0x8e, 0x8e, 0x0c, 0x98, 0xe5, 0x2e, 0x47, 0x69,
  13530. 0xf7, 0x0e, 0x95, 0x7d, 0x6c, 0xf2, 0xc7, 0xa6, 0x2a, 0xe3, 0x86, 0x4b, 0xab, 0xb7, 0x0e, 0x8e,
  13531. 0x99, 0x07, 0xd9, 0xa6, 0xa7, 0x6f, 0x0a, 0x9c, 0x1f, 0x19, 0xab, 0x59, 0x11, 0x16, 0x04, 0xbd,
  13532. 0x0c, 0xfc, 0xbd, 0x1e, 0xa7, 0xd0, 0x04, 0x77, 0x8a, 0x59, 0x96, 0x61, 0xa3, 0x2e, 0x41, 0x42,
  13533. 0x57, 0x9a, 0xea, 0x31, 0x8d, 0x74, 0x12, 0xf4, 0xed, 0x2d, 0x92, 0xa4, 0x67, 0xe5, 0xfa, 0xba,
  13534. 0xae, 0xb5, 0x14, 0xd3, 0xf5, 0xc4, 0x10, 0x0f, 0x22, 0x46, 0x5e, 0x6b, 0x99, 0xb3, 0x69, 0x2d,
  13535. 0x90, 0xf8, 0x37, 0x04, 0x38, 0x13, 0x52, 0x03, 0xb4, 0x02, 0x57, 0x6e, 0xdd, 0xfa, 0x48, 0xe6,
  13536. 0x8e, 0x70, 0xbb, 0x50, 0xaf, 0xde, 0x2b, 0xcb, 0xd4, 0x97, 0x6d, 0x94, 0xeb, 0xc3, 0x1c, 0x21,
  13537. 0x19, 0xf6, 0xca, 0x1f, 0x15, 0x4a, 0xe5, 0x62, 0x75, 0xab, 0xb0, 0x99, 0x8b, 0xa1, 0xf3, 0xb0,
  13538. 0xec, 0xf8, 0x44, 0xc6, 0x42, 0xb6, 0xd0, 0xe3, 0x68, 0x0e, 0x32, 0x5e, 0xd0, 0xe4, 0x06, 0x40,
  13539. 0xd2, 0xd2, 0x91, 0xf8, 0x7f, 0x04, 0x48, 0xd9, 0xcd, 0x8f, 0xaa, 0x90, 0xa2, 0x11, 0x84, 0x6a,
  13540. 0x5d, 0x2d, 0x0b, 0x8f, 0xf9, 0xeb, 0x16, 0x9e, 0x4d, 0x4d, 0xe7, 0xd2, 0x16, 0x94, 0xb0, 0xea,
  13541. 0x77, 0x9f, 0xea, 0x4a, 0xaf, 0x87, 0x2d, 0x77, 0x10, 0xc6, 0x6a, 0xcf, 0xc2, 0xf3, 0xb0, 0xb2,
  13542. 0xa9, 0xd1, 0x16, 0xa4, 0x8f, 0x3a, 0x86, 0x6c, 0x31, 0x1b, 0x1e, 0xe4, 0x7f, 0xd8, 0x31, 0xee,
  13543. 0x0f, 0x72, 0x83, 0x23, 0x1b, 0xbc, 0x91, 0x84, 0x29, 0x76, 0xd8, 0x47, 0xbc, 0x06, 0x68, 0xb0,
  13544. 0x1a, 0x41, 0x97, 0x42, 0xc4, 0x2b, 0x80, 0x06, 0xa5, 0x44, 0x39, 0x88, 0x5b, 0x9d, 0x6b, 0x46,
  13545. 0x22, 0x7f, 0xc5, 0x4f, 0x60, 0x3e, 0x40, 0x00, 0xe2, 0xde, 0x38, 0xb1, 0xec, 0x10, 0x00, 0x07,
  13546. 0x11, 0x84, 0x2b, 0x30, 0xeb, 0xf4, 0x56, 0xf7, 0xbd, 0x93, 0x8c, 0xdd, 0x21, 0xe9, 0x3d, 0xb9,
  13547. 0x3f, 0x15, 0x60, 0xd6, 0x17, 0x09, 0xa2, 0x6b, 0x90, 0x73, 0xb9, 0x5e, 0xb9, 0xa9, 0x9c, 0x58,
  13548. 0xd3, 0xdd, 0xac, 0xe3, 0x61, 0x4b, 0xca, 0x89, 0x41, 0x30, 0x5d, 0x3e, 0x9e, 0x61, 0xb2, 0x51,
  13549. 0x2a, 0xeb, 0xb8, 0x72, 0x8a, 0xe9, 0xea, 0xfc, 0xf1, 0xf1, 0x3a, 0x7f, 0xc1, 0xe3, 0x77, 0x26,
  13550. 0xa3, 0xf9, 0x1d, 0x7a, 0x50, 0xd1, 0x4a, 0x90, 0x06, 0xea, 0x60, 0xf3, 0x50, 0x6b, 0x8a, 0xdf,
  13551. 0x8d, 0xc1, 0x99, 0x90, 0x49, 0x35, 0xd2, 0x60, 0x76, 0x70, 0x76, 0x3e, 0xec, 0xd4, 0x69, 0x08,
  13552. 0xa3, 0x10, 0xb8, 0xe4, 0xe7, 0x9e, 0xff, 0x3d, 0x01, 0x96, 0x82, 0x71, 0x9f, 0xf9, 0x55, 0x36,
  13553. 0x15, 0x96, 0x7b, 0xd6, 0x5c, 0xdc, 0xb7, 0x10, 0xc0, 0xfb, 0xce, 0x6a, 0xf8, 0x49, 0xb7, 0xa0,
  13554. 0x29, 0xbc, 0x74, 0xa6, 0x17, 0x9c, 0x21, 0x7e, 0x23, 0x0e, 0xf3, 0xb4, 0xd1, 0x7c, 0x55, 0x78,
  13555. 0x13, 0xa6, 0xe8, 0x89, 0xc4, 0xa8, 0x47, 0x8c, 0x39, 0x36, 0x2a, 0x41, 0xaa, 0xa1, 0x75, 0x9b,
  13556. 0xaa, 0xeb, 0xe1, 0x8d, 0x2b, 0x43, 0xd7, 0x2c, 0x8a, 0x16, 0xb6, 0xe4, 0x10, 0xa2, 0xa3, 0x21,
  13557. 0x0a, 0x98, 0x3c, 0x8d, 0x02, 0x2a, 0x13, 0xa1, 0x2a, 0x18, 0xbe, 0xc2, 0x93, 0x78, 0xce, 0x2b,
  13558. 0x3c, 0x01, 0xb3, 0xb2, 0xcf, 0x05, 0x58, 0x0c, 0x5c, 0xbf, 0x41, 0x32, 0x2c, 0xb2, 0x57, 0x50,
  13559. 0x82, 0x2d, 0x7b, 0x65, 0x58, 0x9b, 0xf8, 0x0c, 0x60, 0xe1, 0x60, 0x10, 0x68, 0xa0, 0x07, 0x30,
  13560. 0xcf, 0x97, 0x9b, 0x8c, 0x7e, 0xaf, 0xa7, 0x63, 0xc3, 0xe0, 0x6b, 0x4d, 0xc3, 0x9e, 0x9f, 0x63,
  13561. 0xb2, 0xd6, 0x1c, 0x02, 0x09, 0xe9, 0x7e, 0x90, 0x21, 0x3e, 0x80, 0xb9, 0x01, 0x44, 0xaf, 0x75,
  13562. 0x08, 0xa7, 0xb4, 0x0e, 0xf1, 0x97, 0x13, 0x30, 0xeb, 0xcb, 0x46, 0x75, 0x48, 0xe3, 0x63, 0xa7,
  13563. 0x06, 0xc3, 0xdf, 0x20, 0xf4, 0x11, 0xaf, 0x96, 0x1d, 0x4a, 0xc9, 0xcd, 0x26, 0xff, 0xdb, 0x64,
  13564. 0x38, 0xb4, 0xcb, 0x38, 0xdd, 0x91, 0xde, 0x32, 0x24, 0xb5, 0x1e, 0xd6, 0x15, 0x93, 0x3f, 0x9b,
  13565. 0x91, 0x1d, 0xb2, 0x6e, 0xd6, 0xa6, 0xed, 0xa2, 0xb4, 0x77, 0x38, 0x81, 0x64, 0x93, 0x3a, 0xcb,
  13566. 0xfe, 0x93, 0x91, 0x97, 0xfd, 0xf3, 0x9f, 0x00, 0xd8, 0xd2, 0x1b, 0x68, 0x17, 0xc0, 0xd6, 0xa1,
  13567. 0x65, 0x42, 0xaf, 0x44, 0xd4, 0x90, 0xd3, 0x0e, 0x2e, 0x1e, 0xf9, 0x6f, 0xc7, 0x20, 0xed, 0xd2,
  13568. 0x1d, 0xea, 0x90, 0x01, 0xa5, 0x45, 0x4f, 0x97, 0xda, 0x55, 0x66, 0xab, 0x09, 0x1b, 0xe3, 0xb7,
  13569. 0xc4, 0xea, 0x26, 0x63, 0x65, 0xeb, 0x62, 0xb6, 0xed, 0x05, 0xa0, 0x9a, 0xa7, 0x42, 0xac, 0xc9,
  13570. 0x5f, 0x1d, 0xb7, 0x42, 0xa4, 0xb3, 0xba, 0xd8, 0x88, 0xef, 0xc3, 0xac, 0xaf, 0x60, 0x74, 0x09,
  13571. 0xce, 0x6f, 0xee, 0xdc, 0xae, 0x16, 0x0b, 0x9b, 0xf2, 0xce, 0x6e, 0x59, 0x2a, 0xd4, 0x77, 0x24,
  13572. 0x5f, 0x44, 0x36, 0x0d, 0xf1, 0xc2, 0x76, 0x29, 0x27, 0xd8, 0x2b, 0xf7, 0xbf, 0x2e, 0xc0, 0x52,
  13573. 0xf0, 0x85, 0x7e, 0x32, 0x8d, 0xb4, 0xbb, 0xb3, 0xef, 0xea, 0x6b, 0xce, 0x95, 0xc1, 0xee, 0xbd,
  13574. 0xb6, 0x60, 0xd9, 0xdb, 0xf7, 0x65, 0xa3, 0xdf, 0xe9, 0x28, 0xba, 0x6a, 0x1f, 0xbc, 0xbe, 0x11,
  13575. 0xe9, 0x39, 0x81, 0x1a, 0xa5, 0x3a, 0x91, 0xce, 0x98, 0x01, 0x60, 0x15, 0x1b, 0xe2, 0xb7, 0xa7,
  13576. 0x60, 0x31, 0x90, 0xe4, 0x19, 0xef, 0x74, 0xdb, 0x7d, 0x26, 0x36, 0x4e, 0x9f, 0xb9, 0xe7, 0x77,
  13577. 0x92, 0xbc, 0x75, 0xc7, 0x1d, 0xf6, 0x7c, 0x5c, 0xc2, 0x1d, 0x6a, 0xe2, 0x39, 0x39, 0xd4, 0xbb,
  13578. 0xf6, 0xfb, 0x65, 0x96, 0x43, 0xe5, 0xeb, 0xa7, 0xd1, 0x9d, 0x69, 0xd6, 0xeb, 0x4c, 0x51, 0x1d,
  13579. 0xa6, 0xd9, 0x5e, 0xa0, 0x75, 0xa8, 0xe4, 0xdd, 0x71, 0x5a, 0x7c, 0xd5, 0x6a, 0x79, 0x76, 0xf1,
  13580. 0xdc, 0x62, 0x15, 0x6c, 0x85, 0xd3, 0xc1, 0x56, 0x98, 0xff, 0x05, 0x01, 0x32, 0x1e, 0x3e, 0xce,
  13581. 0x86, 0xa2, 0xe0, 0xda, 0x50, 0x44, 0x0f, 0x60, 0xd2, 0xbe, 0x38, 0x90, 0x0d, 0x0d, 0xbc, 0x82,
  13582. 0xe5, 0xf4, 0xa9, 0x97, 0x16, 0x53, 0xd4, 0x9a, 0x58, 0xa2, 0x2c, 0xd1, 0x32, 0x4c, 0x37, 0xd9,
  13583. 0xde, 0x2c, 0xdb, 0x52, 0x94, 0xac, 0xa4, 0xf8, 0x09, 0x2c, 0x87, 0xd1, 0x92, 0x59, 0x55, 0x5d,
  13584. 0x2a, 0x6c, 0xd7, 0x6e, 0xed, 0x48, 0x5b, 0x74, 0xf1, 0x47, 0x96, 0xca, 0xb5, 0xbd, 0xcd, 0xba,
  13585. 0x5c, 0xdc, 0x29, 0x05, 0x2c, 0x2f, 0xd5, 0xf6, 0x8a, 0xc5, 0x72, 0xad, 0xc6, 0x16, 0x23, 0xcb,
  13586. 0x92, 0xb4, 0x23, 0xe5, 0x62, 0xa2, 0x06, 0xc9, 0x5a, 0xe3, 0x10, 0x37, 0xfb, 0xf4, 0x96, 0x6a,
  13587. 0x5e, 0xc7, 0x8d, 0xbe, 0xae, 0xd3, 0xc3, 0x06, 0x3d, 0xac, 0xab, 0x5a, 0x53, 0xb6, 0x1e, 0xdf,
  13588. 0xe6, 0x9d, 0xe3, 0xec, 0xc0, 0xe6, 0x64, 0x89, 0x23, 0x54, 0x26, 0xa4, 0x65, 0x87, 0x7c, 0x97,
  13589. 0x52, 0x5b, 0x79, 0x24, 0xca, 0x65, 0xef, 0x17, 0x88, 0xff, 0x34, 0x06, 0xb3, 0xfe, 0xfb, 0xfa,
  13590. 0xa7, 0xbc, 0x99, 0xee, 0xbb, 0x4a, 0x1e, 0x1f, 0xb8, 0x4a, 0xee, 0x7f, 0x0f, 0x71, 0x72, 0xac,
  13591. 0xf7, 0x10, 0xdf, 0x83, 0x74, 0xbf, 0xe7, 0x6c, 0x4a, 0x26, 0x46, 0x13, 0x33, 0x74, 0x4a, 0x3c,
  13592. 0xf8, 0x38, 0xc9, 0xd4, 0xa9, 0x1f, 0x27, 0x11, 0x7f, 0x27, 0x06, 0xa8, 0x34, 0xf0, 0xae, 0xcb,
  13593. 0x8f, 0xa2, 0xda, 0x02, 0x9f, 0x83, 0x9a, 0x7a, 0xc6, 0xe7, 0xa0, 0xc4, 0xc7, 0x90, 0x28, 0xeb,
  13594. 0xba, 0xa6, 0xa3, 0x1b, 0x4e, 0x3f, 0x63, 0xe6, 0x8c, 0x2c, 0xa6, 0x7a, 0xaf, 0x41, 0x6f, 0xf3,
  13595. 0xf4, 0x0d, 0xbb, 0xef, 0xa1, 0x77, 0xd9, 0xd6, 0x3a, 0x95, 0xd2, 0x0a, 0x1b, 0x87, 0x56, 0xc4,
  13596. 0xc1, 0x16, 0xbf, 0x9b, 0x00, 0xb8, 0xa3, 0xed, 0xd7, 0x75, 0xb5, 0xd5, 0xc2, 0xfa, 0x97, 0xd7,
  13597. 0x54, 0x77, 0x20, 0x6d, 0xd9, 0xd9, 0x23, 0x6d, 0x9f, 0x37, 0x55, 0xd4, 0xb7, 0x2e, 0x48, 0x70,
  13598. 0xa0, 0xda, 0x30, 0x12, 0xcb, 0x99, 0x4c, 0x5e, 0x6b, 0xc8, 0x08, 0x8b, 0xe5, 0x9c, 0x9a, 0xad,
  13599. 0xf2, 0x5f, 0xc9, 0x26, 0x45, 0xaf, 0xc3, 0x14, 0x26, 0xda, 0xb6, 0x8e, 0xa8, 0x84, 0x05, 0x73,
  13600. 0xb4, 0x49, 0x24, 0x8e, 0xeb, 0xb7, 0xb9, 0xe9, 0x67, 0xb1, 0xb9, 0xe4, 0x58, 0x36, 0xf7, 0x01,
  13601. 0x64, 0xda, 0x8a, 0x61, 0xca, 0x7a, 0xbf, 0xcb, 0xc8, 0x53, 0x23, 0xc9, 0xd3, 0x84, 0x40, 0xea,
  13602. 0x77, 0x29, 0xfd, 0xd7, 0x61, 0x8a, 0x7d, 0x26, 0x60, 0x19, 0xe8, 0xc8, 0x70, 0x6d, 0xb4, 0xd2,
  13603. 0xb8, 0xa5, 0x71, 0xba, 0x7c, 0x0d, 0xa6, 0x2d, 0x43, 0xf9, 0x2a, 0x24, 0x0d, 0xee, 0x8f, 0x47,
  13604. 0x84, 0x23, 0x96, 0xdb, 0xae, 0x4c, 0x48, 0x36, 0xc9, 0x46, 0x0a, 0xa6, 0x79, 0x3b, 0x88, 0x15,
  13605. 0x98, 0x62, 0xc5, 0xa0, 0x25, 0x40, 0xb5, 0x7a, 0xa1, 0xbe, 0x57, 0x1b, 0x1c, 0x13, 0x2a, 0xe5,
  13606. 0xc2, 0x66, 0xbd, 0xf2, 0x20, 0x27, 0x20, 0x80, 0xa9, 0xdd, 0xc2, 0x5e, 0xad, 0x5c, 0x62, 0x0f,
  13607. 0x27, 0x17, 0x0b, 0xdb, 0xc5, 0xf2, 0xe6, 0x66, 0xb9, 0x94, 0x8b, 0x6f, 0x24, 0x20, 0xfe, 0x48,
  13608. 0xdb, 0x17, 0x7f, 0x7f, 0x12, 0xa6, 0xd8, 0x4b, 0x10, 0xe8, 0x2e, 0x64, 0x0c, 0xe5, 0x89, 0xeb,
  13609. 0x8d, 0x40, 0x61, 0xe8, 0x32, 0x15, 0xa3, 0x5a, 0xad, 0x29, 0x4f, 0xec, 0xe7, 0x03, 0x2b, 0x13,
  13610. 0xd2, 0x8c, 0xe1, 0x4a, 0xa3, 0x0a, 0x4c, 0xf7, 0xfa, 0xfb, 0xb2, 0xd1, 0xdf, 0x1f, 0xf1, 0x92,
  13611. 0x14, 0x67, 0xb6, 0xdb, 0xdf, 0x6f, 0xab, 0xc6, 0x61, 0x5d, 0xdb, 0xed, 0xef, 0xd7, 0xfa, 0xfb,
  13612. 0x95, 0x09, 0x69, 0xaa, 0x47, 0xff, 0xa1, 0x23, 0x38, 0xd3, 0x63, 0x99, 0x3c, 0x9c, 0x3c, 0x91,
  13613. 0x4d, 0x4d, 0x6e, 0x18, 0x8d, 0xc6, 0x88, 0x89, 0x93, 0x97, 0x33, 0x1f, 0xba, 0xeb, 0x5a, 0xd1,
  13614. 0x68, 0x34, 0x2a, 0x13, 0xd2, 0x42, 0x2f, 0x00, 0x8e, 0x3a, 0x70, 0xe6, 0x91, 0xb6, 0x2f, 0x77,
  13615. 0x35, 0x53, 0x3d, 0x50, 0xd9, 0x33, 0x97, 0x32, 0xee, 0x50, 0x0f, 0xc3, 0xac, 0xf0, 0xb5, 0xe1,
  13616. 0x85, 0xdd, 0xd1, 0xf6, 0xb7, 0x5d, 0xb4, 0x65, 0x4a, 0x5a, 0x99, 0x90, 0x16, 0x1f, 0x05, 0x65,
  13617. 0xe4, 0x65, 0x98, 0x71, 0x6b, 0x11, 0xed, 0xd8, 0x8f, 0x33, 0x79, 0xce, 0x2e, 0xac, 0x44, 0x7f,
  13618. 0x9c, 0xc9, 0x7a, 0x8f, 0x89, 0x5f, 0x61, 0xbf, 0x0a, 0xb3, 0x3e, 0xcd, 0x92, 0x68, 0xc8, 0xd4,
  13619. 0x7a, 0xfc, 0x1a, 0x62, 0x4a, 0x62, 0x89, 0xfc, 0x12, 0x2c, 0x04, 0x29, 0x2a, 0x7f, 0x06, 0x16,
  13620. 0x03, 0xeb, 0x44, 0x42, 0x00, 0xf6, 0x7e, 0x88, 0xf8, 0xab, 0x02, 0x9c, 0x2f, 0xd2, 0xce, 0xeb,
  13621. 0x7f, 0xd1, 0x67, 0xc4, 0x8b, 0x5f, 0x77, 0x21, 0x37, 0xf0, 0x64, 0x50, 0x6c, 0xac, 0x27, 0x83,
  13622. 0x66, 0x7d, 0xef, 0x71, 0xa1, 0x8b, 0x90, 0xb6, 0xdf, 0xed, 0x52, 0x9b, 0xdc, 0xc3, 0x82, 0x05,
  13623. 0xaa, 0x36, 0xc5, 0xdf, 0x15, 0xe0, 0xfc, 0x1e, 0x75, 0x16, 0x21, 0xc2, 0x06, 0xb9, 0xf6, 0x2f,
  13624. 0x41, 0x50, 0xc7, 0xc5, 0xd1, 0xfd, 0xb6, 0x78, 0x88, 0x8f, 0xa2, 0xc1, 0xfc, 0x96, 0x62, 0x1c,
  13625. 0x59, 0x2e, 0x8e, 0xfc, 0x17, 0xd7, 0xe0, 0xec, 0x6d, 0x6c, 0x46, 0xaf, 0x80, 0xf8, 0xb3, 0x02,
  13626. 0x9c, 0x63, 0xef, 0xe5, 0x78, 0x48, 0x8c, 0x51, 0x2d, 0x74, 0x01, 0xa0, 0xa7, 0xb4, 0xb0, 0x6c,
  13627. 0x6a, 0x47, 0xfc, 0x95, 0xcb, 0x94, 0x94, 0x22, 0x90, 0x3a, 0x01, 0xa0, 0x73, 0x40, 0x13, 0xce,
  13628. 0xbe, 0x57, 0x42, 0x4a, 0x12, 0x00, 0x3d, 0xe2, 0x78, 0x16, 0x92, 0x74, 0x9b, 0x50, 0xde, 0x3f,
  13629. 0xe1, 0xcf, 0x02, 0x4d, 0xd3, 0xf4, 0xc6, 0x89, 0xf8, 0x8b, 0x02, 0x9c, 0x0f, 0x16, 0x87, 0xbf,
  13630. 0xe2, 0x53, 0x83, 0x39, 0xbf, 0xc2, 0xad, 0x45, 0x80, 0xa8, 0x1a, 0xcf, 0xf9, 0x34, 0x6e, 0xa0,
  13631. 0x2b, 0x30, 0xdb, 0xc5, 0xc7, 0xa6, 0x3c, 0x50, 0xa3, 0x0c, 0x01, 0xef, 0x5a, 0xb5, 0x12, 0xd7,
  13632. 0xe1, 0x7c, 0x09, 0xb7, 0xf1, 0x38, 0x16, 0x42, 0x77, 0x4b, 0x58, 0x1f, 0x70, 0x86, 0x85, 0x51,
  13633. 0xca, 0xdd, 0x80, 0x34, 0xf1, 0x35, 0xdc, 0xc1, 0x73, 0x83, 0x7a, 0x61, 0xe4, 0x68, 0x23, 0xc1,
  13634. 0x23, 0x27, 0x10, 0xb9, 0x00, 0xc0, 0xe9, 0x1d, 0x73, 0x4f, 0x71, 0x48, 0xb5, 0x49, 0x0c, 0x85,
  13635. 0x38, 0xa6, 0x27, 0x81, 0x72, 0x05, 0xd5, 0xe3, 0xd7, 0x05, 0x38, 0xc3, 0xba, 0x47, 0x24, 0xfc,
  13636. 0xe7, 0x52, 0x87, 0x67, 0xea, 0x0a, 0x2b, 0xb0, 0x70, 0x1b, 0x9b, 0xd1, 0x2a, 0xf7, 0x03, 0x01,
  13637. 0xe6, 0x59, 0x23, 0x95, 0xda, 0xbd, 0x3b, 0xda, 0xfe, 0xa8, 0x06, 0xf2, 0x05, 0x63, 0xb1, 0x67,
  13638. 0x09, 0xc6, 0xaa, 0x90, 0xd4, 0x55, 0xe3, 0x88, 0x32, 0x8a, 0x0f, 0x3f, 0x1d, 0x17, 0xf4, 0xe4,
  13639. 0x54, 0x65, 0x42, 0x9a, 0x26, 0xf4, 0x84, 0xd5, 0x22, 0x4c, 0x11, 0x9d, 0xab, 0x4d, 0xde, 0xad,
  13640. 0x12, 0x8f, 0xb4, 0xfd, 0x6a, 0xd3, 0x1a, 0xd6, 0xff, 0xae, 0x00, 0x4b, 0xa4, 0x6f, 0x39, 0x2a,
  13641. 0xf9, 0x21, 0xf5, 0x72, 0xd7, 0xdb, 0x5d, 0x09, 0xcf, 0xdb, 0x5d, 0x3f, 0x2d, 0xc0, 0x99, 0x01,
  13642. 0x09, 0x79, 0xc7, 0x2f, 0xc1, 0x8c, 0xcb, 0x9e, 0xac, 0x3e, 0x1f, 0xc1, 0xa0, 0xd2, 0x8e, 0x41,
  13643. 0x45, 0xef, 0xe9, 0x37, 0xe1, 0x0c, 0xeb, 0xe9, 0xd1, 0xec, 0xe7, 0x6f, 0xc7, 0x20, 0xe7, 0x6f,
  13644. 0x66, 0x32, 0x33, 0xe4, 0xdf, 0xbb, 0xf2, 0x8e, 0xd9, 0x2f, 0x86, 0xbe, 0x31, 0xe0, 0x1e, 0xad,
  13645. 0x33, 0x86, 0xe7, 0x69, 0xc7, 0xe7, 0xfa, 0x06, 0x66, 0xe8, 0x5b, 0x96, 0xf1, 0xf0, 0x17, 0x49,
  13646. 0x5d, 0x6f, 0x88, 0x4d, 0x8e, 0xf5, 0x86, 0xd8, 0xef, 0x27, 0x60, 0x8a, 0xf5, 0xaa, 0x40, 0x3f,
  13647. 0xf1, 0x06, 0xff, 0xd0, 0xc8, 0xf0, 0x0f, 0xf6, 0x30, 0x06, 0xae, 0x2f, 0x8b, 0xbc, 0x4f, 0x9f,
  13648. 0x26, 0x37, 0x31, 0x5f, 0x8b, 0xbe, 0x32, 0x94, 0x8e, 0x98, 0x03, 0x09, 0x91, 0xb1, 0xc4, 0x88,
  13649. 0xd0, 0x47, 0x30, 0x43, 0xfb, 0x9c, 0x35, 0x47, 0x9c, 0x1c, 0x1e, 0xc1, 0x0d, 0x39, 0x62, 0x5f,
  13650. 0x99, 0x90, 0xd2, 0xba, 0xeb, 0x75, 0x87, 0x87, 0x60, 0x0d, 0xe8, 0x36, 0xf3, 0xe1, 0x07, 0x1c,
  13651. 0xc3, 0xde, 0x58, 0xac, 0x4c, 0x48, 0x56, 0x8b, 0x5b, 0xbc, 0x9f, 0xe9, 0xa3, 0x0f, 0xef, 0x00,
  13652. 0xd0, 0xe7, 0xdb, 0xa3, 0xce, 0xba, 0x52, 0x14, 0x9b, 0x92, 0xbe, 0x01, 0x49, 0xdc, 0x6d, 0x46,
  13653. 0x9d, 0x71, 0x4d, 0xe3, 0x6e, 0x93, 0x92, 0x5d, 0x83, 0x9c, 0xab, 0xc7, 0x32, 0x03, 0x03, 0xda,
  13654. 0xf2, 0x59, 0xa7, 0x4b, 0x52, 0xdb, 0x72, 0x26, 0x92, 0xe9, 0xe8, 0x13, 0x49, 0xb1, 0x01, 0x49,
  13655. 0xab, 0x5d, 0xd1, 0x59, 0x58, 0xbc, 0xb3, 0xb3, 0x21, 0x93, 0xd9, 0x4f, 0xc0, 0x82, 0xd8, 0x6e,
  13656. 0x79, 0xbb, 0x54, 0xdd, 0xbe, 0x9d, 0x13, 0x48, 0x42, 0xda, 0xdb, 0xde, 0x26, 0x89, 0x18, 0x4a,
  13657. 0xc2, 0x64, 0x69, 0x67, 0xbb, 0x9c, 0x8b, 0xa3, 0x19, 0x48, 0xb2, 0x79, 0x50, 0xb9, 0x94, 0x9b,
  13658. 0x24, 0x33, 0xa4, 0x5b, 0x85, 0x2a, 0xf9, 0x9f, 0x20, 0xf3, 0x2c, 0x6b, 0x85, 0xee, 0x0a, 0xe4,
  13659. 0x6e, 0x63, 0xd3, 0x3b, 0x40, 0x04, 0x39, 0x83, 0x7f, 0x2f, 0x00, 0x22, 0x5e, 0x8c, 0x61, 0x06,
  13660. 0xf8, 0xd8, 0x49, 0x8f, 0x8f, 0x75, 0x9c, 0xa1, 0xe0, 0x76, 0x86, 0x5e, 0xe7, 0x1a, 0xf3, 0x39,
  13661. 0x57, 0xaf, 0x63, 0x8e, 0xfb, 0x1d, 0xb3, 0xd5, 0xa9, 0x12, 0xe3, 0x75, 0x2a, 0xb7, 0xcb, 0x9e,
  13662. 0xf2, 0x06, 0x66, 0x3d, 0x98, 0xf7, 0xd4, 0x89, 0x7b, 0xe5, 0x57, 0x61, 0xf2, 0x91, 0xb6, 0x6f,
  13663. 0x79, 0xe3, 0x0b, 0x43, 0x0b, 0x92, 0x28, 0x6a, 0x64, 0x17, 0xfc, 0x32, 0xcc, 0x17, 0x95, 0x6e,
  13664. 0x03, 0xb7, 0x47, 0x6b, 0xfc, 0x65, 0x98, 0x67, 0xde, 0x7a, 0x34, 0xea, 0x6f, 0x09, 0x70, 0x91,
  13665. 0x8f, 0xf4, 0x03, 0xeb, 0x6c, 0xa3, 0x46, 0xc3, 0x87, 0x30, 0x1f, 0xf0, 0x66, 0xf7, 0x88, 0x63,
  13666. 0x20, 0x01, 0xc5, 0xa0, 0xc1, 0x97, 0xbd, 0x47, 0x4f, 0x4f, 0xfe, 0x9d, 0x00, 0x17, 0x59, 0xfc,
  13667. 0x15, 0x2e, 0x78, 0x90, 0x7f, 0xfd, 0x32, 0x85, 0x7e, 0xa6, 0xf8, 0x6c, 0x1d, 0xce, 0x93, 0xee,
  13668. 0x34, 0x4e, 0x65, 0xc4, 0x9f, 0x13, 0xe0, 0x2b, 0xd4, 0x0c, 0x07, 0xa8, 0x7e, 0x58, 0x13, 0x96,
  13669. 0x7f, 0x28, 0xc0, 0xc5, 0x50, 0x89, 0x78, 0x27, 0xf9, 0x18, 0x16, 0x02, 0x9a, 0xc0, 0xea, 0x34,
  13670. 0x63, 0xb4, 0xc1, 0xfc, 0x60, 0x1b, 0x44, 0xef, 0x4f, 0x6f, 0xc0, 0x45, 0xde, 0x49, 0xc6, 0x52,
  13671. 0xf9, 0x3f, 0x88, 0xc1, 0xb9, 0x4d, 0x45, 0x6f, 0x61, 0xf6, 0x1d, 0x39, 0xe7, 0x3b, 0x91, 0x3c,
  13672. 0x96, 0xa8, 0x40, 0x9a, 0x2f, 0x4c, 0xf4, 0x14, 0xf3, 0x90, 0x87, 0x38, 0xa1, 0xc7, 0xc8, 0xdb,
  13673. 0x5a, 0xbf, 0xc9, 0xe3, 0x9c, 0x5d, 0xc5, 0x3c, 0x94, 0x80, 0xd1, 0x92, 0xff, 0x48, 0x81, 0xa5,
  13674. 0x06, 0xc9, 0x97, 0xad, 0xa8, 0x89, 0x7e, 0xaf, 0xc5, 0xc0, 0xd6, 0x49, 0xbd, 0x95, 0x08, 0x4c,
  13675. 0x6f, 0xa9, 0xf4, 0x03, 0x72, 0xf4, 0x02, 0xc4, 0x20, 0x18, 0x6d, 0xc3, 0xec, 0xbe, 0xda, 0x92,
  13676. 0x1f, 0xf7, 0xb1, 0x7e, 0x22, 0xb3, 0x0d, 0xbd, 0x68, 0xcf, 0x7c, 0x51, 0x13, 0xae, 0x4c, 0x48,
  13677. 0x99, 0x7d, 0x37, 0xc0, 0x75, 0xe8, 0xea, 0x7b, 0x02, 0x2c, 0x90, 0xc2, 0x70, 0xd3, 0x77, 0x80,
  13678. 0xdf, 0xbf, 0xf8, 0x2b, 0x8c, 0x5c, 0xfc, 0x8d, 0x0d, 0x2e, 0xfe, 0xb6, 0xe1, 0x4c, 0x9b, 0xb4,
  13679. 0x81, 0xcc, 0x0f, 0x03, 0xba, 0xbe, 0xf2, 0x39, 0x7c, 0xa5, 0x6b, 0x48, 0xcb, 0x55, 0x26, 0xa4,
  13680. 0xc5, 0x76, 0x50, 0xb6, 0xbd, 0xfb, 0xfb, 0xd7, 0x63, 0xb0, 0xe8, 0xad, 0x13, 0xff, 0xd8, 0x0e,
  13681. 0x2a, 0xc2, 0x94, 0x27, 0xa4, 0xbd, 0x3e, 0x24, 0xa4, 0xf5, 0x6b, 0x44, 0xe2, 0xa4, 0xfe, 0x70,
  13682. 0x26, 0x36, 0x56, 0x38, 0xf3, 0x75, 0x6f, 0xfc, 0xb7, 0x12, 0x49, 0x00, 0x4f, 0x0c, 0xe8, 0x04,
  13683. 0x1d, 0x93, 0x63, 0x04, 0x1d, 0xff, 0x41, 0x80, 0xac, 0x97, 0x69, 0xa0, 0xd7, 0xdd, 0x83, 0x59,
  13684. 0xb6, 0x41, 0x66, 0xda, 0x1f, 0x2e, 0x1a, 0x7e, 0xf3, 0x29, 0x50, 0xcf, 0x52, 0x96, 0x33, 0xb1,
  13685. 0xf4, 0x7e, 0x1f, 0x72, 0x3d, 0xcc, 0x3e, 0xab, 0xc3, 0xd9, 0x8e, 0xda, 0x3f, 0x0f, 0xe6, 0x3b,
  13686. 0xcb, 0xb9, 0xf0, 0xb4, 0x21, 0xfe, 0x23, 0x01, 0xce, 0xb1, 0x61, 0xd1, 0x4b, 0x30, 0xca, 0xab,
  13687. 0x3a, 0x86, 0x10, 0x3b, 0xbd, 0x21, 0xdc, 0x84, 0x79, 0x83, 0xe6, 0xbb, 0xee, 0xd4, 0xd8, 0x63,
  13688. 0x60, 0xce, 0xf0, 0x90, 0x56, 0x9b, 0xe2, 0x6f, 0x08, 0x70, 0x8e, 0x8d, 0x84, 0xc1, 0xb2, 0x06,
  13689. 0xb5, 0xc7, 0x73, 0x91, 0xf3, 0x99, 0x86, 0xbb, 0x55, 0x58, 0xbe, 0x8d, 0xcd, 0xc8, 0x12, 0x8b,
  13690. 0x7f, 0x4d, 0x80, 0x3c, 0x19, 0x58, 0xbc, 0x14, 0x3f, 0xac, 0x61, 0xee, 0x6f, 0xf1, 0x65, 0xc2,
  13691. 0x01, 0x69, 0xf8, 0x10, 0x77, 0x17, 0xe6, 0xfc, 0x4d, 0x68, 0x8d, 0x6f, 0x2f, 0x45, 0x52, 0xb5,
  13692. 0x34, 0xeb, 0x6d, 0xe7, 0xe8, 0xe3, 0xda, 0xab, 0x70, 0x8e, 0x8d, 0x6b, 0x91, 0x75, 0xbb, 0xb2,
  13693. 0x05, 0x19, 0xcf, 0x47, 0x4c, 0xd1, 0x19, 0x98, 0x2f, 0xee, 0x6c, 0xd7, 0xcb, 0xdb, 0xfe, 0x33,
  13694. 0xca, 0x39, 0x98, 0xb1, 0x32, 0xea, 0xe5, 0x8f, 0xea, 0x39, 0x01, 0xcd, 0x41, 0xc6, 0x82, 0xb0,
  13695. 0xaf, 0x53, 0xc6, 0x56, 0x3e, 0x13, 0x60, 0xc6, 0xfd, 0x65, 0x61, 0x74, 0x01, 0xce, 0x6e, 0x15,
  13696. 0xea, 0xc5, 0x4a, 0x75, 0xfb, 0x76, 0xd0, 0x87, 0x2d, 0xcf, 0xc3, 0xb2, 0x37, 0xfb, 0xd6, 0xde,
  13697. 0xe6, 0xa6, 0x4c, 0x41, 0x39, 0x01, 0x5d, 0x84, 0x73, 0xde, 0xdc, 0xdd, 0x82, 0x54, 0xaf, 0x16,
  13698. 0x2c, 0x84, 0xd8, 0x20, 0x42, 0x75, 0xfb, 0x5e, 0x59, 0xaa, 0x95, 0x39, 0x42, 0x7c, 0x65, 0xd7,
  13699. 0x79, 0x16, 0xde, 0xf5, 0x3a, 0x3b, 0x99, 0x23, 0x95, 0xb7, 0xf7, 0xb6, 0x82, 0x24, 0x4a, 0xc3,
  13700. 0x74, 0x95, 0x02, 0x78, 0x0d, 0xa5, 0x6a, 0xed, 0x43, 0xb9, 0xb0, 0x5d, 0xd8, 0x7c, 0x50, 0xab,
  13701. 0xd6, 0x72, 0xb1, 0x95, 0x7f, 0x25, 0x00, 0x1a, 0x3c, 0xd6, 0x85, 0x2e, 0xc3, 0x45, 0xa9, 0xbc,
  13702. 0x49, 0x4f, 0x24, 0x84, 0x1f, 0x2a, 0x9a, 0x81, 0x64, 0xf9, 0xee, 0x5e, 0x61, 0x53, 0xae, 0xef,
  13703. 0xe4, 0x04, 0xa2, 0xd0, 0xed, 0x9d, 0xba, 0x6c, 0x43, 0xe8, 0x2d, 0xa9, 0xdb, 0x52, 0xb9, 0x50,
  13704. 0x2f, 0x4b, 0x72, 0xbd, 0x52, 0xd8, 0x66, 0xdf, 0xef, 0xdc, 0x2c, 0xd7, 0x6a, 0x2c, 0x39, 0x89,
  13705. 0xf2, 0xb0, 0xe4, 0x46, 0x90, 0x77, 0x24, 0x46, 0x5e, 0xcb, 0x25, 0x48, 0xc3, 0xd9, 0xa8, 0xae,
  13706. 0x8c, 0x29, 0x32, 0x87, 0x2b, 0x7f, 0x54, 0xad, 0xd5, 0x6b, 0xb9, 0xe9, 0x15, 0x09, 0xc0, 0x99,
  13707. 0xea, 0x10, 0xed, 0x97, 0x36, 0x77, 0x65, 0x32, 0x5d, 0x0c, 0xd0, 0xc4, 0x2c, 0xa4, 0xb9, 0x26,
  13708. 0x08, 0x46, 0x4e, 0x40, 0x8b, 0x30, 0xe7, 0xd1, 0x06, 0x05, 0xc7, 0x56, 0xba, 0x30, 0x1f, 0x30,
  13709. 0xb6, 0xa0, 0x2b, 0x20, 0xd2, 0xaf, 0x51, 0x94, 0xe4, 0xea, 0xf6, 0xad, 0x1d, 0x56, 0xc0, 0xc8,
  13710. 0x49, 0x69, 0x0a, 0x12, 0x52, 0xb9, 0x50, 0x7a, 0x90, 0x8b, 0xb9, 0xa6, 0x9e, 0x71, 0xd6, 0x28,
  13711. 0xf7, 0x0a, 0x9b, 0xd5, 0x52, 0x6e, 0x72, 0xfd, 0x0f, 0x6f, 0xd0, 0x4a, 0xd4, 0xb0, 0xfe, 0x44,
  13712. 0x6d, 0x60, 0xf4, 0xf7, 0x9c, 0xaf, 0x54, 0x73, 0x4b, 0x46, 0x37, 0x46, 0xae, 0x04, 0xb9, 0xbe,
  13713. 0xb5, 0x92, 0xbf, 0x19, 0x11, 0x9b, 0xf5, 0x6f, 0x71, 0xfd, 0x2f, 0x7d, 0xfe, 0xdf, 0x7f, 0x3e,
  13714. 0x76, 0x43, 0xbc, 0xba, 0xf6, 0x64, 0x7d, 0xed, 0xc7, 0x99, 0xaf, 0xf9, 0x6a, 0x4f, 0xd7, 0x1e,
  13715. 0xe1, 0x86, 0x69, 0xac, 0xad, 0xfc, 0xe4, 0x1a, 0xff, 0x7a, 0xe2, 0xbb, 0x7c, 0xc9, 0xe2, 0x5d,
  13716. 0x61, 0x05, 0x7d, 0x4b, 0x80, 0xb4, 0xeb, 0xcb, 0x56, 0xe8, 0xe5, 0xc8, 0x5f, 0x32, 0xcb, 0xaf,
  13717. 0x44, 0x41, 0xe5, 0xa2, 0xad, 0x51, 0xd1, 0x5e, 0x16, 0x5f, 0x0c, 0x13, 0x8d, 0x7e, 0x3d, 0xeb,
  13718. 0x5d, 0x76, 0xd5, 0x96, 0xc8, 0xf5, 0x6b, 0x02, 0xcc, 0x0d, 0x7c, 0x40, 0x09, 0xad, 0x45, 0x39,
  13719. 0x75, 0xe0, 0xd6, 0xe0, 0x2b, 0xd1, 0x09, 0xb8, 0xa4, 0x6f, 0x50, 0x49, 0xd7, 0xc4, 0x95, 0x51,
  13720. 0x4a, 0x74, 0xc2, 0x7c, 0x4b, 0x5e, 0x29, 0xb2, 0xbc, 0xd2, 0xb8, 0xf2, 0x4a, 0xcf, 0x2e, 0xaf,
  13721. 0xee, 0x91, 0xf7, 0xa7, 0x04, 0xc8, 0x78, 0x3e, 0xc1, 0x80, 0xae, 0x87, 0x7e, 0x19, 0x75, 0xf0,
  13722. 0xeb, 0x0f, 0xf9, 0x1b, 0xd1, 0x90, 0xb9, 0x8c, 0x8b, 0x54, 0xc6, 0x59, 0x94, 0x21, 0x32, 0x3a,
  13723. 0x47, 0xcf, 0xbf, 0x2f, 0xc0, 0x62, 0xe0, 0xce, 0x23, 0x7a, 0x2d, 0xf4, 0xd4, 0x7e, 0xf8, 0x3e,
  13724. 0x65, 0x3e, 0xe2, 0xd6, 0x92, 0xd8, 0xa2, 0xd2, 0x28, 0xe2, 0x4d, 0xb7, 0xc6, 0x34, 0xbd, 0xa5,
  13725. 0x74, 0xd5, 0x4f, 0xd9, 0xd1, 0x3a, 0x6a, 0x90, 0xbe, 0xfd, 0xa7, 0x77, 0x85, 0x95, 0x87, 0x37,
  13726. 0xc5, 0x6b, 0xa1, 0xf6, 0x3b, 0x88, 0x4e, 0xeb, 0x17, 0xb8, 0x59, 0x19, 0x5a, 0xbf, 0x61, 0x5b,
  13727. 0x9b, 0xe3, 0xd6, 0x6f, 0x9d, 0xd5, 0x8f, 0x8c, 0xa5, 0xfe, 0xda, 0x0d, 0x48, 0xbb, 0xb6, 0xf2,
  13728. 0x93, 0xb4, 0x7e, 0xeb, 0xd7, 0x1c, 0x1a, 0xa7, 0x76, 0x21, 0xe8, 0xe8, 0x7b, 0x02, 0xa0, 0xc1,
  13729. 0x8d, 0x4c, 0x14, 0x66, 0xc3, 0xa1, 0x7b, 0x9e, 0x91, 0x6b, 0xa6, 0xd0, 0x9a, 0xfd, 0x18, 0x1a,
  13730. 0xaf, 0x66, 0x0f, 0x57, 0x50, 0xe4, 0x6a, 0xa1, 0x1f, 0x08, 0xd6, 0xf7, 0x4e, 0x7c, 0xdb, 0x8f,
  13731. 0xeb, 0x43, 0x2d, 0x3e, 0x70, 0x5f, 0x36, 0xff, 0xda, 0x58, 0x34, 0xbc, 0xb3, 0x78, 0x2b, 0x19,
  13732. 0xd5, 0x3c, 0xed, 0x4a, 0x46, 0xb0, 0x4d, 0xf4, 0x07, 0x02, 0x2c, 0x06, 0xee, 0x91, 0x86, 0x1a,
  13733. 0xe6, 0xb0, 0x1d, 0xd5, 0x7c, 0xc8, 0x5b, 0xde, 0x56, 0x4d, 0x56, 0xc6, 0x6d, 0xae, 0x95, 0xe8,
  13734. 0xcd, 0xf5, 0xa7, 0x02, 0x2c, 0x87, 0xad, 0x14, 0xa2, 0x37, 0x87, 0x7a, 0x91, 0xd0, 0x15, 0x96,
  13735. 0x7c, 0xf4, 0xc5, 0x1e, 0xb1, 0x43, 0xab, 0xd8, 0x12, 0x5f, 0x19, 0xda, 0x58, 0x01, 0x2b, 0x42,
  13736. 0xa4, 0xbb, 0xbd, 0x22, 0x5e, 0x0f, 0x6b, 0xb2, 0x60, 0x0a, 0x5a, 0xdd, 0xb0, 0xf5, 0xc5, 0xd0,
  13737. 0xea, 0x8e, 0x58, 0x90, 0x3c, 0x45, 0x75, 0xd7, 0x5f, 0x09, 0x6f, 0xd1, 0x00, 0xc9, 0xb9, 0x77,
  13738. 0x79, 0x65, 0xfd, 0x7a, 0x60, 0xbb, 0x86, 0x52, 0xa0, 0xff, 0x22, 0xc0, 0x62, 0xe0, 0xf2, 0x63,
  13739. 0xa8, 0x9d, 0x0e, 0x5b, 0xac, 0x1c, 0xa7, 0xa2, 0xdc, 0x87, 0xa2, 0xb1, 0x2b, 0xfa, 0xf0, 0x26,
  13740. 0x1a, 0xa7, 0x96, 0xe8, 0x7f, 0xf1, 0xdd, 0xd4, 0x80, 0xa5, 0x49, 0xf4, 0xc6, 0x10, 0xf7, 0x11,
  13741. 0xbe, 0xb8, 0x9a, 0x7f, 0x73, 0x5c, 0x32, 0xee, 0x78, 0xbc, 0x75, 0x1e, 0xc3, 0x96, 0xed, 0x3a,
  13742. 0x47, 0x33, 0x64, 0xf4, 0xb9, 0x00, 0xcb, 0x61, 0xab, 0x9c, 0xa1, 0x56, 0x3c, 0x62, 0x59, 0x34,
  13743. 0xd4, 0x09, 0xf1, 0x5a, 0xad, 0x9c, 0xa2, 0x25, 0x57, 0xc6, 0x6a, 0xc9, 0x6f, 0x09, 0x90, 0xf3,
  13744. 0x9f, 0x21, 0x41, 0xab, 0x43, 0x5d, 0xd0, 0xc0, 0xbe, 0x75, 0x7e, 0xf4, 0x56, 0xb9, 0xb8, 0x4a,
  13745. 0x2b, 0x74, 0x4d, 0xbc, 0x1c, 0xa6, 0x72, 0xd7, 0x56, 0x3a, 0x8f, 0xf0, 0x73, 0xfe, 0x33, 0x21,
  13746. 0xa1, 0x72, 0x85, 0x1c, 0x1e, 0x19, 0x43, 0xae, 0xf5, 0xcb, 0x81, 0x4a, 0x73, 0x09, 0xc5, 0x3b,
  13747. 0xf7, 0xcf, 0x0a, 0x90, 0xf1, 0x9c, 0xfd, 0x08, 0x8d, 0x40, 0x83, 0x4e, 0x88, 0x44, 0x91, 0xe8,
  13748. 0x3a, 0x95, 0xe8, 0x25, 0x14, 0x45, 0x22, 0xf4, 0x77, 0x04, 0x98, 0xf5, 0x1d, 0x6b, 0x40, 0x37,
  13749. 0x87, 0xf4, 0xa4, 0xc1, 0x03, 0x1a, 0xf9, 0xd5, 0xa8, 0xe8, 0xbc, 0xc3, 0x79, 0xe5, 0x1b, 0xde,
  13750. 0x92, 0xe8, 0xa7, 0xe9, 0x83, 0x51, 0xde, 0xd3, 0x0e, 0xa1, 0xcd, 0x18, 0x72, 0x2c, 0x22, 0xb4,
  13751. 0x93, 0x70, 0x49, 0x56, 0x22, 0x69, 0xea, 0x3b, 0x02, 0xa0, 0xc1, 0x63, 0x49, 0xa1, 0x61, 0x5f,
  13752. 0xe8, 0x09, 0xa6, 0xfc, 0xf0, 0x9d, 0x48, 0xf1, 0x2d, 0x2a, 0xd4, 0xab, 0xe2, 0x8d, 0x28, 0x06,
  13753. 0xa5, 0xf0, 0x52, 0x88, 0x65, 0xfd, 0x15, 0x01, 0x66, 0xdc, 0x07, 0x85, 0xd0, 0xca, 0xf0, 0x40,
  13754. 0xc0, 0xbd, 0x1f, 0x39, 0x4a, 0xa8, 0x15, 0x2a, 0xd4, 0x8b, 0xe2, 0xc5, 0x50, 0x87, 0xc7, 0x36,
  13755. 0x5f, 0x89, 0x1c, 0x9f, 0x09, 0x90, 0x76, 0xed, 0xc7, 0x86, 0xce, 0xad, 0x07, 0xf7, 0xa1, 0x43,
  13756. 0xe7, 0xd6, 0x01, 0xdb, 0xbb, 0xe2, 0x55, 0x2a, 0xd2, 0x0b, 0x68, 0x94, 0x48, 0xe8, 0x27, 0x20,
  13757. 0x65, 0xef, 0x8d, 0xa3, 0xab, 0x43, 0x46, 0xd0, 0x71, 0x14, 0xe2, 0x2d, 0x7d, 0xc0, 0x57, 0xb2,
  13758. 0xa2, 0x89, 0xd9, 0xfc, 0x38, 0xcc, 0xb8, 0xf7, 0x7f, 0x43, 0x1b, 0x25, 0x60, 0x93, 0x38, 0xd4,
  13759. 0x6e, 0x79, 0xe1, 0x2b, 0x23, 0x0b, 0xa7, 0x26, 0xe1, 0xda, 0xa8, 0x0e, 0x37, 0x89, 0xc1, 0xdd,
  13760. 0xec, 0xd0, 0xd2, 0x5f, 0xa5, 0xa5, 0x5f, 0x17, 0xaf, 0x8c, 0x28, 0xfd, 0xdd, 0x06, 0x65, 0x4a,
  13761. 0x4c, 0xe2, 0x3f, 0x0a, 0xb0, 0x10, 0xb4, 0x84, 0x1f, 0x3a, 0xbd, 0x18, 0xb2, 0xde, 0x9f, 0x8f,
  13762. 0xb6, 0x68, 0x2b, 0x62, 0x2a, 0xa6, 0xcc, 0xfb, 0x51, 0xd8, 0xb8, 0xee, 0x5b, 0xd9, 0x25, 0x01,
  13763. 0xdb, 0x90, 0x95, 0xa4, 0x41, 0x6c, 0x5a, 0xb5, 0xa0, 0x15, 0xff, 0xd0, 0xaa, 0x0d, 0xd9, 0x1e,
  13764. 0x18, 0xb3, 0x6a, 0xeb, 0x37, 0xc2, 0x07, 0x77, 0x9f, 0xa4, 0x3c, 0x16, 0xbd, 0xb1, 0x7e, 0x35,
  13765. 0xb0, 0xd1, 0x02, 0xb1, 0xd1, 0x1f, 0x09, 0x30, 0x37, 0xb0, 0x2f, 0x10, 0xba, 0xb8, 0x13, 0xb6,
  13766. 0x83, 0x10, 0xb5, 0x52, 0x32, 0xad, 0xd4, 0x03, 0x34, 0x56, 0xa5, 0x1e, 0xbe, 0x8c, 0xa2, 0xd6,
  13767. 0x08, 0x7d, 0x5f, 0x60, 0xe7, 0x44, 0x7c, 0xfb, 0x04, 0xe8, 0xd5, 0x21, 0x4e, 0x27, 0x78, 0x87,
  13768. 0x23, 0xbf, 0x3e, 0x0e, 0x09, 0xf7, 0x57, 0xde, 0xfa, 0x45, 0xb4, 0x47, 0xbb, 0x7e, 0xa3, 0x8d,
  13769. 0x11, 0xfd, 0x9e, 0x00, 0x0b, 0x41, 0xbb, 0x0d, 0xa1, 0x96, 0x38, 0x64, 0x6b, 0x22, 0xb4, 0xf3,
  13770. 0xf3, 0x5a, 0xac, 0x8c, 0xd9, 0x4a, 0x2b, 0x51, 0x5b, 0x69, 0xe3, 0x33, 0x01, 0xce, 0x36, 0xb4,
  13771. 0x4e, 0xb0, 0xc8, 0x1b, 0xc9, 0x52, 0xbb, 0xb7, 0x4b, 0x24, 0xda, 0x15, 0x1e, 0xbe, 0xcd, 0x51,
  13772. 0x5a, 0x5a, 0x5b, 0xe9, 0xb6, 0x56, 0x35, 0xbd, 0xb5, 0xd6, 0xc2, 0x5d, 0x2a, 0xef, 0x1a, 0xcb,
  13773. 0x52, 0x7a, 0xaa, 0xb1, 0xc6, 0x39, 0x10, 0xc7, 0xb4, 0xf6, 0x64, 0xfd, 0xbd, 0x66, 0xbb, 0xf7,
  13774. 0xab, 0xb1, 0xf9, 0xdb, 0x8c, 0x94, 0x6e, 0xcf, 0x13, 0x97, 0xbe, 0x7a, 0x6f, 0xfd, 0x0f, 0x2d,
  13775. 0xe8, 0xc7, 0x14, 0xfa, 0x71, 0xa9, 0xdd, 0xfb, 0xf8, 0xde, 0xfa, 0xfe, 0x14, 0x65, 0xf8, 0xda,
  13776. 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xd4, 0xe5, 0x13, 0xb2, 0x8c, 0x94, 0x00, 0x00,
  13777. }