# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: meshtrade/iam/group/v1/group.proto
# Protobuf Python Version: 6.31.1
"""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,
    31,
    1,
    '',
    'meshtrade/iam/group/v1/group.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"meshtrade/iam/group/v1/group.proto\x12\x16meshtrade.iam.group.v1\x1a\x1b\x62uf/validate/validate.proto\"\xf3\x06\n\x05Group\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\xb1\x02\n\x05owner\x18\x02 \x01(\tB\x9a\x02\xbaH\x96\x02r\x19\x10\x01\x32\x15^groups/[0-9A-Z]{26}$\xba\x01Y\n\x0eowner.required\x12\x37owner is required and must be in format groups/{ULIDv2}\x1a\x0esize(this) > 0\xba\x01\x9b\x01\n\x0cowner.format\x12\x64owner must be in format groups/{ULIDv2} where ULIDv2 is exactly 26 uppercase alphanumeric characters\x1a%this.matches(\'^groups/[0-9A-Z]{26}$\')R\x05owner\x12\xe4\x01\n\x06owners\x18\x03 \x03(\tB\xcb\x01\xbaH\xc7\x01\x92\x01\xc3\x01\"\xc0\x01r\x19\x10\x01\x32\x15^groups/[0-9A-Z]{26}$\xba\x01\xa1\x01\n\rowners.format\x12ieach owner must be in format groups/{ULIDv2} where ULIDv2 is exactly 26 uppercase alphanumeric characters\x1a%this.matches(\'^groups/[0-9A-Z]{26}$\')R\x06owners\x12\xb1\x01\n\x0c\x64isplay_name\x18\x04 \x01(\tB\x8d\x01\xbaH\x89\x01r\x05\x10\x01\x18\xff\x01\xba\x01\x7f\n\x15\x64isplay_name.required\x12\x41\x64isplay name is required and must be between 1 and 255 characters\x1a#size(this) > 0 && size(this) <= 255R\x0b\x64isplayName\x12\x86\x01\n\x0b\x64\x65scription\x18\x05 \x01(\tBd\xbaHar\x03\x18\xe8\x07\xba\x01Y\n\x16\x64\x65scription.max_length\x12+description must not exceed 1000 characters\x1a\x12size(this) <= 1000R\x0b\x64\x65scriptionBQ\n\x1d\x63o.meshtrade.api.iam.group.v1Z0github.com/meshtrade/api/go/iam/group/v1;groupv1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'meshtrade.iam.group.v1.group_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n\035co.meshtrade.api.iam.group.v1Z0github.com/meshtrade/api/go/iam/group/v1;groupv1'
  _globals['_GROUP'].fields_by_name['owner']._loaded_options = None
  _globals['_GROUP'].fields_by_name['owner']._serialized_options = b'\272H\226\002r\031\020\0012\025^groups/[0-9A-Z]{26}$\272\001Y\n\016owner.required\0227owner is required and must be in format groups/{ULIDv2}\032\016size(this) > 0\272\001\233\001\n\014owner.format\022downer must be in format groups/{ULIDv2} where ULIDv2 is exactly 26 uppercase alphanumeric characters\032%this.matches(\'^groups/[0-9A-Z]{26}$\')'
  _globals['_GROUP'].fields_by_name['owners']._loaded_options = None
  _globals['_GROUP'].fields_by_name['owners']._serialized_options = b'\272H\307\001\222\001\303\001\"\300\001r\031\020\0012\025^groups/[0-9A-Z]{26}$\272\001\241\001\n\rowners.format\022ieach owner must be in format groups/{ULIDv2} where ULIDv2 is exactly 26 uppercase alphanumeric characters\032%this.matches(\'^groups/[0-9A-Z]{26}$\')'
  _globals['_GROUP'].fields_by_name['display_name']._loaded_options = None
  _globals['_GROUP'].fields_by_name['display_name']._serialized_options = b'\272H\211\001r\005\020\001\030\377\001\272\001\177\n\025display_name.required\022Adisplay name is required and must be between 1 and 255 characters\032#size(this) > 0 && size(this) <= 255'
  _globals['_GROUP'].fields_by_name['description']._loaded_options = None
  _globals['_GROUP'].fields_by_name['description']._serialized_options = b'\272Har\003\030\350\007\272\001Y\n\026description.max_length\022+description must not exceed 1000 characters\032\022size(this) <= 1000'
  _globals['_GROUP']._serialized_start=92
  _globals['_GROUP']._serialized_end=975
# @@protoc_insertion_point(module_scope)
