Skip to content

Instantly share code, notes, and snippets.

@gfreezy
Created April 26, 2017 13:55
Show Gist options
  • Save gfreezy/9ee8fe584bb134c56f2a6e617b87caf0 to your computer and use it in GitHub Desktop.
Save gfreezy/9ee8fe584bb134c56f2a6e617b87caf0 to your computer and use it in GitHub Desktop.
// Copyright 2015, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
syntax = "proto3";
package board;
option java_multiple_files = true;
option java_package = "com.xiachufang.board.proto";
import "google/protobuf/timestamp.proto";
message CreateBoardReq {
Board board = 1;
}
message CreateBoardResp {
Board board = 1;
}
message UpdateBoardReq {
Board board = 1;
uint64 visitorId = 2;
}
message UpdateBoardResp {
Board board = 1;
}
message UpdateBoardStatusReq {
uint64 visitorId = 1;
uint64 boardId = 2;
Board.BoardStatus status = 3;
Board.BoardStatusReason reason = 4;
}
message UpdateBoardStatusResp {
bool success = 1;
}
message RawGetBoardReq {
uint64 boardId = 1;
}
message RawGetBoardResp {
Board board = 1;
}
message GetMultiBoardsReq {
repeated uint64 boardIds = 1;
uint64 visitorId = 2;
}
message GetMultiBoardsResp {
map<uint64, Board> boards = 1;
}
message AddCollaboratorToBoardReq {
uint64 boardId = 1;
uint64 visitorId= 2;
uint64 collaboratorId = 3;
}
message AddCollaboratorToBoardResp {
bool success = 1;
}
message RemoveCollaboratorFromBoardReq {
uint64 boardId = 1;
uint64 visitorId= 2;
uint64 collaboratorId = 3;
}
message RemoveCollaboratorFromBoardResp {
bool success = 1;
}
message AddOrUpdateTargetToBoardReq {
Target target = 1;
uint64 boardId = 2;
uint64 visitorId = 3;
google.protobuf.Timestamp createTime = 4;
google.protobuf.Timestamp updateTime = 5;
}
message AddOrUpdateTargetToBoardResp {
bool success = 1;
}
message RemoveTargetFromBoardReq {
Target target = 1;
uint64 boardId = 2;
uint64 visitorId = 3;
}
message RemoveTargetFromBoardResp {
bool success = 1;
}
message IsTargetInBoardsReq {
Target target = 1;
repeated uint64 boardIds = 2;
}
message IsTargetInBoardsResp {
repeated TargetInBoard targetInBoards = 1;
}
message TargetInBoard {
bool inBoard = 1;
uint64 boardId = 2;
}
message CollectBoardReq {
uint64 visitorId = 1;
uint64 boardId = 2;
google.protobuf.Timestamp createTime = 3;
}
message CollectBoardResp {
bool success = 1;
}
message UncollectBoardReq {
uint64 visitorId = 1;
uint64 boardId = 2;
}
message UncollectBoardResp {
bool success = 1;
}
message PagedBoardTargetsReq {
uint64 boardId = 1;
TargetType targetType = 2;
bool withDescription = 3;
uint64 visitorId = 4;
uint32 limit = 5;
uint32 offset = 6;
}
message PagedBoardTargetsResp {
repeated Target targets = 1;
uint32 total = 2;
}
message PagedTargetBoardsReq {
Target target = 1;
uint64 visitorId = 2;
uint32 limit = 3;
uint32 offset = 4;
}
message PagedTargetBoardsResp {
repeated Board boards = 1;
}
message PagedUserBoardsReq {
uint64 userId = 1;
uint64 visitorId = 2;
uint32 limit = 3;
uint32 offset = 4;
}
message PagedUserBoardsResp {
repeated Board boards = 1;
uint32 total = 2;
}
message PagedUserCollectedBoardsReq {
uint64 userId = 1;
uint64 visitorId = 2;
uint32 limit = 3;
uint32 offset = 4;
}
message PagedUserCollectedBoardsResp {
repeated Board boards = 1;
uint32 total = 2;
}
message Board {
enum Accessibility {
ACCESS_UNSET = 0;
ACCESS_PRIVATE = 1;
ACCESS_PUBLIC = 2;
}
enum BoardStatus {
UNSET = 0;
PUBLIC = 1;
PROTECTED = 2;
PRIVATE = 3;
DELETED = 4;
}
message BoardStatusReason {
enum BoardStatusReasonCode {
UNSET = 0;
CREATE = 1;
DELETE = 2;
SPAM_WARN = 3;
SPAM_UNWARN = 4;
SPAM_LOCK = 5;
SPAM_UNLOCK = 6;
SET_PERSONAL = 7;
}
BoardStatusReasonCode reasonCode = 1;
string reasonText = 2;
}
uint64 id = 1;
string title = 2;
string description = 3;
Accessibility accessibility = 4;
uint64 authorId = 5;
google.protobuf.Timestamp createTime = 6;
google.protobuf.Timestamp updateTime = 7;
repeated uint64 collaborators = 8;
BoardStatus status = 9;
BoardStatusReason statusReason = 10;
}
enum TargetType {
UNSET = 0;
RECIPE = 1;
GOODS = 2;
QUESTION = 3;
POST = 4;
}
message Target {
uint64 id = 1;
TargetType type = 2;
string description = 3;
}
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: board.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
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
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='board.proto',
package='board',
syntax='proto3',
serialized_pb=_b('\n\x0b\x62oard.proto\x12\x05\x62oard\x1a\x1fgoogle/protobuf/timestamp.proto\"-\n\x0e\x43reateBoardReq\x12\x1b\n\x05\x62oard\x18\x01 \x01(\x0b\x32\x0c.board.Board\".\n\x0f\x43reateBoardResp\x12\x1b\n\x05\x62oard\x18\x01 \x01(\x0b\x32\x0c.board.Board\"@\n\x0eUpdateBoardReq\x12\x1b\n\x05\x62oard\x18\x01 \x01(\x0b\x32\x0c.board.Board\x12\x11\n\tvisitorId\x18\x02 \x01(\x04\".\n\x0fUpdateBoardResp\x12\x1b\n\x05\x62oard\x18\x01 \x01(\x0b\x32\x0c.board.Board\"\x94\x01\n\x14UpdateBoardStatusReq\x12\x11\n\tvisitorId\x18\x01 \x01(\x04\x12\x0f\n\x07\x62oardId\x18\x02 \x01(\x04\x12(\n\x06status\x18\x03 \x01(\x0e\x32\x18.board.Board.BoardStatus\x12.\n\x06reason\x18\x04 \x01(\x0b\x32\x1e.board.Board.BoardStatusReason\"(\n\x15UpdateBoardStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\"!\n\x0eRawGetBoardReq\x12\x0f\n\x07\x62oardId\x18\x01 \x01(\x04\".\n\x0fRawGetBoardResp\x12\x1b\n\x05\x62oard\x18\x01 \x01(\x0b\x32\x0c.board.Board\"8\n\x11GetMultiBoardsReq\x12\x10\n\x08\x62oardIds\x18\x01 \x03(\x04\x12\x11\n\tvisitorId\x18\x02 \x01(\x04\"\x88\x01\n\x12GetMultiBoardsResp\x12\x35\n\x06\x62oards\x18\x01 \x03(\x0b\x32%.board.GetMultiBoardsResp.BoardsEntry\x1a;\n\x0b\x42oardsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\x1b\n\x05value\x18\x02 \x01(\x0b\x32\x0c.board.Board:\x02\x38\x01\"W\n\x19\x41\x64\x64\x43ollaboratorToBoardReq\x12\x0f\n\x07\x62oardId\x18\x01 \x01(\x04\x12\x11\n\tvisitorId\x18\x02 \x01(\x04\x12\x16\n\x0e\x63ollaboratorId\x18\x03 \x01(\x04\"-\n\x1a\x41\x64\x64\x43ollaboratorToBoardResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\"\\\n\x1eRemoveCollaboratorFromBoardReq\x12\x0f\n\x07\x62oardId\x18\x01 \x01(\x04\x12\x11\n\tvisitorId\x18\x02 \x01(\x04\x12\x16\n\x0e\x63ollaboratorId\x18\x03 \x01(\x04\"2\n\x1fRemoveCollaboratorFromBoardResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\"\xc0\x01\n\x1b\x41\x64\x64OrUpdateTargetToBoardReq\x12\x1d\n\x06target\x18\x01 \x01(\x0b\x32\r.board.Target\x12\x0f\n\x07\x62oardId\x18\x02 \x01(\x04\x12\x11\n\tvisitorId\x18\x03 \x01(\x04\x12.\n\ncreateTime\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdateTime\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"/\n\x1c\x41\x64\x64OrUpdateTargetToBoardResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\"]\n\x18RemoveTargetFromBoardReq\x12\x1d\n\x06target\x18\x01 \x01(\x0b\x32\r.board.Target\x12\x0f\n\x07\x62oardId\x18\x02 \x01(\x04\x12\x11\n\tvisitorId\x18\x03 \x01(\x04\",\n\x19RemoveTargetFromBoardResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\"F\n\x13IsTargetInBoardsReq\x12\x1d\n\x06target\x18\x01 \x01(\x0b\x32\r.board.Target\x12\x10\n\x08\x62oardIds\x18\x02 \x03(\x04\"D\n\x14IsTargetInBoardsResp\x12,\n\x0etargetInBoards\x18\x01 \x03(\x0b\x32\x14.board.TargetInBoard\"1\n\rTargetInBoard\x12\x0f\n\x07inBoard\x18\x01 \x01(\x08\x12\x0f\n\x07\x62oardId\x18\x02 \x01(\x04\"e\n\x0f\x43ollectBoardReq\x12\x11\n\tvisitorId\x18\x01 \x01(\x04\x12\x0f\n\x07\x62oardId\x18\x02 \x01(\x04\x12.\n\ncreateTime\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"#\n\x10\x43ollectBoardResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\"7\n\x11UncollectBoardReq\x12\x11\n\tvisitorId\x18\x01 \x01(\x04\x12\x0f\n\x07\x62oardId\x18\x02 \x01(\x04\"%\n\x12UncollectBoardResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\"\x99\x01\n\x14PagedBoardTargetsReq\x12\x0f\n\x07\x62oardId\x18\x01 \x01(\x04\x12%\n\ntargetType\x18\x02 \x01(\x0e\x32\x11.board.TargetType\x12\x17\n\x0fwithDescription\x18\x03 \x01(\x08\x12\x11\n\tvisitorId\x18\x04 \x01(\x04\x12\r\n\x05limit\x18\x05 \x01(\r\x12\x0e\n\x06offset\x18\x06 \x01(\r\"F\n\x15PagedBoardTargetsResp\x12\x1e\n\x07targets\x18\x01 \x03(\x0b\x32\r.board.Target\x12\r\n\x05total\x18\x02 \x01(\r\"g\n\x14PagedTargetBoardsReq\x12\x1d\n\x06target\x18\x01 \x01(\x0b\x32\r.board.Target\x12\x11\n\tvisitorId\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\r\x12\x0e\n\x06offset\x18\x04 \x01(\r\"5\n\x15PagedTargetBoardsResp\x12\x1c\n\x06\x62oards\x18\x01 \x03(\x0b\x32\x0c.board.Board\"V\n\x12PagedUserBoardsReq\x12\x0e\n\x06userId\x18\x01 \x01(\x04\x12\x11\n\tvisitorId\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\r\x12\x0e\n\x06offset\x18\x04 \x01(\r\"B\n\x13PagedUserBoardsResp\x12\x1c\n\x06\x62oards\x18\x01 \x03(\x0b\x32\x0c.board.Board\x12\r\n\x05total\x18\x02 \x01(\r\"_\n\x1bPagedUserCollectedBoardsReq\x12\x0e\n\x06userId\x18\x01 \x01(\x04\x12\x11\n\tvisitorId\x18\x02 \x01(\x04\x12\r\n\x05limit\x18\x03 \x01(\r\x12\x0e\n\x06offset\x18\x04 \x01(\r\"K\n\x1cPagedUserCollectedBoardsResp\x12\x1c\n\x06\x62oards\x18\x01 \x03(\x0b\x32\x0c.board.Board\x12\r\n\x05total\x18\x02 \x01(\r\"\xef\x05\n\x05\x42oard\x12\n\n\x02id\x18\x01 \x01(\x04\x12\r\n\x05title\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x31\n\raccessibility\x18\x04 \x01(\x0e\x32\x1a.board.Board.Accessibility\x12\x10\n\x08\x61uthorId\x18\x05 \x01(\x04\x12.\n\ncreateTime\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdateTime\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rcollaborators\x18\x08 \x03(\x04\x12(\n\x06status\x18\t \x01(\x0e\x32\x18.board.Board.BoardStatus\x12\x34\n\x0cstatusReason\x18\n \x01(\x0b\x32\x1e.board.Board.BoardStatusReason\x1a\x80\x02\n\x11\x42oardStatusReason\x12H\n\nreasonCode\x18\x01 \x01(\x0e\x32\x34.board.Board.BoardStatusReason.BoardStatusReasonCode\x12\x12\n\nreasonText\x18\x02 \x01(\t\"\x8c\x01\n\x15\x42oardStatusReasonCode\x12\t\n\x05UNSET\x10\x00\x12\n\n\x06\x43REATE\x10\x01\x12\n\n\x06\x44\x45LETE\x10\x02\x12\r\n\tSPAM_WARN\x10\x03\x12\x0f\n\x0bSPAM_UNWARN\x10\x04\x12\r\n\tSPAM_LOCK\x10\x05\x12\x0f\n\x0bSPAM_UNLOCK\x10\x06\x12\x10\n\x0cSET_PERSONAL\x10\x07\"H\n\rAccessibility\x12\x10\n\x0c\x41\x43\x43\x45SS_UNSET\x10\x00\x12\x12\n\x0e\x41\x43\x43\x45SS_PRIVATE\x10\x01\x12\x11\n\rACCESS_PUBLIC\x10\x02\"M\n\x0b\x42oardStatus\x12\t\n\x05UNSET\x10\x00\x12\n\n\x06PUBLIC\x10\x01\x12\r\n\tPROTECTED\x10\x02\x12\x0b\n\x07PRIVATE\x10\x03\x12\x0b\n\x07\x44\x45LETED\x10\x04\"J\n\x06Target\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x1f\n\x04type\x18\x02 \x01(\x0e\x32\x11.board.TargetType\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t*F\n\nTargetType\x12\t\n\x05UNSET\x10\x00\x12\n\n\x06RECIPE\x10\x01\x12\t\n\x05GOODS\x10\x02\x12\x0c\n\x08QUESTION\x10\x03\x12\x08\n\x04POST\x10\x04\x42\x1e\n\x1a\x63om.xiachufang.board.protoP\x01\x62\x06proto3')
,
dependencies=[google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,])
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
_TARGETTYPE = _descriptor.EnumDescriptor(
name='TargetType',
full_name='board.TargetType',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='UNSET', index=0, number=0,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='RECIPE', index=1, number=1,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='GOODS', index=2, number=2,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='QUESTION', index=3, number=3,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='POST', index=4, number=4,
options=None,
type=None),
],
containing_type=None,
options=None,
serialized_start=3381,
serialized_end=3451,
)
_sym_db.RegisterEnumDescriptor(_TARGETTYPE)
TargetType = enum_type_wrapper.EnumTypeWrapper(_TARGETTYPE)
UNSET = 0
RECIPE = 1
GOODS = 2
QUESTION = 3
POST = 4
_BOARD_BOARDSTATUSREASON_BOARDSTATUSREASONCODE = _descriptor.EnumDescriptor(
name='BoardStatusReasonCode',
full_name='board.Board.BoardStatusReason.BoardStatusReasonCode',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='UNSET', index=0, number=0,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='CREATE', index=1, number=1,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='DELETE', index=2, number=2,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='SPAM_WARN', index=3, number=3,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='SPAM_UNWARN', index=4, number=4,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='SPAM_LOCK', index=5, number=5,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='SPAM_UNLOCK', index=6, number=6,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='SET_PERSONAL', index=7, number=7,
options=None,
type=None),
],
containing_type=None,
options=None,
serialized_start=3010,
serialized_end=3150,
)
_sym_db.RegisterEnumDescriptor(_BOARD_BOARDSTATUSREASON_BOARDSTATUSREASONCODE)
_BOARD_ACCESSIBILITY = _descriptor.EnumDescriptor(
name='Accessibility',
full_name='board.Board.Accessibility',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='ACCESS_UNSET', index=0, number=0,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='ACCESS_PRIVATE', index=1, number=1,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='ACCESS_PUBLIC', index=2, number=2,
options=None,
type=None),
],
containing_type=None,
options=None,
serialized_start=3152,
serialized_end=3224,
)
_sym_db.RegisterEnumDescriptor(_BOARD_ACCESSIBILITY)
_BOARD_BOARDSTATUS = _descriptor.EnumDescriptor(
name='BoardStatus',
full_name='board.Board.BoardStatus',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='UNSET', index=0, number=0,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='PUBLIC', index=1, number=1,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='PROTECTED', index=2, number=2,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='PRIVATE', index=3, number=3,
options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='DELETED', index=4, number=4,
options=None,
type=None),
],
containing_type=None,
options=None,
serialized_start=3226,
serialized_end=3303,
)
_sym_db.RegisterEnumDescriptor(_BOARD_BOARDSTATUS)
_CREATEBOARDREQ = _descriptor.Descriptor(
name='CreateBoardReq',
full_name='board.CreateBoardReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='board', full_name='board.CreateBoardReq.board', 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,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=55,
serialized_end=100,
)
_CREATEBOARDRESP = _descriptor.Descriptor(
name='CreateBoardResp',
full_name='board.CreateBoardResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='board', full_name='board.CreateBoardResp.board', 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,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=102,
serialized_end=148,
)
_UPDATEBOARDREQ = _descriptor.Descriptor(
name='UpdateBoardReq',
full_name='board.UpdateBoardReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='board', full_name='board.UpdateBoardReq.board', 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,
options=None),
_descriptor.FieldDescriptor(
name='visitorId', full_name='board.UpdateBoardReq.visitorId', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=150,
serialized_end=214,
)
_UPDATEBOARDRESP = _descriptor.Descriptor(
name='UpdateBoardResp',
full_name='board.UpdateBoardResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='board', full_name='board.UpdateBoardResp.board', 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,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=216,
serialized_end=262,
)
_UPDATEBOARDSTATUSREQ = _descriptor.Descriptor(
name='UpdateBoardStatusReq',
full_name='board.UpdateBoardStatusReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='visitorId', full_name='board.UpdateBoardStatusReq.visitorId', index=0,
number=1, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='boardId', full_name='board.UpdateBoardStatusReq.boardId', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='status', full_name='board.UpdateBoardStatusReq.status', index=2,
number=3, 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,
options=None),
_descriptor.FieldDescriptor(
name='reason', full_name='board.UpdateBoardStatusReq.reason', 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,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=265,
serialized_end=413,
)
_UPDATEBOARDSTATUSRESP = _descriptor.Descriptor(
name='UpdateBoardStatusResp',
full_name='board.UpdateBoardStatusResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='board.UpdateBoardStatusResp.success', index=0,
number=1, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=415,
serialized_end=455,
)
_RAWGETBOARDREQ = _descriptor.Descriptor(
name='RawGetBoardReq',
full_name='board.RawGetBoardReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='boardId', full_name='board.RawGetBoardReq.boardId', index=0,
number=1, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=457,
serialized_end=490,
)
_RAWGETBOARDRESP = _descriptor.Descriptor(
name='RawGetBoardResp',
full_name='board.RawGetBoardResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='board', full_name='board.RawGetBoardResp.board', 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,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=492,
serialized_end=538,
)
_GETMULTIBOARDSREQ = _descriptor.Descriptor(
name='GetMultiBoardsReq',
full_name='board.GetMultiBoardsReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='boardIds', full_name='board.GetMultiBoardsReq.boardIds', index=0,
number=1, type=4, cpp_type=4, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='visitorId', full_name='board.GetMultiBoardsReq.visitorId', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=540,
serialized_end=596,
)
_GETMULTIBOARDSRESP_BOARDSENTRY = _descriptor.Descriptor(
name='BoardsEntry',
full_name='board.GetMultiBoardsResp.BoardsEntry',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='board.GetMultiBoardsResp.BoardsEntry.key', index=0,
number=1, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='value', full_name='board.GetMultiBoardsResp.BoardsEntry.value', 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,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')),
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=676,
serialized_end=735,
)
_GETMULTIBOARDSRESP = _descriptor.Descriptor(
name='GetMultiBoardsResp',
full_name='board.GetMultiBoardsResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='boards', full_name='board.GetMultiBoardsResp.boards', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[_GETMULTIBOARDSRESP_BOARDSENTRY, ],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=599,
serialized_end=735,
)
_ADDCOLLABORATORTOBOARDREQ = _descriptor.Descriptor(
name='AddCollaboratorToBoardReq',
full_name='board.AddCollaboratorToBoardReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='boardId', full_name='board.AddCollaboratorToBoardReq.boardId', index=0,
number=1, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='visitorId', full_name='board.AddCollaboratorToBoardReq.visitorId', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='collaboratorId', full_name='board.AddCollaboratorToBoardReq.collaboratorId', index=2,
number=3, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=737,
serialized_end=824,
)
_ADDCOLLABORATORTOBOARDRESP = _descriptor.Descriptor(
name='AddCollaboratorToBoardResp',
full_name='board.AddCollaboratorToBoardResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='board.AddCollaboratorToBoardResp.success', index=0,
number=1, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=826,
serialized_end=871,
)
_REMOVECOLLABORATORFROMBOARDREQ = _descriptor.Descriptor(
name='RemoveCollaboratorFromBoardReq',
full_name='board.RemoveCollaboratorFromBoardReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='boardId', full_name='board.RemoveCollaboratorFromBoardReq.boardId', index=0,
number=1, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='visitorId', full_name='board.RemoveCollaboratorFromBoardReq.visitorId', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='collaboratorId', full_name='board.RemoveCollaboratorFromBoardReq.collaboratorId', index=2,
number=3, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=873,
serialized_end=965,
)
_REMOVECOLLABORATORFROMBOARDRESP = _descriptor.Descriptor(
name='RemoveCollaboratorFromBoardResp',
full_name='board.RemoveCollaboratorFromBoardResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='board.RemoveCollaboratorFromBoardResp.success', index=0,
number=1, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=967,
serialized_end=1017,
)
_ADDORUPDATETARGETTOBOARDREQ = _descriptor.Descriptor(
name='AddOrUpdateTargetToBoardReq',
full_name='board.AddOrUpdateTargetToBoardReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='target', full_name='board.AddOrUpdateTargetToBoardReq.target', 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,
options=None),
_descriptor.FieldDescriptor(
name='boardId', full_name='board.AddOrUpdateTargetToBoardReq.boardId', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='visitorId', full_name='board.AddOrUpdateTargetToBoardReq.visitorId', index=2,
number=3, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='createTime', full_name='board.AddOrUpdateTargetToBoardReq.createTime', 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,
options=None),
_descriptor.FieldDescriptor(
name='updateTime', full_name='board.AddOrUpdateTargetToBoardReq.updateTime', 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,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1020,
serialized_end=1212,
)
_ADDORUPDATETARGETTOBOARDRESP = _descriptor.Descriptor(
name='AddOrUpdateTargetToBoardResp',
full_name='board.AddOrUpdateTargetToBoardResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='board.AddOrUpdateTargetToBoardResp.success', index=0,
number=1, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1214,
serialized_end=1261,
)
_REMOVETARGETFROMBOARDREQ = _descriptor.Descriptor(
name='RemoveTargetFromBoardReq',
full_name='board.RemoveTargetFromBoardReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='target', full_name='board.RemoveTargetFromBoardReq.target', 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,
options=None),
_descriptor.FieldDescriptor(
name='boardId', full_name='board.RemoveTargetFromBoardReq.boardId', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='visitorId', full_name='board.RemoveTargetFromBoardReq.visitorId', index=2,
number=3, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1263,
serialized_end=1356,
)
_REMOVETARGETFROMBOARDRESP = _descriptor.Descriptor(
name='RemoveTargetFromBoardResp',
full_name='board.RemoveTargetFromBoardResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='board.RemoveTargetFromBoardResp.success', index=0,
number=1, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1358,
serialized_end=1402,
)
_ISTARGETINBOARDSREQ = _descriptor.Descriptor(
name='IsTargetInBoardsReq',
full_name='board.IsTargetInBoardsReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='target', full_name='board.IsTargetInBoardsReq.target', 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,
options=None),
_descriptor.FieldDescriptor(
name='boardIds', full_name='board.IsTargetInBoardsReq.boardIds', index=1,
number=2, type=4, cpp_type=4, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1404,
serialized_end=1474,
)
_ISTARGETINBOARDSRESP = _descriptor.Descriptor(
name='IsTargetInBoardsResp',
full_name='board.IsTargetInBoardsResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='targetInBoards', full_name='board.IsTargetInBoardsResp.targetInBoards', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1476,
serialized_end=1544,
)
_TARGETINBOARD = _descriptor.Descriptor(
name='TargetInBoard',
full_name='board.TargetInBoard',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='inBoard', full_name='board.TargetInBoard.inBoard', index=0,
number=1, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='boardId', full_name='board.TargetInBoard.boardId', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1546,
serialized_end=1595,
)
_COLLECTBOARDREQ = _descriptor.Descriptor(
name='CollectBoardReq',
full_name='board.CollectBoardReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='visitorId', full_name='board.CollectBoardReq.visitorId', index=0,
number=1, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='boardId', full_name='board.CollectBoardReq.boardId', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='createTime', full_name='board.CollectBoardReq.createTime', 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,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1597,
serialized_end=1698,
)
_COLLECTBOARDRESP = _descriptor.Descriptor(
name='CollectBoardResp',
full_name='board.CollectBoardResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='board.CollectBoardResp.success', index=0,
number=1, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1700,
serialized_end=1735,
)
_UNCOLLECTBOARDREQ = _descriptor.Descriptor(
name='UncollectBoardReq',
full_name='board.UncollectBoardReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='visitorId', full_name='board.UncollectBoardReq.visitorId', index=0,
number=1, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='boardId', full_name='board.UncollectBoardReq.boardId', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1737,
serialized_end=1792,
)
_UNCOLLECTBOARDRESP = _descriptor.Descriptor(
name='UncollectBoardResp',
full_name='board.UncollectBoardResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='board.UncollectBoardResp.success', index=0,
number=1, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1794,
serialized_end=1831,
)
_PAGEDBOARDTARGETSREQ = _descriptor.Descriptor(
name='PagedBoardTargetsReq',
full_name='board.PagedBoardTargetsReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='boardId', full_name='board.PagedBoardTargetsReq.boardId', index=0,
number=1, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='targetType', full_name='board.PagedBoardTargetsReq.targetType', 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,
options=None),
_descriptor.FieldDescriptor(
name='withDescription', full_name='board.PagedBoardTargetsReq.withDescription', index=2,
number=3, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='visitorId', full_name='board.PagedBoardTargetsReq.visitorId', index=3,
number=4, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='limit', full_name='board.PagedBoardTargetsReq.limit', index=4,
number=5, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='offset', full_name='board.PagedBoardTargetsReq.offset', index=5,
number=6, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1834,
serialized_end=1987,
)
_PAGEDBOARDTARGETSRESP = _descriptor.Descriptor(
name='PagedBoardTargetsResp',
full_name='board.PagedBoardTargetsResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='targets', full_name='board.PagedBoardTargetsResp.targets', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='total', full_name='board.PagedBoardTargetsResp.total', index=1,
number=2, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1989,
serialized_end=2059,
)
_PAGEDTARGETBOARDSREQ = _descriptor.Descriptor(
name='PagedTargetBoardsReq',
full_name='board.PagedTargetBoardsReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='target', full_name='board.PagedTargetBoardsReq.target', 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,
options=None),
_descriptor.FieldDescriptor(
name='visitorId', full_name='board.PagedTargetBoardsReq.visitorId', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='limit', full_name='board.PagedTargetBoardsReq.limit', index=2,
number=3, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='offset', full_name='board.PagedTargetBoardsReq.offset', index=3,
number=4, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=2061,
serialized_end=2164,
)
_PAGEDTARGETBOARDSRESP = _descriptor.Descriptor(
name='PagedTargetBoardsResp',
full_name='board.PagedTargetBoardsResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='boards', full_name='board.PagedTargetBoardsResp.boards', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=2166,
serialized_end=2219,
)
_PAGEDUSERBOARDSREQ = _descriptor.Descriptor(
name='PagedUserBoardsReq',
full_name='board.PagedUserBoardsReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='userId', full_name='board.PagedUserBoardsReq.userId', index=0,
number=1, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='visitorId', full_name='board.PagedUserBoardsReq.visitorId', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='limit', full_name='board.PagedUserBoardsReq.limit', index=2,
number=3, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='offset', full_name='board.PagedUserBoardsReq.offset', index=3,
number=4, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=2221,
serialized_end=2307,
)
_PAGEDUSERBOARDSRESP = _descriptor.Descriptor(
name='PagedUserBoardsResp',
full_name='board.PagedUserBoardsResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='boards', full_name='board.PagedUserBoardsResp.boards', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='total', full_name='board.PagedUserBoardsResp.total', index=1,
number=2, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=2309,
serialized_end=2375,
)
_PAGEDUSERCOLLECTEDBOARDSREQ = _descriptor.Descriptor(
name='PagedUserCollectedBoardsReq',
full_name='board.PagedUserCollectedBoardsReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='userId', full_name='board.PagedUserCollectedBoardsReq.userId', index=0,
number=1, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='visitorId', full_name='board.PagedUserCollectedBoardsReq.visitorId', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='limit', full_name='board.PagedUserCollectedBoardsReq.limit', index=2,
number=3, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='offset', full_name='board.PagedUserCollectedBoardsReq.offset', index=3,
number=4, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=2377,
serialized_end=2472,
)
_PAGEDUSERCOLLECTEDBOARDSRESP = _descriptor.Descriptor(
name='PagedUserCollectedBoardsResp',
full_name='board.PagedUserCollectedBoardsResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='boards', full_name='board.PagedUserCollectedBoardsResp.boards', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='total', full_name='board.PagedUserCollectedBoardsResp.total', index=1,
number=2, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=2474,
serialized_end=2549,
)
_BOARD_BOARDSTATUSREASON = _descriptor.Descriptor(
name='BoardStatusReason',
full_name='board.Board.BoardStatusReason',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='reasonCode', full_name='board.Board.BoardStatusReason.reasonCode', index=0,
number=1, 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,
options=None),
_descriptor.FieldDescriptor(
name='reasonText', full_name='board.Board.BoardStatusReason.reasonText', index=1,
number=2, 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,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
_BOARD_BOARDSTATUSREASON_BOARDSTATUSREASONCODE,
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=2894,
serialized_end=3150,
)
_BOARD = _descriptor.Descriptor(
name='Board',
full_name='board.Board',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='board.Board.id', index=0,
number=1, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='title', full_name='board.Board.title', index=1,
number=2, 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,
options=None),
_descriptor.FieldDescriptor(
name='description', full_name='board.Board.description', index=2,
number=3, 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,
options=None),
_descriptor.FieldDescriptor(
name='accessibility', full_name='board.Board.accessibility', index=3,
number=4, 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,
options=None),
_descriptor.FieldDescriptor(
name='authorId', full_name='board.Board.authorId', index=4,
number=5, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='createTime', full_name='board.Board.createTime', 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,
options=None),
_descriptor.FieldDescriptor(
name='updateTime', full_name='board.Board.updateTime', index=6,
number=7, 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,
options=None),
_descriptor.FieldDescriptor(
name='collaborators', full_name='board.Board.collaborators', index=7,
number=8, type=4, cpp_type=4, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='status', full_name='board.Board.status', index=8,
number=9, 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,
options=None),
_descriptor.FieldDescriptor(
name='statusReason', full_name='board.Board.statusReason', index=9,
number=10, 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,
options=None),
],
extensions=[
],
nested_types=[_BOARD_BOARDSTATUSREASON, ],
enum_types=[
_BOARD_ACCESSIBILITY,
_BOARD_BOARDSTATUS,
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=2552,
serialized_end=3303,
)
_TARGET = _descriptor.Descriptor(
name='Target',
full_name='board.Target',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='board.Target.id', index=0,
number=1, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='type', full_name='board.Target.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,
options=None),
_descriptor.FieldDescriptor(
name='description', full_name='board.Target.description', index=2,
number=3, 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,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=3305,
serialized_end=3379,
)
_CREATEBOARDREQ.fields_by_name['board'].message_type = _BOARD
_CREATEBOARDRESP.fields_by_name['board'].message_type = _BOARD
_UPDATEBOARDREQ.fields_by_name['board'].message_type = _BOARD
_UPDATEBOARDRESP.fields_by_name['board'].message_type = _BOARD
_UPDATEBOARDSTATUSREQ.fields_by_name['status'].enum_type = _BOARD_BOARDSTATUS
_UPDATEBOARDSTATUSREQ.fields_by_name['reason'].message_type = _BOARD_BOARDSTATUSREASON
_RAWGETBOARDRESP.fields_by_name['board'].message_type = _BOARD
_GETMULTIBOARDSRESP_BOARDSENTRY.fields_by_name['value'].message_type = _BOARD
_GETMULTIBOARDSRESP_BOARDSENTRY.containing_type = _GETMULTIBOARDSRESP
_GETMULTIBOARDSRESP.fields_by_name['boards'].message_type = _GETMULTIBOARDSRESP_BOARDSENTRY
_ADDORUPDATETARGETTOBOARDREQ.fields_by_name['target'].message_type = _TARGET
_ADDORUPDATETARGETTOBOARDREQ.fields_by_name['createTime'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_ADDORUPDATETARGETTOBOARDREQ.fields_by_name['updateTime'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_REMOVETARGETFROMBOARDREQ.fields_by_name['target'].message_type = _TARGET
_ISTARGETINBOARDSREQ.fields_by_name['target'].message_type = _TARGET
_ISTARGETINBOARDSRESP.fields_by_name['targetInBoards'].message_type = _TARGETINBOARD
_COLLECTBOARDREQ.fields_by_name['createTime'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_PAGEDBOARDTARGETSREQ.fields_by_name['targetType'].enum_type = _TARGETTYPE
_PAGEDBOARDTARGETSRESP.fields_by_name['targets'].message_type = _TARGET
_PAGEDTARGETBOARDSREQ.fields_by_name['target'].message_type = _TARGET
_PAGEDTARGETBOARDSRESP.fields_by_name['boards'].message_type = _BOARD
_PAGEDUSERBOARDSRESP.fields_by_name['boards'].message_type = _BOARD
_PAGEDUSERCOLLECTEDBOARDSRESP.fields_by_name['boards'].message_type = _BOARD
_BOARD_BOARDSTATUSREASON.fields_by_name['reasonCode'].enum_type = _BOARD_BOARDSTATUSREASON_BOARDSTATUSREASONCODE
_BOARD_BOARDSTATUSREASON.containing_type = _BOARD
_BOARD_BOARDSTATUSREASON_BOARDSTATUSREASONCODE.containing_type = _BOARD_BOARDSTATUSREASON
_BOARD.fields_by_name['accessibility'].enum_type = _BOARD_ACCESSIBILITY
_BOARD.fields_by_name['createTime'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_BOARD.fields_by_name['updateTime'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_BOARD.fields_by_name['status'].enum_type = _BOARD_BOARDSTATUS
_BOARD.fields_by_name['statusReason'].message_type = _BOARD_BOARDSTATUSREASON
_BOARD_ACCESSIBILITY.containing_type = _BOARD
_BOARD_BOARDSTATUS.containing_type = _BOARD
_TARGET.fields_by_name['type'].enum_type = _TARGETTYPE
DESCRIPTOR.message_types_by_name['CreateBoardReq'] = _CREATEBOARDREQ
DESCRIPTOR.message_types_by_name['CreateBoardResp'] = _CREATEBOARDRESP
DESCRIPTOR.message_types_by_name['UpdateBoardReq'] = _UPDATEBOARDREQ
DESCRIPTOR.message_types_by_name['UpdateBoardResp'] = _UPDATEBOARDRESP
DESCRIPTOR.message_types_by_name['UpdateBoardStatusReq'] = _UPDATEBOARDSTATUSREQ
DESCRIPTOR.message_types_by_name['UpdateBoardStatusResp'] = _UPDATEBOARDSTATUSRESP
DESCRIPTOR.message_types_by_name['RawGetBoardReq'] = _RAWGETBOARDREQ
DESCRIPTOR.message_types_by_name['RawGetBoardResp'] = _RAWGETBOARDRESP
DESCRIPTOR.message_types_by_name['GetMultiBoardsReq'] = _GETMULTIBOARDSREQ
DESCRIPTOR.message_types_by_name['GetMultiBoardsResp'] = _GETMULTIBOARDSRESP
DESCRIPTOR.message_types_by_name['AddCollaboratorToBoardReq'] = _ADDCOLLABORATORTOBOARDREQ
DESCRIPTOR.message_types_by_name['AddCollaboratorToBoardResp'] = _ADDCOLLABORATORTOBOARDRESP
DESCRIPTOR.message_types_by_name['RemoveCollaboratorFromBoardReq'] = _REMOVECOLLABORATORFROMBOARDREQ
DESCRIPTOR.message_types_by_name['RemoveCollaboratorFromBoardResp'] = _REMOVECOLLABORATORFROMBOARDRESP
DESCRIPTOR.message_types_by_name['AddOrUpdateTargetToBoardReq'] = _ADDORUPDATETARGETTOBOARDREQ
DESCRIPTOR.message_types_by_name['AddOrUpdateTargetToBoardResp'] = _ADDORUPDATETARGETTOBOARDRESP
DESCRIPTOR.message_types_by_name['RemoveTargetFromBoardReq'] = _REMOVETARGETFROMBOARDREQ
DESCRIPTOR.message_types_by_name['RemoveTargetFromBoardResp'] = _REMOVETARGETFROMBOARDRESP
DESCRIPTOR.message_types_by_name['IsTargetInBoardsReq'] = _ISTARGETINBOARDSREQ
DESCRIPTOR.message_types_by_name['IsTargetInBoardsResp'] = _ISTARGETINBOARDSRESP
DESCRIPTOR.message_types_by_name['TargetInBoard'] = _TARGETINBOARD
DESCRIPTOR.message_types_by_name['CollectBoardReq'] = _COLLECTBOARDREQ
DESCRIPTOR.message_types_by_name['CollectBoardResp'] = _COLLECTBOARDRESP
DESCRIPTOR.message_types_by_name['UncollectBoardReq'] = _UNCOLLECTBOARDREQ
DESCRIPTOR.message_types_by_name['UncollectBoardResp'] = _UNCOLLECTBOARDRESP
DESCRIPTOR.message_types_by_name['PagedBoardTargetsReq'] = _PAGEDBOARDTARGETSREQ
DESCRIPTOR.message_types_by_name['PagedBoardTargetsResp'] = _PAGEDBOARDTARGETSRESP
DESCRIPTOR.message_types_by_name['PagedTargetBoardsReq'] = _PAGEDTARGETBOARDSREQ
DESCRIPTOR.message_types_by_name['PagedTargetBoardsResp'] = _PAGEDTARGETBOARDSRESP
DESCRIPTOR.message_types_by_name['PagedUserBoardsReq'] = _PAGEDUSERBOARDSREQ
DESCRIPTOR.message_types_by_name['PagedUserBoardsResp'] = _PAGEDUSERBOARDSRESP
DESCRIPTOR.message_types_by_name['PagedUserCollectedBoardsReq'] = _PAGEDUSERCOLLECTEDBOARDSREQ
DESCRIPTOR.message_types_by_name['PagedUserCollectedBoardsResp'] = _PAGEDUSERCOLLECTEDBOARDSRESP
DESCRIPTOR.message_types_by_name['Board'] = _BOARD
DESCRIPTOR.message_types_by_name['Target'] = _TARGET
DESCRIPTOR.enum_types_by_name['TargetType'] = _TARGETTYPE
CreateBoardReq = _reflection.GeneratedProtocolMessageType('CreateBoardReq', (_message.Message,), dict(
DESCRIPTOR = _CREATEBOARDREQ,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.CreateBoardReq)
))
_sym_db.RegisterMessage(CreateBoardReq)
CreateBoardResp = _reflection.GeneratedProtocolMessageType('CreateBoardResp', (_message.Message,), dict(
DESCRIPTOR = _CREATEBOARDRESP,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.CreateBoardResp)
))
_sym_db.RegisterMessage(CreateBoardResp)
UpdateBoardReq = _reflection.GeneratedProtocolMessageType('UpdateBoardReq', (_message.Message,), dict(
DESCRIPTOR = _UPDATEBOARDREQ,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.UpdateBoardReq)
))
_sym_db.RegisterMessage(UpdateBoardReq)
UpdateBoardResp = _reflection.GeneratedProtocolMessageType('UpdateBoardResp', (_message.Message,), dict(
DESCRIPTOR = _UPDATEBOARDRESP,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.UpdateBoardResp)
))
_sym_db.RegisterMessage(UpdateBoardResp)
UpdateBoardStatusReq = _reflection.GeneratedProtocolMessageType('UpdateBoardStatusReq', (_message.Message,), dict(
DESCRIPTOR = _UPDATEBOARDSTATUSREQ,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.UpdateBoardStatusReq)
))
_sym_db.RegisterMessage(UpdateBoardStatusReq)
UpdateBoardStatusResp = _reflection.GeneratedProtocolMessageType('UpdateBoardStatusResp', (_message.Message,), dict(
DESCRIPTOR = _UPDATEBOARDSTATUSRESP,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.UpdateBoardStatusResp)
))
_sym_db.RegisterMessage(UpdateBoardStatusResp)
RawGetBoardReq = _reflection.GeneratedProtocolMessageType('RawGetBoardReq', (_message.Message,), dict(
DESCRIPTOR = _RAWGETBOARDREQ,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.RawGetBoardReq)
))
_sym_db.RegisterMessage(RawGetBoardReq)
RawGetBoardResp = _reflection.GeneratedProtocolMessageType('RawGetBoardResp', (_message.Message,), dict(
DESCRIPTOR = _RAWGETBOARDRESP,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.RawGetBoardResp)
))
_sym_db.RegisterMessage(RawGetBoardResp)
GetMultiBoardsReq = _reflection.GeneratedProtocolMessageType('GetMultiBoardsReq', (_message.Message,), dict(
DESCRIPTOR = _GETMULTIBOARDSREQ,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.GetMultiBoardsReq)
))
_sym_db.RegisterMessage(GetMultiBoardsReq)
GetMultiBoardsResp = _reflection.GeneratedProtocolMessageType('GetMultiBoardsResp', (_message.Message,), dict(
BoardsEntry = _reflection.GeneratedProtocolMessageType('BoardsEntry', (_message.Message,), dict(
DESCRIPTOR = _GETMULTIBOARDSRESP_BOARDSENTRY,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.GetMultiBoardsResp.BoardsEntry)
))
,
DESCRIPTOR = _GETMULTIBOARDSRESP,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.GetMultiBoardsResp)
))
_sym_db.RegisterMessage(GetMultiBoardsResp)
_sym_db.RegisterMessage(GetMultiBoardsResp.BoardsEntry)
AddCollaboratorToBoardReq = _reflection.GeneratedProtocolMessageType('AddCollaboratorToBoardReq', (_message.Message,), dict(
DESCRIPTOR = _ADDCOLLABORATORTOBOARDREQ,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.AddCollaboratorToBoardReq)
))
_sym_db.RegisterMessage(AddCollaboratorToBoardReq)
AddCollaboratorToBoardResp = _reflection.GeneratedProtocolMessageType('AddCollaboratorToBoardResp', (_message.Message,), dict(
DESCRIPTOR = _ADDCOLLABORATORTOBOARDRESP,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.AddCollaboratorToBoardResp)
))
_sym_db.RegisterMessage(AddCollaboratorToBoardResp)
RemoveCollaboratorFromBoardReq = _reflection.GeneratedProtocolMessageType('RemoveCollaboratorFromBoardReq', (_message.Message,), dict(
DESCRIPTOR = _REMOVECOLLABORATORFROMBOARDREQ,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.RemoveCollaboratorFromBoardReq)
))
_sym_db.RegisterMessage(RemoveCollaboratorFromBoardReq)
RemoveCollaboratorFromBoardResp = _reflection.GeneratedProtocolMessageType('RemoveCollaboratorFromBoardResp', (_message.Message,), dict(
DESCRIPTOR = _REMOVECOLLABORATORFROMBOARDRESP,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.RemoveCollaboratorFromBoardResp)
))
_sym_db.RegisterMessage(RemoveCollaboratorFromBoardResp)
AddOrUpdateTargetToBoardReq = _reflection.GeneratedProtocolMessageType('AddOrUpdateTargetToBoardReq', (_message.Message,), dict(
DESCRIPTOR = _ADDORUPDATETARGETTOBOARDREQ,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.AddOrUpdateTargetToBoardReq)
))
_sym_db.RegisterMessage(AddOrUpdateTargetToBoardReq)
AddOrUpdateTargetToBoardResp = _reflection.GeneratedProtocolMessageType('AddOrUpdateTargetToBoardResp', (_message.Message,), dict(
DESCRIPTOR = _ADDORUPDATETARGETTOBOARDRESP,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.AddOrUpdateTargetToBoardResp)
))
_sym_db.RegisterMessage(AddOrUpdateTargetToBoardResp)
RemoveTargetFromBoardReq = _reflection.GeneratedProtocolMessageType('RemoveTargetFromBoardReq', (_message.Message,), dict(
DESCRIPTOR = _REMOVETARGETFROMBOARDREQ,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.RemoveTargetFromBoardReq)
))
_sym_db.RegisterMessage(RemoveTargetFromBoardReq)
RemoveTargetFromBoardResp = _reflection.GeneratedProtocolMessageType('RemoveTargetFromBoardResp', (_message.Message,), dict(
DESCRIPTOR = _REMOVETARGETFROMBOARDRESP,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.RemoveTargetFromBoardResp)
))
_sym_db.RegisterMessage(RemoveTargetFromBoardResp)
IsTargetInBoardsReq = _reflection.GeneratedProtocolMessageType('IsTargetInBoardsReq', (_message.Message,), dict(
DESCRIPTOR = _ISTARGETINBOARDSREQ,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.IsTargetInBoardsReq)
))
_sym_db.RegisterMessage(IsTargetInBoardsReq)
IsTargetInBoardsResp = _reflection.GeneratedProtocolMessageType('IsTargetInBoardsResp', (_message.Message,), dict(
DESCRIPTOR = _ISTARGETINBOARDSRESP,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.IsTargetInBoardsResp)
))
_sym_db.RegisterMessage(IsTargetInBoardsResp)
TargetInBoard = _reflection.GeneratedProtocolMessageType('TargetInBoard', (_message.Message,), dict(
DESCRIPTOR = _TARGETINBOARD,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.TargetInBoard)
))
_sym_db.RegisterMessage(TargetInBoard)
CollectBoardReq = _reflection.GeneratedProtocolMessageType('CollectBoardReq', (_message.Message,), dict(
DESCRIPTOR = _COLLECTBOARDREQ,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.CollectBoardReq)
))
_sym_db.RegisterMessage(CollectBoardReq)
CollectBoardResp = _reflection.GeneratedProtocolMessageType('CollectBoardResp', (_message.Message,), dict(
DESCRIPTOR = _COLLECTBOARDRESP,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.CollectBoardResp)
))
_sym_db.RegisterMessage(CollectBoardResp)
UncollectBoardReq = _reflection.GeneratedProtocolMessageType('UncollectBoardReq', (_message.Message,), dict(
DESCRIPTOR = _UNCOLLECTBOARDREQ,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.UncollectBoardReq)
))
_sym_db.RegisterMessage(UncollectBoardReq)
UncollectBoardResp = _reflection.GeneratedProtocolMessageType('UncollectBoardResp', (_message.Message,), dict(
DESCRIPTOR = _UNCOLLECTBOARDRESP,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.UncollectBoardResp)
))
_sym_db.RegisterMessage(UncollectBoardResp)
PagedBoardTargetsReq = _reflection.GeneratedProtocolMessageType('PagedBoardTargetsReq', (_message.Message,), dict(
DESCRIPTOR = _PAGEDBOARDTARGETSREQ,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.PagedBoardTargetsReq)
))
_sym_db.RegisterMessage(PagedBoardTargetsReq)
PagedBoardTargetsResp = _reflection.GeneratedProtocolMessageType('PagedBoardTargetsResp', (_message.Message,), dict(
DESCRIPTOR = _PAGEDBOARDTARGETSRESP,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.PagedBoardTargetsResp)
))
_sym_db.RegisterMessage(PagedBoardTargetsResp)
PagedTargetBoardsReq = _reflection.GeneratedProtocolMessageType('PagedTargetBoardsReq', (_message.Message,), dict(
DESCRIPTOR = _PAGEDTARGETBOARDSREQ,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.PagedTargetBoardsReq)
))
_sym_db.RegisterMessage(PagedTargetBoardsReq)
PagedTargetBoardsResp = _reflection.GeneratedProtocolMessageType('PagedTargetBoardsResp', (_message.Message,), dict(
DESCRIPTOR = _PAGEDTARGETBOARDSRESP,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.PagedTargetBoardsResp)
))
_sym_db.RegisterMessage(PagedTargetBoardsResp)
PagedUserBoardsReq = _reflection.GeneratedProtocolMessageType('PagedUserBoardsReq', (_message.Message,), dict(
DESCRIPTOR = _PAGEDUSERBOARDSREQ,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.PagedUserBoardsReq)
))
_sym_db.RegisterMessage(PagedUserBoardsReq)
PagedUserBoardsResp = _reflection.GeneratedProtocolMessageType('PagedUserBoardsResp', (_message.Message,), dict(
DESCRIPTOR = _PAGEDUSERBOARDSRESP,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.PagedUserBoardsResp)
))
_sym_db.RegisterMessage(PagedUserBoardsResp)
PagedUserCollectedBoardsReq = _reflection.GeneratedProtocolMessageType('PagedUserCollectedBoardsReq', (_message.Message,), dict(
DESCRIPTOR = _PAGEDUSERCOLLECTEDBOARDSREQ,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.PagedUserCollectedBoardsReq)
))
_sym_db.RegisterMessage(PagedUserCollectedBoardsReq)
PagedUserCollectedBoardsResp = _reflection.GeneratedProtocolMessageType('PagedUserCollectedBoardsResp', (_message.Message,), dict(
DESCRIPTOR = _PAGEDUSERCOLLECTEDBOARDSRESP,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.PagedUserCollectedBoardsResp)
))
_sym_db.RegisterMessage(PagedUserCollectedBoardsResp)
Board = _reflection.GeneratedProtocolMessageType('Board', (_message.Message,), dict(
BoardStatusReason = _reflection.GeneratedProtocolMessageType('BoardStatusReason', (_message.Message,), dict(
DESCRIPTOR = _BOARD_BOARDSTATUSREASON,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.Board.BoardStatusReason)
))
,
DESCRIPTOR = _BOARD,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.Board)
))
_sym_db.RegisterMessage(Board)
_sym_db.RegisterMessage(Board.BoardStatusReason)
Target = _reflection.GeneratedProtocolMessageType('Target', (_message.Message,), dict(
DESCRIPTOR = _TARGET,
__module__ = 'board_pb2'
# @@protoc_insertion_point(class_scope:board.Target)
))
_sym_db.RegisterMessage(Target)
DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\032com.xiachufang.board.protoP\001'))
_GETMULTIBOARDSRESP_BOARDSENTRY.has_options = True
_GETMULTIBOARDSRESP_BOARDSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
# @@protoc_insertion_point(module_scope)
protoc -I. --python_out=. board.proto
uwsgi --max-requests=5000 --module test-protobuf --http :5000 --workers 4 --callable app --single-interpreter --master --worker-reload-mercy=50
import board_pb2
def app(environ, start_response):
"""Simplest possible application object"""
status = '200 OK'
response_headers = [('Content-type', 'text/plain')]
start_response(status, response_headers)
return ['Hello world!\n']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment