/* eslint-disable */ import _m0 from "protobufjs/minimal"; export const protobufPackage = "im.turms.proto"; export interface CreateRelationshipGroupRequest { name: string; } function createBaseCreateRelationshipGroupRequest(): CreateRelationshipGroupRequest { return { name: "" }; } export const CreateRelationshipGroupRequest = { encode(message: CreateRelationshipGroupRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { if (message.name !== "") { writer.uint32(10).string(message.name); } return writer; }, decode(input: _m0.Reader | Uint8Array, length?: number): CreateRelationshipGroupRequest { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseCreateRelationshipGroupRequest(); while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { case 1: message.name = reader.string(); break; default: reader.skipType(tag & 7); break; } } return message; }, };