| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- # -*- coding: utf-8 -*-
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # NO CHECKED-IN PROTOBUF GENCODE
- # source: chatto/api/v1/presence.proto
- # Protobuf Python Version: 7.34.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,
- 7,
- 34,
- 1,
- '',
- 'chatto/api/v1/presence.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\x1c\x63hatto/api/v1/presence.proto\x12\rchatto.api.v1\x1a\x1b\x62uf/validate/validate.proto\"k\n\x15UpdatePresenceRequest\x12;\n\x06status\x18\x01 \x01(\x0e\x32\x1d.chatto.api.v1.PresenceStatusB\x0c\xbaH\t\x82\x01\x06\x10\x01 \x00 \x04\x12\x15\n\ruser_selected\x18\x02 \x01(\x08\"G\n\x16UpdatePresenceResponse\x12-\n\x06status\x18\x01 \x01(\x0e\x32\x1d.chatto.api.v1.PresenceStatus*\xa8\x01\n\x0ePresenceStatus\x12\x1f\n\x1bPRESENCE_STATUS_UNSPECIFIED\x10\x00\x12\x1a\n\x16PRESENCE_STATUS_ONLINE\x10\x01\x12\x18\n\x14PRESENCE_STATUS_AWAY\x10\x02\x12\"\n\x1ePRESENCE_STATUS_DO_NOT_DISTURB\x10\x03\x12\x1b\n\x17PRESENCE_STATUS_OFFLINE\x10\x04\x62\x06proto3')
- _globals = globals()
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chatto.api.v1.presence_pb2', _globals)
- if not _descriptor._USE_C_DESCRIPTORS:
- DESCRIPTOR._loaded_options = None
- _globals['_UPDATEPRESENCEREQUEST'].fields_by_name['status']._loaded_options = None
- _globals['_UPDATEPRESENCEREQUEST'].fields_by_name['status']._serialized_options = b'\272H\t\202\001\006\020\001 \000 \004'
- _globals['_PRESENCESTATUS']._serialized_start=259
- _globals['_PRESENCESTATUS']._serialized_end=427
- _globals['_UPDATEPRESENCEREQUEST']._serialized_start=76
- _globals['_UPDATEPRESENCEREQUEST']._serialized_end=183
- _globals['_UPDATEPRESENCERESPONSE']._serialized_start=185
- _globals['_UPDATEPRESENCERESPONSE']._serialized_end=256
- # @@protoc_insertion_point(module_scope)
|