blob: f5be1cb2d00096d43dea6be8f84c429edbe07667 [file] [log] [blame]
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: components/optimization_guide/proto/redaction.proto
# Protobuf Python Version: 6.33.0
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
_runtime_version.Domain.PUBLIC,
6,
33,
0,
'',
'components/optimization_guide/proto/redaction.proto'
)
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from components.optimization_guide.proto import descriptors_pb2 as components_dot_optimization__guide_dot_proto_dot_descriptors__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3components/optimization_guide/proto/redaction.proto\x12\x18optimization_guide.proto\x1a\x35\x63omponents/optimization_guide/proto/descriptors.proto\"\xc0\x01\n\nRedactRule\x12:\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32(.optimization_guide.proto.RedactBehavior\x12\r\n\x05regex\x18\x02 \x01(\t\x12\x1a\n\x12replacement_string\x18\x03 \x01(\t\x12\x1a\n\x12min_pattern_length\x18\x04 \x01(\x05\x12\x1a\n\x12max_pattern_length\x18\x05 \x01(\x05\x12\x13\n\x0bgroup_index\x18\x06 \x01(\x05\"\x81\x01\n\x0bRedactRules\x12=\n\x0f\x66ields_to_check\x18\x01 \x03(\x0b\x32$.optimization_guide.proto.ProtoField\x12\x33\n\x05rules\x18\x02 \x03(\x0b\x32$.optimization_guide.proto.RedactRule*n\n\x0eRedactBehavior\x12\x1f\n\x1bREDACT_BEHAVIOR_UNSPECIFIED\x10\x00\x12\n\n\x06REJECT\x10\x01\x12\x1c\n\x18REDACT_IF_ONLY_IN_OUTPUT\x10\x02\x12\x11\n\rREDACT_ALWAYS\x10\x03\x42I\n0org.chromium.components.optimization_guide.protoB\x13ModelExecutionProtoH\x03\x62\x06proto3')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'components.optimization_guide.proto.redaction_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
_globals['DESCRIPTOR']._loaded_options = None
_globals['DESCRIPTOR']._serialized_options = b'\n0org.chromium.components.optimization_guide.protoB\023ModelExecutionProtoH\003'
_globals['_REDACTBEHAVIOR']._serialized_start=463
_globals['_REDACTBEHAVIOR']._serialized_end=573
_globals['_REDACTRULE']._serialized_start=137
_globals['_REDACTRULE']._serialized_end=329
_globals['_REDACTRULES']._serialized_start=332
_globals['_REDACTRULES']._serialized_end=461
# @@protoc_insertion_point(module_scope)