# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: envoy/extensions/transport_sockets/tls/v3/secret.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from envoy.config.core.v3 import base_pb2 as envoy_dot_config_dot_core_dot_v3_dot_base__pb2
from envoy.config.core.v3 import config_source_pb2 as envoy_dot_config_dot_core_dot_v3_dot_config__source__pb2
from envoy.extensions.transport_sockets.tls.v3 import common_pb2 as envoy_dot_extensions_dot_transport__sockets_dot_tls_dot_v3_dot_common__pb2
from udpa.annotations import sensitive_pb2 as udpa_dot_annotations_dot_sensitive__pb2
from udpa.annotations import status_pb2 as udpa_dot_annotations_dot_status__pb2
from udpa.annotations import versioning_pb2 as udpa_dot_annotations_dot_versioning__pb2
from validate import validate_pb2 as validate_dot_validate__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='envoy/extensions/transport_sockets/tls/v3/secret.proto',
  package='envoy.extensions.transport_sockets.tls.v3',
  syntax='proto3',
  serialized_options=b'\n7io.envoyproxy.envoy.extensions.transport_sockets.tls.v3B\013SecretProtoP\001\272\200\310\321\006\002\020\002',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n6envoy/extensions/transport_sockets/tls/v3/secret.proto\x12)envoy.extensions.transport_sockets.tls.v3\x1a\x1f\x65nvoy/config/core/v3/base.proto\x1a(envoy/config/core/v3/config_source.proto\x1a\x36\x65nvoy/extensions/transport_sockets/tls/v3/common.proto\x1a udpa/annotations/sensitive.proto\x1a\x1dudpa/annotations/status.proto\x1a!udpa/annotations/versioning.proto\x1a\x17validate/validate.proto\"q\n\rGenericSecret\x12\x38\n\x06secret\x18\x01 \x01(\x0b\x32 .envoy.config.core.v3.DataSourceB\x06\xb8\xb7\x8b\xa4\x02\x01:&\x9a\xc5\x88\x1e!\n\x1f\x65nvoy.api.v2.auth.GenericSecret\"\x8a\x01\n\x0fSdsSecretConfig\x12\x15\n\x04name\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01\x12\x36\n\nsds_config\x18\x02 \x01(\x0b\x32\".envoy.config.core.v3.ConfigSource:(\x9a\xc5\x88\x1e#\n!envoy.api.v2.auth.SdsSecretConfig\"\xb0\x03\n\x06Secret\x12\x0c\n\x04name\x18\x01 \x01(\t\x12T\n\x0ftls_certificate\x18\x02 \x01(\x0b\x32\x39.envoy.extensions.transport_sockets.tls.v3.TlsCertificateH\x00\x12^\n\x13session_ticket_keys\x18\x03 \x01(\x0b\x32?.envoy.extensions.transport_sockets.tls.v3.TlsSessionTicketKeysH\x00\x12\x65\n\x12validation_context\x18\x04 \x01(\x0b\x32G.envoy.extensions.transport_sockets.tls.v3.CertificateValidationContextH\x00\x12R\n\x0egeneric_secret\x18\x05 \x01(\x0b\x32\x38.envoy.extensions.transport_sockets.tls.v3.GenericSecretH\x00:\x1f\x9a\xc5\x88\x1e\x1a\n\x18\x65nvoy.api.v2.auth.SecretB\x06\n\x04typeBP\n7io.envoyproxy.envoy.extensions.transport_sockets.tls.v3B\x0bSecretProtoP\x01\xba\x80\xc8\xd1\x06\x02\x10\x02\x62\x06proto3'
  ,
  dependencies=[envoy_dot_config_dot_core_dot_v3_dot_base__pb2.DESCRIPTOR,envoy_dot_config_dot_core_dot_v3_dot_config__source__pb2.DESCRIPTOR,envoy_dot_extensions_dot_transport__sockets_dot_tls_dot_v3_dot_common__pb2.DESCRIPTOR,udpa_dot_annotations_dot_sensitive__pb2.DESCRIPTOR,udpa_dot_annotations_dot_status__pb2.DESCRIPTOR,udpa_dot_annotations_dot_versioning__pb2.DESCRIPTOR,validate_dot_validate__pb2.DESCRIPTOR,])




_GENERICSECRET = _descriptor.Descriptor(
  name='GenericSecret',
  full_name='envoy.extensions.transport_sockets.tls.v3.GenericSecret',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='secret', full_name='envoy.extensions.transport_sockets.tls.v3.GenericSecret.secret', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\270\267\213\244\002\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=b'\232\305\210\036!\n\037envoy.api.v2.auth.GenericSecret',
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=357,
  serialized_end=470,
)


_SDSSECRETCONFIG = _descriptor.Descriptor(
  name='SdsSecretConfig',
  full_name='envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='name', full_name='envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig.name', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\372B\004r\002\020\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='sds_config', full_name='envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig.sds_config', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=b'\232\305\210\036#\n!envoy.api.v2.auth.SdsSecretConfig',
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=473,
  serialized_end=611,
)


_SECRET = _descriptor.Descriptor(
  name='Secret',
  full_name='envoy.extensions.transport_sockets.tls.v3.Secret',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='name', full_name='envoy.extensions.transport_sockets.tls.v3.Secret.name', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='tls_certificate', full_name='envoy.extensions.transport_sockets.tls.v3.Secret.tls_certificate', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='session_ticket_keys', full_name='envoy.extensions.transport_sockets.tls.v3.Secret.session_ticket_keys', index=2,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='validation_context', full_name='envoy.extensions.transport_sockets.tls.v3.Secret.validation_context', index=3,
      number=4, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='generic_secret', full_name='envoy.extensions.transport_sockets.tls.v3.Secret.generic_secret', index=4,
      number=5, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=b'\232\305\210\036\032\n\030envoy.api.v2.auth.Secret',
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='type', full_name='envoy.extensions.transport_sockets.tls.v3.Secret.type',
      index=0, containing_type=None,
      create_key=_descriptor._internal_create_key,
    fields=[]),
  ],
  serialized_start=614,
  serialized_end=1046,
)

_GENERICSECRET.fields_by_name['secret'].message_type = envoy_dot_config_dot_core_dot_v3_dot_base__pb2._DATASOURCE
_SDSSECRETCONFIG.fields_by_name['sds_config'].message_type = envoy_dot_config_dot_core_dot_v3_dot_config__source__pb2._CONFIGSOURCE
_SECRET.fields_by_name['tls_certificate'].message_type = envoy_dot_extensions_dot_transport__sockets_dot_tls_dot_v3_dot_common__pb2._TLSCERTIFICATE
_SECRET.fields_by_name['session_ticket_keys'].message_type = envoy_dot_extensions_dot_transport__sockets_dot_tls_dot_v3_dot_common__pb2._TLSSESSIONTICKETKEYS
_SECRET.fields_by_name['validation_context'].message_type = envoy_dot_extensions_dot_transport__sockets_dot_tls_dot_v3_dot_common__pb2._CERTIFICATEVALIDATIONCONTEXT
_SECRET.fields_by_name['generic_secret'].message_type = _GENERICSECRET
_SECRET.oneofs_by_name['type'].fields.append(
  _SECRET.fields_by_name['tls_certificate'])
_SECRET.fields_by_name['tls_certificate'].containing_oneof = _SECRET.oneofs_by_name['type']
_SECRET.oneofs_by_name['type'].fields.append(
  _SECRET.fields_by_name['session_ticket_keys'])
_SECRET.fields_by_name['session_ticket_keys'].containing_oneof = _SECRET.oneofs_by_name['type']
_SECRET.oneofs_by_name['type'].fields.append(
  _SECRET.fields_by_name['validation_context'])
_SECRET.fields_by_name['validation_context'].containing_oneof = _SECRET.oneofs_by_name['type']
_SECRET.oneofs_by_name['type'].fields.append(
  _SECRET.fields_by_name['generic_secret'])
_SECRET.fields_by_name['generic_secret'].containing_oneof = _SECRET.oneofs_by_name['type']
DESCRIPTOR.message_types_by_name['GenericSecret'] = _GENERICSECRET
DESCRIPTOR.message_types_by_name['SdsSecretConfig'] = _SDSSECRETCONFIG
DESCRIPTOR.message_types_by_name['Secret'] = _SECRET
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

GenericSecret = _reflection.GeneratedProtocolMessageType('GenericSecret', (_message.Message,), {
  'DESCRIPTOR' : _GENERICSECRET,
  '__module__' : 'envoy.extensions.transport_sockets.tls.v3.secret_pb2'
  # @@protoc_insertion_point(class_scope:envoy.extensions.transport_sockets.tls.v3.GenericSecret)
  })
_sym_db.RegisterMessage(GenericSecret)

SdsSecretConfig = _reflection.GeneratedProtocolMessageType('SdsSecretConfig', (_message.Message,), {
  'DESCRIPTOR' : _SDSSECRETCONFIG,
  '__module__' : 'envoy.extensions.transport_sockets.tls.v3.secret_pb2'
  # @@protoc_insertion_point(class_scope:envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig)
  })
_sym_db.RegisterMessage(SdsSecretConfig)

Secret = _reflection.GeneratedProtocolMessageType('Secret', (_message.Message,), {
  'DESCRIPTOR' : _SECRET,
  '__module__' : 'envoy.extensions.transport_sockets.tls.v3.secret_pb2'
  # @@protoc_insertion_point(class_scope:envoy.extensions.transport_sockets.tls.v3.Secret)
  })
_sym_db.RegisterMessage(Secret)


DESCRIPTOR._options = None
_GENERICSECRET.fields_by_name['secret']._options = None
_GENERICSECRET._options = None
_SDSSECRETCONFIG.fields_by_name['name']._options = None
_SDSSECRETCONFIG._options = None
_SECRET._options = None
# @@protoc_insertion_point(module_scope)
