@ondewo/csi-client-nodejs
Version:
ONDEWO Communication System Integration (CSI) Client library for Nodejs
1,327 lines (1,244 loc) • 228 kB
JavaScript
// source: google/privacy/dlp/v2/storage.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require('google-protobuf');
var goog = jspb;
var global = (function() {
if (this) { return this; }
if (typeof window !== 'undefined') { return window; }
if (typeof global !== 'undefined') { return global; }
if (typeof self !== 'undefined') { return self; }
return Function('return this')();
}.call(null));
var google_api_annotations_pb = require('../../../../google/api/annotations_pb.js');
goog.object.extend(proto, google_api_annotations_pb);
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
goog.object.extend(proto, google_protobuf_timestamp_pb);
goog.exportSymbol('proto.google.privacy.dlp.v2.BigQueryField', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.BigQueryKey', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.BigQueryOptions', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.BigQueryOptions.SampleMethod', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.BigQueryTable', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.CloudStorageFileSet', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.CloudStorageOptions', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.CloudStorageOptions.FileSet', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.CloudStoragePath', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.CustomInfoType', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.AdjustmentCase', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.TypeCase', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.CustomInfoType.Dictionary', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.SourceCase', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.CustomInfoType.Regex', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.CustomInfoType.SurrogateType', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.CustomInfoType.TypeCase', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.DatastoreKey', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.DatastoreOptions', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.EntityId', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.FieldId', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.FileType', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.InfoType', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.Key', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.Key.PathElement', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.Key.PathElement.IdTypeCase', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.KindExpression', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.Likelihood', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.PartitionId', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.RecordKey', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.RecordKey.TypeCase', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.StorageConfig', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.StorageConfig.TimespanConfig', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.StorageConfig.TypeCase', null, global);
goog.exportSymbol('proto.google.privacy.dlp.v2.StoredType', null, global);
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.InfoType = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.privacy.dlp.v2.InfoType, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.InfoType.displayName = 'proto.google.privacy.dlp.v2.InfoType';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.StoredType = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.privacy.dlp.v2.StoredType, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.StoredType.displayName = 'proto.google.privacy.dlp.v2.StoredType';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.CustomInfoType = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.privacy.dlp.v2.CustomInfoType.repeatedFields_, proto.google.privacy.dlp.v2.CustomInfoType.oneofGroups_);
};
goog.inherits(proto.google.privacy.dlp.v2.CustomInfoType, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.CustomInfoType.displayName = 'proto.google.privacy.dlp.v2.CustomInfoType';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.CustomInfoType.Dictionary = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.oneofGroups_);
};
goog.inherits(proto.google.privacy.dlp.v2.CustomInfoType.Dictionary, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.displayName = 'proto.google.privacy.dlp.v2.CustomInfoType.Dictionary';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.repeatedFields_, null);
};
goog.inherits(proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.displayName = 'proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.CustomInfoType.Regex = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.privacy.dlp.v2.CustomInfoType.Regex, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.CustomInfoType.Regex.displayName = 'proto.google.privacy.dlp.v2.CustomInfoType.Regex';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.CustomInfoType.SurrogateType = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.privacy.dlp.v2.CustomInfoType.SurrogateType, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.CustomInfoType.SurrogateType.displayName = 'proto.google.privacy.dlp.v2.CustomInfoType.SurrogateType';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.oneofGroups_);
};
goog.inherits(proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.displayName = 'proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.displayName = 'proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.oneofGroups_);
};
goog.inherits(proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.displayName = 'proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.displayName = 'proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.FieldId = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.privacy.dlp.v2.FieldId, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.FieldId.displayName = 'proto.google.privacy.dlp.v2.FieldId';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.PartitionId = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.privacy.dlp.v2.PartitionId, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.PartitionId.displayName = 'proto.google.privacy.dlp.v2.PartitionId';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.KindExpression = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.privacy.dlp.v2.KindExpression, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.KindExpression.displayName = 'proto.google.privacy.dlp.v2.KindExpression';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.DatastoreOptions = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.privacy.dlp.v2.DatastoreOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.DatastoreOptions.displayName = 'proto.google.privacy.dlp.v2.DatastoreOptions';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.CloudStorageOptions = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.privacy.dlp.v2.CloudStorageOptions.repeatedFields_, null);
};
goog.inherits(proto.google.privacy.dlp.v2.CloudStorageOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.CloudStorageOptions.displayName = 'proto.google.privacy.dlp.v2.CloudStorageOptions';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.CloudStorageOptions.FileSet = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.privacy.dlp.v2.CloudStorageOptions.FileSet, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.CloudStorageOptions.FileSet.displayName = 'proto.google.privacy.dlp.v2.CloudStorageOptions.FileSet';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.CloudStorageFileSet = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.privacy.dlp.v2.CloudStorageFileSet, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.CloudStorageFileSet.displayName = 'proto.google.privacy.dlp.v2.CloudStorageFileSet';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.CloudStoragePath = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.privacy.dlp.v2.CloudStoragePath, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.CloudStoragePath.displayName = 'proto.google.privacy.dlp.v2.CloudStoragePath';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.BigQueryOptions = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.privacy.dlp.v2.BigQueryOptions.repeatedFields_, null);
};
goog.inherits(proto.google.privacy.dlp.v2.BigQueryOptions, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.BigQueryOptions.displayName = 'proto.google.privacy.dlp.v2.BigQueryOptions';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.StorageConfig = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.google.privacy.dlp.v2.StorageConfig.oneofGroups_);
};
goog.inherits(proto.google.privacy.dlp.v2.StorageConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.StorageConfig.displayName = 'proto.google.privacy.dlp.v2.StorageConfig';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.StorageConfig.TimespanConfig = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.privacy.dlp.v2.StorageConfig.TimespanConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.StorageConfig.TimespanConfig.displayName = 'proto.google.privacy.dlp.v2.StorageConfig.TimespanConfig';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.BigQueryKey = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.privacy.dlp.v2.BigQueryKey, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.BigQueryKey.displayName = 'proto.google.privacy.dlp.v2.BigQueryKey';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.DatastoreKey = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.privacy.dlp.v2.DatastoreKey, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.DatastoreKey.displayName = 'proto.google.privacy.dlp.v2.DatastoreKey';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.Key = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.privacy.dlp.v2.Key.repeatedFields_, null);
};
goog.inherits(proto.google.privacy.dlp.v2.Key, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.Key.displayName = 'proto.google.privacy.dlp.v2.Key';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.Key.PathElement = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.google.privacy.dlp.v2.Key.PathElement.oneofGroups_);
};
goog.inherits(proto.google.privacy.dlp.v2.Key.PathElement, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.Key.PathElement.displayName = 'proto.google.privacy.dlp.v2.Key.PathElement';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.RecordKey = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.google.privacy.dlp.v2.RecordKey.oneofGroups_);
};
goog.inherits(proto.google.privacy.dlp.v2.RecordKey, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.RecordKey.displayName = 'proto.google.privacy.dlp.v2.RecordKey';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.BigQueryTable = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.privacy.dlp.v2.BigQueryTable, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.BigQueryTable.displayName = 'proto.google.privacy.dlp.v2.BigQueryTable';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.BigQueryField = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.privacy.dlp.v2.BigQueryField, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.BigQueryField.displayName = 'proto.google.privacy.dlp.v2.BigQueryField';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.privacy.dlp.v2.EntityId = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.privacy.dlp.v2.EntityId, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.privacy.dlp.v2.EntityId.displayName = 'proto.google.privacy.dlp.v2.EntityId';
}
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.google.privacy.dlp.v2.InfoType.prototype.toObject = function(opt_includeInstance) {
return proto.google.privacy.dlp.v2.InfoType.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.google.privacy.dlp.v2.InfoType} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.privacy.dlp.v2.InfoType.toObject = function(includeInstance, msg) {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.google.privacy.dlp.v2.InfoType}
*/
proto.google.privacy.dlp.v2.InfoType.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.google.privacy.dlp.v2.InfoType;
return proto.google.privacy.dlp.v2.InfoType.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.google.privacy.dlp.v2.InfoType} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.google.privacy.dlp.v2.InfoType}
*/
proto.google.privacy.dlp.v2.InfoType.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.google.privacy.dlp.v2.InfoType.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.google.privacy.dlp.v2.InfoType.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.google.privacy.dlp.v2.InfoType} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.privacy.dlp.v2.InfoType.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getName();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
};
/**
* optional string name = 1;
* @return {string}
*/
proto.google.privacy.dlp.v2.InfoType.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.google.privacy.dlp.v2.InfoType} returns this
*/
proto.google.privacy.dlp.v2.InfoType.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.google.privacy.dlp.v2.StoredType.prototype.toObject = function(opt_includeInstance) {
return proto.google.privacy.dlp.v2.StoredType.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.google.privacy.dlp.v2.StoredType} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.privacy.dlp.v2.StoredType.toObject = function(includeInstance, msg) {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.google.privacy.dlp.v2.StoredType}
*/
proto.google.privacy.dlp.v2.StoredType.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.google.privacy.dlp.v2.StoredType;
return proto.google.privacy.dlp.v2.StoredType.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.google.privacy.dlp.v2.StoredType} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.google.privacy.dlp.v2.StoredType}
*/
proto.google.privacy.dlp.v2.StoredType.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 2:
var value = new google_protobuf_timestamp_pb.Timestamp;
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
msg.setCreateTime(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.google.privacy.dlp.v2.StoredType.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.google.privacy.dlp.v2.StoredType.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.google.privacy.dlp.v2.StoredType} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.privacy.dlp.v2.StoredType.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getName();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getCreateTime();
if (f != null) {
writer.writeMessage(
2,
f,
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
);
}
};
/**
* optional string name = 1;
* @return {string}
*/
proto.google.privacy.dlp.v2.StoredType.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.google.privacy.dlp.v2.StoredType} returns this
*/
proto.google.privacy.dlp.v2.StoredType.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional google.protobuf.Timestamp create_time = 2;
* @return {?proto.google.protobuf.Timestamp}
*/
proto.google.privacy.dlp.v2.StoredType.prototype.getCreateTime = function() {
return /** @type{?proto.google.protobuf.Timestamp} */ (
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
};
/**
* @param {?proto.google.protobuf.Timestamp|undefined} value
* @return {!proto.google.privacy.dlp.v2.StoredType} returns this
*/
proto.google.privacy.dlp.v2.StoredType.prototype.setCreateTime = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.google.privacy.dlp.v2.StoredType} returns this
*/
proto.google.privacy.dlp.v2.StoredType.prototype.clearCreateTime = function() {
return this.setCreateTime(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.google.privacy.dlp.v2.StoredType.prototype.hasCreateTime = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.google.privacy.dlp.v2.CustomInfoType.repeatedFields_ = [7];
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.google.privacy.dlp.v2.CustomInfoType.oneofGroups_ = [[2,3,4,5]];
/**
* @enum {number}
*/
proto.google.privacy.dlp.v2.CustomInfoType.TypeCase = {
TYPE_NOT_SET: 0,
DICTIONARY: 2,
REGEX: 3,
SURROGATE_TYPE: 4,
STORED_TYPE: 5
};
/**
* @return {proto.google.privacy.dlp.v2.CustomInfoType.TypeCase}
*/
proto.google.privacy.dlp.v2.CustomInfoType.prototype.getTypeCase = function() {
return /** @type {proto.google.privacy.dlp.v2.CustomInfoType.TypeCase} */(jspb.Message.computeOneofCase(this, proto.google.privacy.dlp.v2.CustomInfoType.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.google.privacy.dlp.v2.CustomInfoType.prototype.toObject = function(opt_includeInstance) {
return proto.google.privacy.dlp.v2.CustomInfoType.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.google.privacy.dlp.v2.CustomInfoType} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.privacy.dlp.v2.CustomInfoType.toObject = function(includeInstance, msg) {
var f, obj = {
infoType: (f = msg.getInfoType()) && proto.google.privacy.dlp.v2.InfoType.toObject(includeInstance, f),
likelihood: jspb.Message.getFieldWithDefault(msg, 6, 0),
dictionary: (f = msg.getDictionary()) && proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.toObject(includeInstance, f),
regex: (f = msg.getRegex()) && proto.google.privacy.dlp.v2.CustomInfoType.Regex.toObject(includeInstance, f),
surrogateType: (f = msg.getSurrogateType()) && proto.google.privacy.dlp.v2.CustomInfoType.SurrogateType.toObject(includeInstance, f),
storedType: (f = msg.getStoredType()) && proto.google.privacy.dlp.v2.StoredType.toObject(includeInstance, f),
detectionRulesList: jspb.Message.toObjectList(msg.getDetectionRulesList(),
proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.google.privacy.dlp.v2.CustomInfoType}
*/
proto.google.privacy.dlp.v2.CustomInfoType.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.google.privacy.dlp.v2.CustomInfoType;
return proto.google.privacy.dlp.v2.CustomInfoType.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.google.privacy.dlp.v2.CustomInfoType} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.google.privacy.dlp.v2.CustomInfoType}
*/
proto.google.privacy.dlp.v2.CustomInfoType.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.google.privacy.dlp.v2.InfoType;
reader.readMessage(value,proto.google.privacy.dlp.v2.InfoType.deserializeBinaryFromReader);
msg.setInfoType(value);
break;
case 6:
var value = /** @type {!proto.google.privacy.dlp.v2.Likelihood} */ (reader.readEnum());
msg.setLikelihood(value);
break;
case 2:
var value = new proto.google.privacy.dlp.v2.CustomInfoType.Dictionary;
reader.readMessage(value,proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.deserializeBinaryFromReader);
msg.setDictionary(value);
break;
case 3:
var value = new proto.google.privacy.dlp.v2.CustomInfoType.Regex;
reader.readMessage(value,proto.google.privacy.dlp.v2.CustomInfoType.Regex.deserializeBinaryFromReader);
msg.setRegex(value);
break;
case 4:
var value = new proto.google.privacy.dlp.v2.CustomInfoType.SurrogateType;
reader.readMessage(value,proto.google.privacy.dlp.v2.CustomInfoType.SurrogateType.deserializeBinaryFromReader);
msg.setSurrogateType(value);
break;
case 5:
var value = new proto.google.privacy.dlp.v2.StoredType;
reader.readMessage(value,proto.google.privacy.dlp.v2.StoredType.deserializeBinaryFromReader);
msg.setStoredType(value);
break;
case 7:
var value = new proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule;
reader.readMessage(value,proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.deserializeBinaryFromReader);
msg.addDetectionRules(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.google.privacy.dlp.v2.CustomInfoType.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.google.privacy.dlp.v2.CustomInfoType.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.google.privacy.dlp.v2.CustomInfoType} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.privacy.dlp.v2.CustomInfoType.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getInfoType();
if (f != null) {
writer.writeMessage(
1,
f,
proto.google.privacy.dlp.v2.InfoType.serializeBinaryToWriter
);
}
f = message.getLikelihood();
if (f !== 0.0) {
writer.writeEnum(
6,
f
);
}
f = message.getDictionary();
if (f != null) {
writer.writeMessage(
2,
f,
proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.serializeBinaryToWriter
);
}
f = message.getRegex();
if (f != null) {
writer.writeMessage(
3,
f,
proto.google.privacy.dlp.v2.CustomInfoType.Regex.serializeBinaryToWriter
);
}
f = message.getSurrogateType();
if (f != null) {
writer.writeMessage(
4,
f,
proto.google.privacy.dlp.v2.CustomInfoType.SurrogateType.serializeBinaryToWriter
);
}
f = message.getStoredType();
if (f != null) {
writer.writeMessage(
5,
f,
proto.google.privacy.dlp.v2.StoredType.serializeBinaryToWriter
);
}
f = message.getDetectionRulesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
7,
f,
proto.google.privacy.dlp.v2.CustomInfoType.DetectionRule.serializeBinaryToWriter
);
}
};
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.oneofGroups_ = [[1,3]];
/**
* @enum {number}
*/
proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.SourceCase = {
SOURCE_NOT_SET: 0,
WORD_LIST: 1,
CLOUD_STORAGE_PATH: 3
};
/**
* @return {proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.SourceCase}
*/
proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.prototype.getSourceCase = function() {
return /** @type {proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.SourceCase} */(jspb.Message.computeOneofCase(this, proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.prototype.toObject = function(opt_includeInstance) {
return proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.google.privacy.dlp.v2.CustomInfoType.Dictionary} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.toObject = function(includeInstance, msg) {
var f, obj = {
wordList: (f = msg.getWordList()) && proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.toObject(includeInstance, f),
cloudStoragePath: (f = msg.getCloudStoragePath()) && proto.google.privacy.dlp.v2.CloudStoragePath.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.google.privacy.dlp.v2.CustomInfoType.Dictionary}
*/
proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.google.privacy.dlp.v2.CustomInfoType.Dictionary;
return proto.google.privacy.dlp.v2.CustomInfoType.Dictionary.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.google.pri