# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: arista/tag.v2/tag.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
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 google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
from fmp import extensions_pb2 as fmp_dot_extensions__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='arista/tag.v2/tag.proto',
  package='arista.tag.v2',
  syntax='proto3',
  serialized_options=b'Z\"arista/resources/arista/tag.v2;tag',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x17\x61rista/tag.v2/tag.proto\x12\rarista.tag.v2\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x14\x66mp/extensions.proto\"\xce\x01\n\x06TagKey\x12\x32\n\x0cworkspace_id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\x0c\x65lement_type\x18\x02 \x01(\x0e\x32\x1a.arista.tag.v2.ElementType\x12+\n\x05label\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05value\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue:\x04\x80\x8e\x19\x01\"c\n\tTagConfig\x12\"\n\x03key\x18\x01 \x01(\x0b\x32\x15.arista.tag.v2.TagKey\x12*\n\x06remove\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue:\x06\xfa\x8d\x19\x02rw\"c\n\x03Tag\x12\"\n\x03key\x18\x01 \x01(\x0b\x32\x15.arista.tag.v2.TagKey\x12\x30\n\x0c\x63reator_type\x18\x02 \x01(\x0e\x32\x1a.arista.tag.v2.CreatorType:\x06\xfa\x8d\x19\x02ro\"\xbd\x02\n\x10TagAssignmentKey\x12\x32\n\x0cworkspace_id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\x0c\x65lement_type\x18\x02 \x01(\x0e\x32\x1a.arista.tag.v2.ElementType\x12+\n\x05label\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05value\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12/\n\tdevice_id\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0cinterface_id\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue:\x04\x80\x8e\x19\x01\"w\n\x13TagAssignmentConfig\x12,\n\x03key\x18\x01 \x01(\x0b\x32\x1f.arista.tag.v2.TagAssignmentKey\x12*\n\x06remove\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue:\x06\xfa\x8d\x19\x02rw\"E\n\rTagAssignment\x12,\n\x03key\x18\x01 \x01(\x0b\x32\x1f.arista.tag.v2.TagAssignmentKey:\x06\xfa\x8d\x19\x02ro*`\n\x0b\x45lementType\x12\x1c\n\x18\x45LEMENT_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13\x45LEMENT_TYPE_DEVICE\x10\x01\x12\x1a\n\x16\x45LEMENT_TYPE_INTERFACE\x10\x02*[\n\x0b\x43reatorType\x12\x1c\n\x18\x43REATOR_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13\x43REATOR_TYPE_SYSTEM\x10\x01\x12\x15\n\x11\x43REATOR_TYPE_USER\x10\x02\x42$Z\"arista/resources/arista/tag.v2;tagb\x06proto3'
  ,
  dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,fmp_dot_extensions__pb2.DESCRIPTOR,])

_ELEMENTTYPE = _descriptor.EnumDescriptor(
  name='ElementType',
  full_name='arista.tag.v2.ElementType',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='ELEMENT_TYPE_UNSPECIFIED', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='ELEMENT_TYPE_DEVICE', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='ELEMENT_TYPE_INTERFACE', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=1019,
  serialized_end=1115,
)
_sym_db.RegisterEnumDescriptor(_ELEMENTTYPE)

ElementType = enum_type_wrapper.EnumTypeWrapper(_ELEMENTTYPE)
_CREATORTYPE = _descriptor.EnumDescriptor(
  name='CreatorType',
  full_name='arista.tag.v2.CreatorType',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='CREATOR_TYPE_UNSPECIFIED', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='CREATOR_TYPE_SYSTEM', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='CREATOR_TYPE_USER', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=1117,
  serialized_end=1208,
)
_sym_db.RegisterEnumDescriptor(_CREATORTYPE)

CreatorType = enum_type_wrapper.EnumTypeWrapper(_CREATORTYPE)
ELEMENT_TYPE_UNSPECIFIED = 0
ELEMENT_TYPE_DEVICE = 1
ELEMENT_TYPE_INTERFACE = 2
CREATOR_TYPE_UNSPECIFIED = 0
CREATOR_TYPE_SYSTEM = 1
CREATOR_TYPE_USER = 2



_TAGKEY = _descriptor.Descriptor(
  name='TagKey',
  full_name='arista.tag.v2.TagKey',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='workspace_id', full_name='arista.tag.v2.TagKey.workspace_id', 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=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='element_type', full_name='arista.tag.v2.TagKey.element_type', index=1,
      number=2, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      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='label', full_name='arista.tag.v2.TagKey.label', 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='value', full_name='arista.tag.v2.TagKey.value', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=b'\200\216\031\001',
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=97,
  serialized_end=303,
)


_TAGCONFIG = _descriptor.Descriptor(
  name='TagConfig',
  full_name='arista.tag.v2.TagConfig',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='key', full_name='arista.tag.v2.TagConfig.key', 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=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='remove', full_name='arista.tag.v2.TagConfig.remove', 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'\372\215\031\002rw',
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=305,
  serialized_end=404,
)


_TAG = _descriptor.Descriptor(
  name='Tag',
  full_name='arista.tag.v2.Tag',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='key', full_name='arista.tag.v2.Tag.key', 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=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='creator_type', full_name='arista.tag.v2.Tag.creator_type', index=1,
      number=2, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      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'\372\215\031\002ro',
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=406,
  serialized_end=505,
)


_TAGASSIGNMENTKEY = _descriptor.Descriptor(
  name='TagAssignmentKey',
  full_name='arista.tag.v2.TagAssignmentKey',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='workspace_id', full_name='arista.tag.v2.TagAssignmentKey.workspace_id', 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=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='element_type', full_name='arista.tag.v2.TagAssignmentKey.element_type', index=1,
      number=2, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      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='label', full_name='arista.tag.v2.TagAssignmentKey.label', 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='value', full_name='arista.tag.v2.TagAssignmentKey.value', 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='device_id', full_name='arista.tag.v2.TagAssignmentKey.device_id', 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),
    _descriptor.FieldDescriptor(
      name='interface_id', full_name='arista.tag.v2.TagAssignmentKey.interface_id', index=5,
      number=6, 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'\200\216\031\001',
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=508,
  serialized_end=825,
)


_TAGASSIGNMENTCONFIG = _descriptor.Descriptor(
  name='TagAssignmentConfig',
  full_name='arista.tag.v2.TagAssignmentConfig',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='key', full_name='arista.tag.v2.TagAssignmentConfig.key', 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=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='remove', full_name='arista.tag.v2.TagAssignmentConfig.remove', 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'\372\215\031\002rw',
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=827,
  serialized_end=946,
)


_TAGASSIGNMENT = _descriptor.Descriptor(
  name='TagAssignment',
  full_name='arista.tag.v2.TagAssignment',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='key', full_name='arista.tag.v2.TagAssignment.key', 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=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=b'\372\215\031\002ro',
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=948,
  serialized_end=1017,
)

_TAGKEY.fields_by_name['workspace_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE
_TAGKEY.fields_by_name['element_type'].enum_type = _ELEMENTTYPE
_TAGKEY.fields_by_name['label'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE
_TAGKEY.fields_by_name['value'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE
_TAGCONFIG.fields_by_name['key'].message_type = _TAGKEY
_TAGCONFIG.fields_by_name['remove'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE
_TAG.fields_by_name['key'].message_type = _TAGKEY
_TAG.fields_by_name['creator_type'].enum_type = _CREATORTYPE
_TAGASSIGNMENTKEY.fields_by_name['workspace_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE
_TAGASSIGNMENTKEY.fields_by_name['element_type'].enum_type = _ELEMENTTYPE
_TAGASSIGNMENTKEY.fields_by_name['label'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE
_TAGASSIGNMENTKEY.fields_by_name['value'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE
_TAGASSIGNMENTKEY.fields_by_name['device_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE
_TAGASSIGNMENTKEY.fields_by_name['interface_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE
_TAGASSIGNMENTCONFIG.fields_by_name['key'].message_type = _TAGASSIGNMENTKEY
_TAGASSIGNMENTCONFIG.fields_by_name['remove'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE
_TAGASSIGNMENT.fields_by_name['key'].message_type = _TAGASSIGNMENTKEY
DESCRIPTOR.message_types_by_name['TagKey'] = _TAGKEY
DESCRIPTOR.message_types_by_name['TagConfig'] = _TAGCONFIG
DESCRIPTOR.message_types_by_name['Tag'] = _TAG
DESCRIPTOR.message_types_by_name['TagAssignmentKey'] = _TAGASSIGNMENTKEY
DESCRIPTOR.message_types_by_name['TagAssignmentConfig'] = _TAGASSIGNMENTCONFIG
DESCRIPTOR.message_types_by_name['TagAssignment'] = _TAGASSIGNMENT
DESCRIPTOR.enum_types_by_name['ElementType'] = _ELEMENTTYPE
DESCRIPTOR.enum_types_by_name['CreatorType'] = _CREATORTYPE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

TagKey = _reflection.GeneratedProtocolMessageType('TagKey', (_message.Message,), {
  'DESCRIPTOR' : _TAGKEY,
  '__module__' : 'arista.tag.v2.tag_pb2'
  # @@protoc_insertion_point(class_scope:arista.tag.v2.TagKey)
  })
_sym_db.RegisterMessage(TagKey)

TagConfig = _reflection.GeneratedProtocolMessageType('TagConfig', (_message.Message,), {
  'DESCRIPTOR' : _TAGCONFIG,
  '__module__' : 'arista.tag.v2.tag_pb2'
  # @@protoc_insertion_point(class_scope:arista.tag.v2.TagConfig)
  })
_sym_db.RegisterMessage(TagConfig)

Tag = _reflection.GeneratedProtocolMessageType('Tag', (_message.Message,), {
  'DESCRIPTOR' : _TAG,
  '__module__' : 'arista.tag.v2.tag_pb2'
  # @@protoc_insertion_point(class_scope:arista.tag.v2.Tag)
  })
_sym_db.RegisterMessage(Tag)

TagAssignmentKey = _reflection.GeneratedProtocolMessageType('TagAssignmentKey', (_message.Message,), {
  'DESCRIPTOR' : _TAGASSIGNMENTKEY,
  '__module__' : 'arista.tag.v2.tag_pb2'
  # @@protoc_insertion_point(class_scope:arista.tag.v2.TagAssignmentKey)
  })
_sym_db.RegisterMessage(TagAssignmentKey)

TagAssignmentConfig = _reflection.GeneratedProtocolMessageType('TagAssignmentConfig', (_message.Message,), {
  'DESCRIPTOR' : _TAGASSIGNMENTCONFIG,
  '__module__' : 'arista.tag.v2.tag_pb2'
  # @@protoc_insertion_point(class_scope:arista.tag.v2.TagAssignmentConfig)
  })
_sym_db.RegisterMessage(TagAssignmentConfig)

TagAssignment = _reflection.GeneratedProtocolMessageType('TagAssignment', (_message.Message,), {
  'DESCRIPTOR' : _TAGASSIGNMENT,
  '__module__' : 'arista.tag.v2.tag_pb2'
  # @@protoc_insertion_point(class_scope:arista.tag.v2.TagAssignment)
  })
_sym_db.RegisterMessage(TagAssignment)


DESCRIPTOR._options = None
_TAGKEY._options = None
_TAGCONFIG._options = None
_TAG._options = None
_TAGASSIGNMENTKEY._options = None
_TAGASSIGNMENTCONFIG._options = None
_TAGASSIGNMENT._options = None
# @@protoc_insertion_point(module_scope)
