45 lines
2.6 KiB
Python
45 lines
2.6 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: moderation.proto
|
|
# Protobuf Python Version: 6.31.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,
|
|
31,
|
|
0,
|
|
'',
|
|
'moderation.proto'
|
|
)
|
|
# @@protoc_insertion_point(imports)
|
|
|
|
_sym_db = _symbol_database.Default()
|
|
|
|
|
|
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
|
|
|
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x10moderation.proto\x12\nmoderation\x1a\x1cgoogle/protobuf/struct.proto\"\x06\n\x04Null\"Y\n\x0fSetStateRequest\x12\x0e\n\x06UserID\x18\x01 \x01(\x03\x12\x13\n\x0bModeratorID\x18\x02 \x01(\x03\x12\x10\n\x08ReasonID\x18\x03 \x01(\x05\x12\x0f\n\x07StateID\x18\x04 \x01(\x05\"\xf1\x01\n\x0eSetMuteRequest\x12\x0e\n\x06UserID\x18\x01 \x01(\x03\x12\x13\n\x0bModeratorID\x18\x02 \x01(\x03\x12\r\n\x05Muted\x18\x03 \x01(\x08\x12\x15\n\x08\x44uration\x18\x04 \x01(\x03H\x00\x88\x01\x01\x12\x15\n\x08ReasonID\x18\x05 \x01(\x05H\x01\x88\x01\x01\x12\x17\n\nReasonText\x18\x06 \x01(\tH\x02\x88\x01\x01\x12.\n\x08Metadata\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructH\x03\x88\x01\x01\x42\x0b\n\t_DurationB\x0b\n\t_ReasonIDB\r\n\x0b_ReasonTextB\x0b\n\t_Metadata2\x88\x01\n\x11ModerationService\x12\x39\n\x08SetState\x12\x1b.moderation.SetStateRequest\x1a\x10.moderation.Null\x12\x38\n\x08SetMuted\x12\x1a.moderation.SetMuteRequest\x1a\x10.moderation.NullB-Z+git.itzana.me/strafesnet/go-grpc/moderationb\x06proto3')
|
|
|
|
_globals = globals()
|
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'moderation_pb2', _globals)
|
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
_globals['DESCRIPTOR']._serialized_options = b'Z+git.itzana.me/strafesnet/go-grpc/moderation'
|
|
_globals['_NULL']._serialized_start=62
|
|
_globals['_NULL']._serialized_end=68
|
|
_globals['_SETSTATEREQUEST']._serialized_start=70
|
|
_globals['_SETSTATEREQUEST']._serialized_end=159
|
|
_globals['_SETMUTEREQUEST']._serialized_start=162
|
|
_globals['_SETMUTEREQUEST']._serialized_end=403
|
|
_globals['_MODERATIONSERVICE']._serialized_start=406
|
|
_globals['_MODERATIONSERVICE']._serialized_end=542
|
|
# @@protoc_insertion_point(module_scope)
|