diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml deleted file mode 100644 index 5602b4c..0000000 --- a/.github/workflows/docker.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Build Docker Image - -on: - push: {} - -jobs: - build-with-docker: - name: Build with Docker - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v3 - with: - submodules: recursive - - uses: docker/setup-buildx-action@v2 - - uses: docker/build-push-action@v3 - with: - push: false - context: . - cache-from: type=gha - cache-to: type=gha,mode=max - outputs: | - type=local,dest=${{ runner.temp }}/docker-build - - uses: actions/upload-artifact@v3 - with: - name: gooseai - path: ${{ runner.temp }}/docker-build/gooseai diff --git a/.gitmodules b/.gitmodules index 5bd82e9..62e596a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "src/tensorizer"] - path = src/tensorizer + path = proto/tensorizer url = https://github.com/coreweave/tensorizer.git diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index 9004d6e..0000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,299 +0,0 @@ -cmake_minimum_required(VERSION 3.14) -project(interfaces) - -# Automatically determine our project namespace. -find_package(Git) -execute_process( - COMMAND ${GIT_EXECUTABLE} config --get remote.origin.url - OUTPUT_VARIABLE REMOTE_ORIGIN - OUTPUT_STRIP_TRAILING_WHITESPACE) - -string(REPLACE "git@github.com:" "" REPO_PATH "${REMOTE_ORIGIN}") -string(REPLACE "https://github.com/" "" REPO_PATH "${REPO_PATH}") - -string(REPLACE ".git" "" PROJECT_REF "${REPO_PATH}") -string(TOLOWER ${PROJECT_REF} PROJECT_REF) - -include(src/cmake/FindgRPC.cmake) - -find_package(PkgConfig REQUIRED) -find_package(Protobuf REQUIRED) -#find_package(gRPC CONFIG REQUIRED) -set(PROTO_PATH "${PROJECT_SOURCE_DIR}/src/proto") -set(TENSORIZER_PROTO_PATH "${PROJECT_SOURCE_DIR}/src/tensorizer/proto") -set(GENERATED_PROTOBUF_PATH "${PROJECT_SOURCE_DIR}/gooseai") -file(MAKE_DIRECTORY ${GENERATED_PROTOBUF_PATH}) - -## Python target support -find_package(Python3 REQUIRED COMPONENTS Interpreter) - -set(PYBUILD_PATH "${PROJECT_BINARY_DIR}/pybuild") -execute_process(COMMAND python3 -m venv ${PYBUILD_PATH} - RESULT_VARIABLE EXIT_CODE - OUTPUT_QUIET) -if (NOT ${EXIT_CODE} EQUAL 0) - message(FATAL_ERROR - "Could not create python3 env at ${PYBUILD_PATH}") -endif() - -execute_process(COMMAND ${PYBUILD_PATH}/bin/pip3 show grpcio-tools grpcio protobuf - RESULT_VARIABLE EXIT_CODE - OUTPUT_QUIET) -if (NOT ${EXIT_CODE} EQUAL 0) - execute_process(COMMAND ${PYBUILD_PATH}/bin/pip3 install -r ${PROJECT_SOURCE_DIR}/requirements.txt - RESULT_VARIABLE EXIT_CODE) - if (NOT ${EXIT_CODE} EQUAL 0) - message(FATAL_ERROR - "Could not install python3 requirements at ${PYBUILD_PATH}") - endif() -endif() - - -set(python_exec "${PYBUILD_PATH}/bin/python3") -set(python_args "-m" "grpc_tools.protoc") -set(python_plugin "") -set(python_output "--python_out=") -set(python_output_dir "${PROJECT_SOURCE_DIR}/gooseai") -file(MAKE_DIRECTORY "${python_output_dir}") -file(WRITE "${PROJECT_SOURCE_DIR}/gooseai/__init__.py") -set(python_exts "_pb2.py") - -set(python_grpc_exec "${PYBUILD_PATH}/bin/python3") -set(python_grpc_args "-m" "grpc_tools.protoc") -set(python_grpc_output "--grpc_python_out=") -set(python_grpc_output_dir "${PROJECT_SOURCE_DIR}/gooseai") -set(python_grpc_plugin "") -set(python_grpc_exts "_grpc.py") - -## Golang target support -execute_Process(COMMAND go version - RESULT_VARIABLE EXIT_CODE) -if (NOT ${EXIT_CODE} EQUAL 0) - message(FATAL_ERROR - "You need to have a `golang` environment installed with an appropriately set GOROOT.") -endif() - -execute_process(COMMAND go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26 - RESULT_VARIABLE EXIT_CODE) -if (NOT ${EXIT_CODE} EQUAL 0) - message(FATAL_ERROR - "Error ensuring that `protoc-gen-go` is installed.") -endif() -execute_process(COMMAND go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1.0 - RESULT_VARIABLE EXIT_CODE) -if (NOT ${EXIT_CODE} EQUAL 0) - message(FATAL_ERROR - "Error ensuring that `protoc-gen-go-grpc` is installed.") -endif() - -set(golang_plugin "") -set(golang_output "--go_out=") -set(golang_output_dir "${PROJECT_SOURCE_DIR}/gooseai") -file(MAKE_DIRECTORY "${golang_output_dir}") -set(golang_exts ".go") - -set(golang_grpc "") -set(golang_grpc_output "--go-grpc_out=") -set(golang_grpc_output_dir "${PROJECT_SOURCE_DIR}/gooseai") -file(MAKE_DIRECTORY "${golang_grpc_output_dir}") -set(golang_grpc_exts "-grpc.go") - -# Javascript / Typescript target support -execute_process(COMMAND npm version - RESULT_VARIABLE EXIT_CODE - OUTPUT_QUIET) -if (NOT ${EXIT_CODE} EQUAL 0) - message(FATAL_ERROR - "npm is not installed. Please ensure that it is installed by using your favorite package manager.") -endif() - -set(ENV{npm_config_target_arch} x64) -execute_process(COMMAND npm install - RESULT_VARIABLE EXIT_CODE) -if (NOT ${EXIT_CODE} EQUAL 0) - message(FATAL_ERROR - "npm install failed!") -endif() -set(NODE_BIN_DIRECTORY "${PROJECT_SOURCE_DIR}/node_modules/.bin") - -set(javascript_exec "${PROJECT_SOURCE_DIR}/src/bin/protoc") -set(javascript_plugin "--plugin=protoc-gen-ts=${NODE_BIN_DIRECTORY}/protoc-gen-ts") -set(javascript_args "") -set(javascript_output "--js_out=import_style=commonjs,binary:") -set(javascript_output_dir "${PROJECT_SOURCE_DIR}/gooseai") -file(MAKE_DIRECTORY "${javascript_output_dir}") -set(javascript_exts "_pb.js") - -set(javascript_grpc_exec "${PROJECT_SOURCE_DIR}/src/bin/protoc") -set(javascript_grpc_plugin "--plugin=protoc-gen-ts=${NODE_BIN_DIRECTORY}/protoc-gen-ts" "--plugin=protoc-gen-grpc=${NODE_BIN_DIRECTORY}/grpc_tools_node_protoc_plugin") -set(javascript_grpc_args "") -set(javascript_grpc_output "--grpc_out=import_style=commonjs,binary:") -set(javascript_grpc_output_dir "${PROJECT_SOURCE_DIR}/gooseai") -file(MAKE_DIRECTORY "${javascript_grpc_output_dir}") -set(javascript_grpc_exts "_grpc_pb.js") - -set(typescript_web_exec "${PROJECT_SOURCE_DIR}/src/bin/protoc") -set(typescript_web_plugin "--plugin=protoc-gen-ts=${NODE_BIN_DIRECTORY}/protoc-gen-ts") -set(typescript_web_args "") -set(typescript_web_output "--ts_out=service=grpc-web:") -set(typescript_web_output_dir "${PROJECT_SOURCE_DIR}/gooseai") -file(MAKE_DIRECTORY "${typescript_output_dir}") -set(typescript_web_exts "_grpc_pb_service.d.ts;_grpc_pb_service.js") - -set(typescript_node_exec "${PROJECT_SOURCE_DIR}/src/bin/protoc") -set(typescript_node_plugin "--plugin=protoc-gen-ts=${NODE_BIN_DIRECTORY}/protoc-gen-ts" "--plugin=protoc-gen-grpc=${NODE_BIN_DIRECTORY}/grpc_tools_node_protoc_plugin") -set(typescript_node_args "") -set(typescript_node_output "--ts_out=service=grpc-node:") -set(typescript_node_output_dir "${PROJECT_SOURCE_DIR}/gooseai") -file(MAKE_DIRECTORY "${typescript_output_dir}") -set(typescript_node_exts "_grpc_pb.d.ts") - -## Protobuf and GRPC stub building macros -macro (_add_pb_file _src TYP VAR) - message("Will generate stub ${VAR} for ${_src}") - list(APPEND SRC_${VAR} ${_src}) -endmacro() - -macro (add_protobufs) - foreach (_src ${ARGN}) - _add_pb_file(${_src} PROTO Protobufs) - endforeach() -endmacro() - -macro(_generate_interface LANG INTERFACE_FILE) - get_filename_component(_PROTOBUF_DIR "${INTERFACE_FILE}" DIRECTORY) - get_filename_component(_PROTOBUF_SHORT "${INTERFACE_FILE}" NAME_WE) - file(MAKE_DIRECTORY "${${_lang}_output_dir}") - file(MAKE_DIRECTORY "${_PROTOBUF_DIR}") - set(_PROTOBUF_NAME "${_PROTOBUF_DIR}/${_PROTOBUF_SHORT}") - set(OUTPUT_FILES) - set(CMD_EXEC) - foreach(_ext ${${LANG}_exts}) - set(OUTPUT_FILE_NAME "${${LANG}_output_dir}/${_PROTOBUF_SHORT}/${_PROTOBUF_SHORT}${_ext}") - list(APPEND GENERATED_PROTOBUF_FILES_${LANG} "${OUTPUT_FILE_NAME}") - list(APPEND OUTPUT_FILES "${OUTPUT_FILE_NAME}") - message("${INTERFACE_FILE} => ${OUTPUT_FILE_NAME}") - endforeach() - if(DEFINED ${LANG}_exec) - set(CMD_EXEC ${${LANG}_exec}) - else() - set(CMD_EXEC "${PROTOBUF_PROTOC_EXECUTABLE}") - endif() - add_custom_command( - OUTPUT ${OUTPUT_FILES} - - COMMAND "mkdir" - ARGS "-p" - ARGS "${${LANG}_output_dir}/${_PROTOBUF_SHORT}" - - COMMAND ${CMD_EXEC} - ARGS ${${LANG}_args} - ARGS "--proto_path=${PROTO_PATH}" - ARGS "--proto_path=${TENSORIZER_PROTO_PATH}" - ARGS "--experimental_allow_proto3_optional" - ARGS ${${LANG}_plugin} - ARGS "${${LANG}_output}${${LANG}_output_dir}/${_PROTOBUF_SHORT}" - ARGS "${INTERFACE_FILE}") -endmacro() - -macro(generate_interfaces) - foreach(_lang ${TARGET_LANGUAGES}) - foreach(_src ${SRC_Interfaces} ${SRC_Protobufs}) - _generate_interface("${_lang}" ${_src}) - endforeach() - foreach(_src ${SRC_Interfaces}) - if(DEFINED ${_lang}_grpc_output) - _generate_interface(${_lang}_grpc ${_src}) - endif() - endforeach() - endforeach() -endmacro() - -macro(add_target_languages) - foreach(_lang ${ARGN}) - message("Will generate stubs for ${_lang}") - #file(MAKE_DIRECTORY "${GENERATED_PROTOBUF_PATH}/${_lang}") - file(MAKE_DIRECTORY "${${_lang}_output_dir}") - list(APPEND TARGET_LANGUAGES ${_lang}) - endforeach() -endmacro() - -set(RESOURCES) -macro(add_resource) - foreach(_res ${ARGN}) - list(APPEND RESOURCES "${CMAKE_CURRENT_BINARY_DIR}/${_res}") - add_custom_command( - OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${_res}" - COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/${_res}" - "${CMAKE_CURRENT_BINARY_DIR}/${_res}" - DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/${_res}") - endforeach() -endmacro() - -# Set our build targets. -add_target_languages( - python - python_grpc - golang - golang_grpc - javascript - javascript_grpc - typescript_web - typescript_node -) - -# Generate base protobufs -add_protobufs(${CMAKE_SOURCE_DIR}/src/proto/dashboard.proto) -add_protobufs(${CMAKE_SOURCE_DIR}/src/proto/generation.proto) -add_protobufs(${CMAKE_SOURCE_DIR}/src/proto/engines.proto) -add_protobufs(${CMAKE_SOURCE_DIR}/src/proto/project.proto) -generate_interfaces() - -add_custom_command( - OUTPUT "${golang_grpc_output_dir}/go.mod" - WORKING_DIRECTORY "${GENERATED_PROTOBUF_PATH}" - COMMAND rm -f go.mod - COMMAND GOPROXY=direct go mod init github.com/${PROJECT_REF}/gooseai - COMMAND go mod tidy - DEPENDS ${GENERATED_PROTOBUF_FILES_golang_grpc}) - -# Tensorizer files -macro(copy_files FILES SRC DEST) - set(DEPENDS_FILES "") - foreach(_file ${FILES}) - list(APPEND OUTPUT_FILES "${DEST}/${_file}") - add_custom_command( - OUTPUT "${DEST}/${_file}" - - COMMAND "mkdir" - ARGS "-p" - ARGS "${DEST}" - - COMMAND cp - ARGS "${SRC}/${_file}" - ARGS "${DEST}" - DEPENDS "${SRC}/${_file}") - endforeach() -endmacro() - -set(TENSORIZER_FILES "tensors_pb.d.ts;tensors_pb.js;tensors_pb2.py") -set(TENSORIZER_SRC "${PROJECT_SOURCE_DIR}/src/tensorizer/tensors") -set(TENSORIZER_DEST "${PROJECT_SOURCE_DIR}/gooseai/generation") - -set(OUTPUT_FILES "") -copy_files("${TENSORIZER_FILES}" "${TENSORIZER_SRC}" "${TENSORIZER_DEST}") - -add_custom_target( - generated ALL - DEPENDS - ${GENERATED_PROTOBUF_FILES_python} - ${GENERATED_PROTOBUF_FILES_python_grpc} - ${GENERATED_PROTOBUF_FILES_golang} - ${GENERATED_PROTOBUF_FILES_golang_grpc} - ${GENERATED_PROTOBUF_FILES_javascript} - ${GENERATED_PROTOBUF_FILES_javascript_grpc} - ${GENERATED_PROTOBUF_FILES_typescript_web} - ${GENERATED_PROTOBUF_FILES_typescript_node} - ${PROJECT_SOURCE_DIR}/gooseai/go.mod - ${OUTPUT_FILES} -) diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index a384406..0000000 --- a/Dockerfile +++ /dev/null @@ -1,40 +0,0 @@ -ARG NODE_IMAGE_TAG=16-bullseye -FROM --platform=linux/amd64 node:${NODE_IMAGE_TAG} as builder -ARG GOLANG_VERSION=1.18.6 -ARG GOLANG_PACKAGE=https://go.dev/dl/go${GOLANG_VERSION}.linux-amd64.tar.gz -ARG GRPC_VERSION=v1.48.2 -ARG PROTOC_GEN_GO_VERSION=v1.28.1 -ARG PROTOC_GEN_GO_GRPC_VERSION=v1.1.0 - -# Install python and build tools from apt -RUN apt-get update && apt-get install -y cmake git build-essential python3-venv wget && rm -rf /var/lib/apt/lists/* - -# Install golang from binary package -RUN rm -rf /go && wget ${GOLANG_PACKAGE} -qO- | tar -C / -xz -ENV GOPATH=/go -ENV PATH $GOPATH/bin:$PATH -RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH" -RUN mkdir -p /build - -# Build GRPC; note this issue before updating: https://github.com/protocolbuffers/protobuf-javascript/issues/127 -WORKDIR /build -RUN git clone --recurse-submodules -b ${GRPC_VERSION} --depth 1 --shallow-submodules https://github.com/grpc/grpc -WORKDIR /build/grpc -RUN mkdir -p cmake/build; cd cmake/build; cmake -DgRPC_INSTALL=ON -DgRPC_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=/usr/local ../.. && make -j 8 && make install - -# Build api-interfaces -RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@${PROTOC_GEN_GO_VERSION} -RUN go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@${PROTOC_GEN_GO_GRPC_VERSION} - -COPY package.json package-lock.json requirements.txt /build/api-interfaces/ -COPY .git /build/api-interfaces/.git/ -COPY src/ /build/api-interfaces/src/ -COPY gooseai/ /build/api-interfaces/gooseai/ -WORKDIR /build/api-interfaces -COPY CMakeLists.txt /build/api-interfaces/ -RUN cmake . -RUN make clean && cmake --build . - -# Copy output to a bare container -FROM debian:bullseye-slim -COPY --from=builder /build/api-interfaces/gooseai /gooseai diff --git a/README.md b/README.md index 5de38fc..4bc0b6c 100644 --- a/README.md +++ b/README.md @@ -1,106 +1,5 @@ -## 📝 Table of Contents +Proof of concept for a simplified Protobuf development experience +- Only ts-protoc-gen needs to be installed on the host machine (run `npm install` or `yarn`) all other dependencies are handled by Buf remote generation. -- [About](#about) -- [Getting Started](#getting_started) -- [Usage](#usage) - -## About - -Api-Interfaces is the gRPC protocol for communication between the -[api-bridge](https://github.com/Stability-AI/api-bridge), the [api-web](https://github.com/Stability-AI/api-web), -and the [generator_server](https://github.com/Stability-AI/generator_server). Additionally, any -other client application communicating directly with `api-web` also use the interfaces generated -from this repository. - -## Getting Started - -These instructions will get you an environment setup to build the interface files from the proto source files. - -### Prerequisites - -The following items are needed to develop api-interfaces: -- [golang](https://go.dev/) >= 1.18 -- [nodejs](https://nodejs.org/en/) >= 16.16.0 -- [cmake](https://cmake.org/) >= 3.14 -- [protoc](https://github.com/protocolbuffers/protobuf#protocol-compiler-installation) -- [grpc](https://grpc.io/) - -It is recommended to use ssh cloning with this project for `git` and for `go get`, although `https` -does appear to work. To force ssh (for github) put the following in your `.gitconfig`: - -```ini -[url "ssh://git@github.com/"] - insteadOf = https://github.com/ -``` - -### Setup and building - -After all the prerequisites are installed and available, this project can be setup by the following: - -```shell -git clone --recurse-submodules git@github.com:Stability-AI/api-interfaces.git -cd api-interfaces -cmake . -cmake --build . -``` - -This will produce files for the various languages in [gooseai](./gooseai) to support the proto -files in [src](./src). *When rebuilding the files it is recommended to do a clean before as there -have been instances of not all files being regenerated without it.* - -## 🎈 Usage - -The generated files are all output in [gooseai](./gooseai). How to use these files depends on the -programming language being used. The following sections provide details for each of the supported -languages. - -The files have different usages and not all are required depending on the situation: -| Suffix | Client | Server | -|-------------|--------|--------| -| _grpc_pb | ✔️1 | ✔️ | -| _pb_service | ✔️2 | | -| _pb | ✔️ | ✔️ | - - -1. Not needed for typescript/javascript clients. -2. Only needed for typscript/javascripts clients. - - -### Golang - -For Golang the interfaces can be added to the project as a normal module require. To add them run: - -```shell -go get github.com/Stability-AI/api-interfaces@latest -``` - -Similarly to update them just run the same command with the short sha of the version to update to. -Use them as you would a normal module. - -### Python - -With the current output, the best way to consume these is to add them as a git submodule to your -project. It is recommended to use ssh clone when adding the submodule. To update them just -checkout the newer version from within the submodule (and remember to commit the submodule change -to your project). - -To use them make sure the files are on the python path. - - -### Typescript / Javascript - -With the current output, the best way to consume these is to add them as a git submodule to your -project. It is recommended to use ssh clone when adding the submodule. To update them just -checkout the newer version from within the submodule (and remember to commit the submodule change -to your project). - -To use them make sure they are in a location that can be found by your typescript/javascript files. - -*NOTE: Typescript requires both the typescript and javascript files to be available.* - -### Other Languages / Custom Build - -If not using the CMake defined builds to generate make sure when building from the source proto -files that the following proto include paths are set: -- `src/proto` -- `src/tensorizer/proto` +Commands: + - `yarn generate` Regenerate outputs in `gen` directory from protobuf definitions diff --git a/__init__.py b/__init__.py deleted file mode 100644 index 8b13789..0000000 --- a/__init__.py +++ /dev/null @@ -1 +0,0 @@ - diff --git a/buf.gen.yaml b/buf.gen.yaml new file mode 100644 index 0000000..6502129 --- /dev/null +++ b/buf.gen.yaml @@ -0,0 +1,33 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: github.com/stability-ai/api-interfaces/gen/proto/go +plugins: + # Go + - remote: buf.build/library/plugins/go:v1.27.1-1 + out: gen/proto/go + opt: + - paths=source_relative + - remote: buf.build/library/plugins/go-grpc:v1.1.0-2 + out: gen/proto/go + opt: + - paths=source_relative + + # Python + - plugin: buf.build/protocolbuffers/python + out: gen/proto/python/stability_api_interfaces + - plugin: buf.build/grpc/python + out: gen/proto/python/stability_api_interfaces + + # JS/TS + - remote: buf.build/protocolbuffers/plugins/js:v3.19.1-1 + out: gen/proto/typescript-web/lib + opt: + - import_style=commonjs + - binary + - name: ts + out: gen/proto/typescript-web/lib + opt: + - service=grpc-web + path: ./node_modules/.bin/protoc-gen-ts diff --git a/buf.work.yaml b/buf.work.yaml index 924d331..87631d9 100644 --- a/buf.work.yaml +++ b/buf.work.yaml @@ -1,4 +1,3 @@ version: v1 directories: - - src/proto - - src/tensorizer/proto + - proto/ diff --git a/buf.yaml b/buf.yaml index 31d0c5d..bfb4d1e 100644 --- a/buf.yaml +++ b/buf.yaml @@ -1,8 +1,8 @@ version: v1 -breaking: - use: - - FILE build: excludes: - node_modules - - build + - gen +breaking: + use: + - FILE diff --git a/gen/proto/go/go.mod b/gen/proto/go/go.mod new file mode 100644 index 0000000..ac08541 --- /dev/null +++ b/gen/proto/go/go.mod @@ -0,0 +1,17 @@ +module github.com/stability-ai/api-interfaces/gen/proto/go + +go 1.18 + +require ( + google.golang.org/grpc v1.49.0 + google.golang.org/protobuf v1.28.1 +) + +require ( + github.com/golang/protobuf v1.5.2 // indirect + github.com/google/go-cmp v0.5.8 // indirect + golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e // indirect + golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d // indirect + golang.org/x/text v0.3.7 // indirect + google.golang.org/genproto v0.0.0-20220822174746-9e6da59bd2fc // indirect +) diff --git a/gen/proto/go/go.sum b/gen/proto/go/go.sum new file mode 100644 index 0000000..9b5c71a --- /dev/null +++ b/gen/proto/go/go.sum @@ -0,0 +1,21 @@ +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= +github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e h1:TsQ7F31D3bUCLeqPT0u+yjp1guoArKaNKmCr22PYgTQ= +golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d h1:Zu/JngovGLVi6t2J3nmAf3AoTDwuzw85YZ3b9o4yU7s= +golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/genproto v0.0.0-20220822174746-9e6da59bd2fc h1:Nf+EdcTLHR8qDNN/KfkQL0u0ssxt9OhbaWCl5C0ucEI= +google.golang.org/genproto v0.0.0-20220822174746-9e6da59bd2fc/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= +google.golang.org/grpc v1.49.0 h1:WTLtQzmQori5FUH25Pq4WT22oCsv8USpQ+F6rqtsmxw= +google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= +google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= diff --git a/gooseai/dashboard/dashboard.pb.go b/gen/proto/go/gooseai/dashboard.pb.go similarity index 59% rename from gooseai/dashboard/dashboard.pb.go rename to gen/proto/go/gooseai/dashboard.pb.go index 1b99beb..122cecd 100644 --- a/gooseai/dashboard/dashboard.pb.go +++ b/gen/proto/go/gooseai/dashboard.pb.go @@ -1,10 +1,10 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.26.0 -// protoc v3.19.5 -// source: dashboard.proto +// protoc-gen-go v1.27.1 +// protoc (unknown) +// source: gooseai/dashboard.proto -package dashboard +package gooseai import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -53,11 +53,11 @@ func (x OrganizationRole) String() string { } func (OrganizationRole) Descriptor() protoreflect.EnumDescriptor { - return file_dashboard_proto_enumTypes[0].Descriptor() + return file_gooseai_dashboard_proto_enumTypes[0].Descriptor() } func (OrganizationRole) Type() protoreflect.EnumType { - return &file_dashboard_proto_enumTypes[0] + return &file_gooseai_dashboard_proto_enumTypes[0] } func (x OrganizationRole) Number() protoreflect.EnumNumber { @@ -66,7 +66,7 @@ func (x OrganizationRole) Number() protoreflect.EnumNumber { // Deprecated: Use OrganizationRole.Descriptor instead. func (OrganizationRole) EnumDescriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{0} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{0} } type OrganizationMember struct { @@ -83,7 +83,7 @@ type OrganizationMember struct { func (x *OrganizationMember) Reset() { *x = OrganizationMember{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[0] + mi := &file_gooseai_dashboard_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -96,7 +96,7 @@ func (x *OrganizationMember) String() string { func (*OrganizationMember) ProtoMessage() {} func (x *OrganizationMember) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[0] + mi := &file_gooseai_dashboard_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -109,7 +109,7 @@ func (x *OrganizationMember) ProtoReflect() protoreflect.Message { // Deprecated: Use OrganizationMember.ProtoReflect.Descriptor instead. func (*OrganizationMember) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{0} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{0} } func (x *OrganizationMember) GetOrganization() *Organization { @@ -154,7 +154,7 @@ type OrganizationGrant struct { func (x *OrganizationGrant) Reset() { *x = OrganizationGrant{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[1] + mi := &file_gooseai_dashboard_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -167,7 +167,7 @@ func (x *OrganizationGrant) String() string { func (*OrganizationGrant) ProtoMessage() {} func (x *OrganizationGrant) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[1] + mi := &file_gooseai_dashboard_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -180,7 +180,7 @@ func (x *OrganizationGrant) ProtoReflect() protoreflect.Message { // Deprecated: Use OrganizationGrant.ProtoReflect.Descriptor instead. func (*OrganizationGrant) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{1} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{1} } func (x *OrganizationGrant) GetAmountGranted() float64 { @@ -223,7 +223,7 @@ type OrganizationPaymentInfo struct { func (x *OrganizationPaymentInfo) Reset() { *x = OrganizationPaymentInfo{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[2] + mi := &file_gooseai_dashboard_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -236,7 +236,7 @@ func (x *OrganizationPaymentInfo) String() string { func (*OrganizationPaymentInfo) ProtoMessage() {} func (x *OrganizationPaymentInfo) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[2] + mi := &file_gooseai_dashboard_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -249,7 +249,7 @@ func (x *OrganizationPaymentInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use OrganizationPaymentInfo.ProtoReflect.Descriptor instead. func (*OrganizationPaymentInfo) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{2} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{2} } func (x *OrganizationPaymentInfo) GetBalance() float64 { @@ -279,7 +279,7 @@ type OrganizationAutoCharge struct { func (x *OrganizationAutoCharge) Reset() { *x = OrganizationAutoCharge{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[3] + mi := &file_gooseai_dashboard_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -292,7 +292,7 @@ func (x *OrganizationAutoCharge) String() string { func (*OrganizationAutoCharge) ProtoMessage() {} func (x *OrganizationAutoCharge) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[3] + mi := &file_gooseai_dashboard_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -305,7 +305,7 @@ func (x *OrganizationAutoCharge) ProtoReflect() protoreflect.Message { // Deprecated: Use OrganizationAutoCharge.ProtoReflect.Descriptor instead. func (*OrganizationAutoCharge) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{3} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{3} } func (x *OrganizationAutoCharge) GetEnabled() bool { @@ -346,7 +346,7 @@ type Organization struct { func (x *Organization) Reset() { *x = Organization{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[4] + mi := &file_gooseai_dashboard_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -359,7 +359,7 @@ func (x *Organization) String() string { func (*Organization) ProtoMessage() {} func (x *Organization) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[4] + mi := &file_gooseai_dashboard_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -372,7 +372,7 @@ func (x *Organization) ProtoReflect() protoreflect.Message { // Deprecated: Use Organization.ProtoReflect.Descriptor instead. func (*Organization) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{4} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{4} } func (x *Organization) GetId() string { @@ -437,7 +437,7 @@ type APIKey struct { func (x *APIKey) Reset() { *x = APIKey{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[5] + mi := &file_gooseai_dashboard_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -450,7 +450,7 @@ func (x *APIKey) String() string { func (*APIKey) ProtoMessage() {} func (x *APIKey) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[5] + mi := &file_gooseai_dashboard_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -463,7 +463,7 @@ func (x *APIKey) ProtoReflect() protoreflect.Message { // Deprecated: Use APIKey.ProtoReflect.Descriptor instead. func (*APIKey) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{5} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{5} } func (x *APIKey) GetKey() string { @@ -505,7 +505,7 @@ type User struct { func (x *User) Reset() { *x = User{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[6] + mi := &file_gooseai_dashboard_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -518,7 +518,7 @@ func (x *User) String() string { func (*User) ProtoMessage() {} func (x *User) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[6] + mi := &file_gooseai_dashboard_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -531,7 +531,7 @@ func (x *User) ProtoReflect() protoreflect.Message { // Deprecated: Use User.ProtoReflect.Descriptor instead. func (*User) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{6} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{6} } func (x *User) GetId() string { @@ -602,7 +602,7 @@ type CostData struct { func (x *CostData) Reset() { *x = CostData{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[7] + mi := &file_gooseai_dashboard_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -615,7 +615,7 @@ func (x *CostData) String() string { func (*CostData) ProtoMessage() {} func (x *CostData) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[7] + mi := &file_gooseai_dashboard_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -628,7 +628,7 @@ func (x *CostData) ProtoReflect() protoreflect.Message { // Deprecated: Use CostData.ProtoReflect.Descriptor instead. func (*CostData) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{7} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{7} } func (x *CostData) GetAmountTokens() uint32 { @@ -661,7 +661,7 @@ type UsageMetric struct { func (x *UsageMetric) Reset() { *x = UsageMetric{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[8] + mi := &file_gooseai_dashboard_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -674,7 +674,7 @@ func (x *UsageMetric) String() string { func (*UsageMetric) ProtoMessage() {} func (x *UsageMetric) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[8] + mi := &file_gooseai_dashboard_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -687,7 +687,7 @@ func (x *UsageMetric) ProtoReflect() protoreflect.Message { // Deprecated: Use UsageMetric.ProtoReflect.Descriptor instead. func (*UsageMetric) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{8} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{8} } func (x *UsageMetric) GetOperation() string { @@ -744,7 +744,7 @@ type CostTotal struct { func (x *CostTotal) Reset() { *x = CostTotal{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[9] + mi := &file_gooseai_dashboard_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -757,7 +757,7 @@ func (x *CostTotal) String() string { func (*CostTotal) ProtoMessage() {} func (x *CostTotal) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[9] + mi := &file_gooseai_dashboard_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -770,7 +770,7 @@ func (x *CostTotal) ProtoReflect() protoreflect.Message { // Deprecated: Use CostTotal.ProtoReflect.Descriptor instead. func (*CostTotal) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{9} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{9} } func (x *CostTotal) GetAmountTokens() uint32 { @@ -799,7 +799,7 @@ type TotalMetricsData struct { func (x *TotalMetricsData) Reset() { *x = TotalMetricsData{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[10] + mi := &file_gooseai_dashboard_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -812,7 +812,7 @@ func (x *TotalMetricsData) String() string { func (*TotalMetricsData) ProtoMessage() {} func (x *TotalMetricsData) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[10] + mi := &file_gooseai_dashboard_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -825,7 +825,7 @@ func (x *TotalMetricsData) ProtoReflect() protoreflect.Message { // Deprecated: Use TotalMetricsData.ProtoReflect.Descriptor instead. func (*TotalMetricsData) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{10} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{10} } func (x *TotalMetricsData) GetInputTotal() *CostTotal { @@ -854,7 +854,7 @@ type Metrics struct { func (x *Metrics) Reset() { *x = Metrics{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[11] + mi := &file_gooseai_dashboard_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -867,7 +867,7 @@ func (x *Metrics) String() string { func (*Metrics) ProtoMessage() {} func (x *Metrics) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[11] + mi := &file_gooseai_dashboard_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -880,7 +880,7 @@ func (x *Metrics) ProtoReflect() protoreflect.Message { // Deprecated: Use Metrics.ProtoReflect.Descriptor instead. func (*Metrics) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{11} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{11} } func (x *Metrics) GetMetrics() []*UsageMetric { @@ -906,7 +906,7 @@ type EmptyRequest struct { func (x *EmptyRequest) Reset() { *x = EmptyRequest{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[12] + mi := &file_gooseai_dashboard_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -919,7 +919,7 @@ func (x *EmptyRequest) String() string { func (*EmptyRequest) ProtoMessage() {} func (x *EmptyRequest) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[12] + mi := &file_gooseai_dashboard_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -932,7 +932,7 @@ func (x *EmptyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead. func (*EmptyRequest) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{12} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{12} } type GetOrganizationRequest struct { @@ -946,7 +946,7 @@ type GetOrganizationRequest struct { func (x *GetOrganizationRequest) Reset() { *x = GetOrganizationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[13] + mi := &file_gooseai_dashboard_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -959,7 +959,7 @@ func (x *GetOrganizationRequest) String() string { func (*GetOrganizationRequest) ProtoMessage() {} func (x *GetOrganizationRequest) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[13] + mi := &file_gooseai_dashboard_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -972,7 +972,7 @@ func (x *GetOrganizationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetOrganizationRequest.ProtoReflect.Descriptor instead. func (*GetOrganizationRequest) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{13} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{13} } func (x *GetOrganizationRequest) GetId() string { @@ -997,7 +997,7 @@ type GetMetricsRequest struct { func (x *GetMetricsRequest) Reset() { *x = GetMetricsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[14] + mi := &file_gooseai_dashboard_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1010,7 +1010,7 @@ func (x *GetMetricsRequest) String() string { func (*GetMetricsRequest) ProtoMessage() {} func (x *GetMetricsRequest) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[14] + mi := &file_gooseai_dashboard_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1023,7 +1023,7 @@ func (x *GetMetricsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetMetricsRequest.ProtoReflect.Descriptor instead. func (*GetMetricsRequest) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{14} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{14} } func (x *GetMetricsRequest) GetOrganizationId() string { @@ -1072,7 +1072,7 @@ type APIKeyRequest struct { func (x *APIKeyRequest) Reset() { *x = APIKeyRequest{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[15] + mi := &file_gooseai_dashboard_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1085,7 +1085,7 @@ func (x *APIKeyRequest) String() string { func (*APIKeyRequest) ProtoMessage() {} func (x *APIKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[15] + mi := &file_gooseai_dashboard_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1098,7 +1098,7 @@ func (x *APIKeyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use APIKeyRequest.ProtoReflect.Descriptor instead. func (*APIKeyRequest) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{15} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{15} } func (x *APIKeyRequest) GetIsSecret() bool { @@ -1119,7 +1119,7 @@ type APIKeyFindRequest struct { func (x *APIKeyFindRequest) Reset() { *x = APIKeyFindRequest{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[16] + mi := &file_gooseai_dashboard_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1132,7 +1132,7 @@ func (x *APIKeyFindRequest) String() string { func (*APIKeyFindRequest) ProtoMessage() {} func (x *APIKeyFindRequest) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[16] + mi := &file_gooseai_dashboard_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1145,7 +1145,7 @@ func (x *APIKeyFindRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use APIKeyFindRequest.ProtoReflect.Descriptor instead. func (*APIKeyFindRequest) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{16} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{16} } func (x *APIKeyFindRequest) GetId() string { @@ -1166,7 +1166,7 @@ type UpdateDefaultOrganizationRequest struct { func (x *UpdateDefaultOrganizationRequest) Reset() { *x = UpdateDefaultOrganizationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[17] + mi := &file_gooseai_dashboard_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1179,7 +1179,7 @@ func (x *UpdateDefaultOrganizationRequest) String() string { func (*UpdateDefaultOrganizationRequest) ProtoMessage() {} func (x *UpdateDefaultOrganizationRequest) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[17] + mi := &file_gooseai_dashboard_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1192,7 +1192,7 @@ func (x *UpdateDefaultOrganizationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateDefaultOrganizationRequest.ProtoReflect.Descriptor instead. func (*UpdateDefaultOrganizationRequest) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{17} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{17} } func (x *UpdateDefaultOrganizationRequest) GetOrganizationId() string { @@ -1213,7 +1213,7 @@ type ClientSettings struct { func (x *ClientSettings) Reset() { *x = ClientSettings{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[18] + mi := &file_gooseai_dashboard_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1226,7 +1226,7 @@ func (x *ClientSettings) String() string { func (*ClientSettings) ProtoMessage() {} func (x *ClientSettings) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[18] + mi := &file_gooseai_dashboard_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1239,7 +1239,7 @@ func (x *ClientSettings) ProtoReflect() protoreflect.Message { // Deprecated: Use ClientSettings.ProtoReflect.Descriptor instead. func (*ClientSettings) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{18} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{18} } func (x *ClientSettings) GetSettings() []byte { @@ -1263,7 +1263,7 @@ type CreateAutoChargeIntentRequest struct { func (x *CreateAutoChargeIntentRequest) Reset() { *x = CreateAutoChargeIntentRequest{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[19] + mi := &file_gooseai_dashboard_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1276,7 +1276,7 @@ func (x *CreateAutoChargeIntentRequest) String() string { func (*CreateAutoChargeIntentRequest) ProtoMessage() {} func (x *CreateAutoChargeIntentRequest) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[19] + mi := &file_gooseai_dashboard_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1289,7 +1289,7 @@ func (x *CreateAutoChargeIntentRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateAutoChargeIntentRequest.ProtoReflect.Descriptor instead. func (*CreateAutoChargeIntentRequest) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{19} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{19} } func (x *CreateAutoChargeIntentRequest) GetOrganizationId() string { @@ -1332,7 +1332,7 @@ type CreateChargeRequest struct { func (x *CreateChargeRequest) Reset() { *x = CreateChargeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[20] + mi := &file_gooseai_dashboard_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1345,7 +1345,7 @@ func (x *CreateChargeRequest) String() string { func (*CreateChargeRequest) ProtoMessage() {} func (x *CreateChargeRequest) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[20] + mi := &file_gooseai_dashboard_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1358,7 +1358,7 @@ func (x *CreateChargeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateChargeRequest.ProtoReflect.Descriptor instead. func (*CreateChargeRequest) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{20} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{20} } func (x *CreateChargeRequest) GetAmount() uint64 { @@ -1388,7 +1388,7 @@ type GetChargesRequest struct { func (x *GetChargesRequest) Reset() { *x = GetChargesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[21] + mi := &file_gooseai_dashboard_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1401,7 +1401,7 @@ func (x *GetChargesRequest) String() string { func (*GetChargesRequest) ProtoMessage() {} func (x *GetChargesRequest) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[21] + mi := &file_gooseai_dashboard_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1414,7 +1414,7 @@ func (x *GetChargesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetChargesRequest.ProtoReflect.Descriptor instead. func (*GetChargesRequest) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{21} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{21} } func (x *GetChargesRequest) GetOrganizationId() string { @@ -1454,7 +1454,7 @@ type Charge struct { func (x *Charge) Reset() { *x = Charge{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[22] + mi := &file_gooseai_dashboard_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1467,7 +1467,7 @@ func (x *Charge) String() string { func (*Charge) ProtoMessage() {} func (x *Charge) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[22] + mi := &file_gooseai_dashboard_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1480,7 +1480,7 @@ func (x *Charge) ProtoReflect() protoreflect.Message { // Deprecated: Use Charge.ProtoReflect.Descriptor instead. func (*Charge) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{22} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{22} } func (x *Charge) GetId() string { @@ -1536,7 +1536,7 @@ type Charges struct { func (x *Charges) Reset() { *x = Charges{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[23] + mi := &file_gooseai_dashboard_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1549,7 +1549,7 @@ func (x *Charges) String() string { func (*Charges) ProtoMessage() {} func (x *Charges) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[23] + mi := &file_gooseai_dashboard_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1562,7 +1562,7 @@ func (x *Charges) ProtoReflect() protoreflect.Message { // Deprecated: Use Charges.ProtoReflect.Descriptor instead. func (*Charges) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{23} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{23} } func (x *Charges) GetCharges() []*Charge { @@ -1583,7 +1583,7 @@ type GetAutoChargeRequest struct { func (x *GetAutoChargeRequest) Reset() { *x = GetAutoChargeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[24] + mi := &file_gooseai_dashboard_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1596,7 +1596,7 @@ func (x *GetAutoChargeRequest) String() string { func (*GetAutoChargeRequest) ProtoMessage() {} func (x *GetAutoChargeRequest) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[24] + mi := &file_gooseai_dashboard_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1609,7 +1609,7 @@ func (x *GetAutoChargeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAutoChargeRequest.ProtoReflect.Descriptor instead. func (*GetAutoChargeRequest) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{24} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{24} } func (x *GetAutoChargeRequest) GetOrganizationId() string { @@ -1635,7 +1635,7 @@ type AutoChargeIntent struct { func (x *AutoChargeIntent) Reset() { *x = AutoChargeIntent{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[25] + mi := &file_gooseai_dashboard_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1648,7 +1648,7 @@ func (x *AutoChargeIntent) String() string { func (*AutoChargeIntent) ProtoMessage() {} func (x *AutoChargeIntent) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[25] + mi := &file_gooseai_dashboard_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1661,7 +1661,7 @@ func (x *AutoChargeIntent) ProtoReflect() protoreflect.Message { // Deprecated: Use AutoChargeIntent.ProtoReflect.Descriptor instead. func (*AutoChargeIntent) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{25} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{25} } func (x *AutoChargeIntent) GetId() string { @@ -1717,7 +1717,7 @@ type UpdateUserInfoRequest struct { func (x *UpdateUserInfoRequest) Reset() { *x = UpdateUserInfoRequest{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[26] + mi := &file_gooseai_dashboard_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1730,7 +1730,7 @@ func (x *UpdateUserInfoRequest) String() string { func (*UpdateUserInfoRequest) ProtoMessage() {} func (x *UpdateUserInfoRequest) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[26] + mi := &file_gooseai_dashboard_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1743,7 +1743,7 @@ func (x *UpdateUserInfoRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateUserInfoRequest.ProtoReflect.Descriptor instead. func (*UpdateUserInfoRequest) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{26} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{26} } func (x *UpdateUserInfoRequest) GetEmail() string { @@ -1764,7 +1764,7 @@ type UserPasswordChangeTicket struct { func (x *UserPasswordChangeTicket) Reset() { *x = UserPasswordChangeTicket{} if protoimpl.UnsafeEnabled { - mi := &file_dashboard_proto_msgTypes[27] + mi := &file_gooseai_dashboard_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1777,7 +1777,7 @@ func (x *UserPasswordChangeTicket) String() string { func (*UserPasswordChangeTicket) ProtoMessage() {} func (x *UserPasswordChangeTicket) ProtoReflect() protoreflect.Message { - mi := &file_dashboard_proto_msgTypes[27] + mi := &file_gooseai_dashboard_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1790,7 +1790,7 @@ func (x *UserPasswordChangeTicket) ProtoReflect() protoreflect.Message { // Deprecated: Use UserPasswordChangeTicket.ProtoReflect.Descriptor instead. func (*UserPasswordChangeTicket) Descriptor() ([]byte, []int) { - return file_dashboard_proto_rawDescGZIP(), []int{27} + return file_gooseai_dashboard_proto_rawDescGZIP(), []int{27} } func (x *UserPasswordChangeTicket) GetTicket() string { @@ -1800,329 +1800,338 @@ func (x *UserPasswordChangeTicket) GetTicket() string { return "" } -var File_dashboard_proto protoreflect.FileDescriptor - -var file_dashboard_proto_rawDesc = []byte{ - 0x0a, 0x0f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x07, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x22, 0xce, 0x01, 0x0a, 0x12, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x12, 0x39, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, - 0x69, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x04, - 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x67, 0x6f, 0x6f, - 0x73, 0x65, 0x61, 0x69, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x48, 0x00, 0x52, 0x04, 0x75, 0x73, 0x65, - 0x72, 0x88, 0x01, 0x01, 0x12, 0x2d, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, - 0x6f, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, - 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, - 0x6c, 0x74, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x22, 0x99, 0x01, 0x0a, 0x11, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x61, 0x6e, - 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x67, 0x72, 0x61, 0x6e, - 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x61, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x6d, 0x6f, 0x75, - 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x61, - 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x78, 0x70, - 0x69, 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x65, - 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x72, 0x61, 0x6e, - 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x67, 0x72, - 0x61, 0x6e, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x67, 0x0a, 0x17, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x01, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x06, - 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, - 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, - 0x22, 0x61, 0x0a, 0x16, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x41, 0x75, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, - 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x64, 0x41, 0x74, 0x22, 0x87, 0x03, 0x0a, 0x0c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x07, 0x6d, 0x65, - 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, +var File_gooseai_dashboard_proto protoreflect.FileDescriptor + +var file_gooseai_dashboard_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x67, 0x6f, 0x6f, 0x73, 0x65, + 0x61, 0x69, 0x22, 0xce, 0x01, 0x0a, 0x12, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x39, 0x0a, 0x0c, 0x6f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x55, 0x73, 0x65, + 0x72, 0x48, 0x00, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x2d, 0x0a, 0x04, + 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, + 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, + 0x73, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x09, 0x69, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x75, + 0x73, 0x65, 0x72, 0x22, 0x99, 0x01, 0x0a, 0x11, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x5f, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x01, 0x52, 0x0d, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, + 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x73, 0x65, + 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, + 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, + 0x67, 0x0a, 0x17, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, + 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x62, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x61, 0x6e, 0x74, + 0x52, 0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x22, 0x61, 0x0a, 0x16, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, + 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x87, 0x03, 0x0a, 0x0c, + 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, + 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x48, 0x0a, 0x0c, 0x70, 0x61, 0x79, + 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x88, 0x01, 0x01, 0x12, 0x31, 0x0a, 0x12, 0x73, 0x74, 0x72, 0x69, 0x70, 0x65, 0x5f, 0x63, 0x75, + 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, + 0x01, 0x52, 0x10, 0x73, 0x74, 0x72, 0x69, 0x70, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, + 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x45, 0x0a, 0x0b, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x63, + 0x68, 0x61, 0x72, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, - 0x73, 0x12, 0x48, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, - 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, - 0x69, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, - 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x61, 0x79, - 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x88, 0x01, 0x01, 0x12, 0x31, 0x0a, 0x12, 0x73, - 0x74, 0x72, 0x69, 0x70, 0x65, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x69, - 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x10, 0x73, 0x74, 0x72, 0x69, 0x70, - 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x45, - 0x0a, 0x0b, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x68, - 0x61, 0x72, 0x67, 0x65, 0x48, 0x02, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, - 0x67, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, - 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x70, - 0x65, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x42, 0x0e, 0x0a, - 0x0c, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x22, 0x56, 0x0a, - 0x06, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, - 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, - 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0xcc, 0x02, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1c, - 0x0a, 0x07, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x00, 0x52, 0x06, 0x61, 0x75, 0x74, 0x68, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x27, 0x0a, 0x0f, - 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, - 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x41, 0x0a, 0x0d, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, - 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2a, - 0x0a, 0x08, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x0f, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, - 0x79, 0x52, 0x07, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x0e, 0x65, 0x6d, 0x61, - 0x69, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, - 0x08, 0x48, 0x01, 0x52, 0x0d, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, - 0x65, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x69, - 0x64, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x69, - 0x66, 0x69, 0x65, 0x64, 0x22, 0x56, 0x0a, 0x08, 0x43, 0x6f, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, - 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, - 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x61, - 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x22, 0x80, 0x02, 0x0a, - 0x0b, 0x55, 0x73, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x12, 0x1c, 0x0a, 0x09, - 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, - 0x67, 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, - 0x6e, 0x65, 0x12, 0x30, 0x0a, 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x73, 0x74, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, - 0x2e, 0x43, 0x6f, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, - 0x43, 0x6f, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x63, - 0x6f, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x73, - 0x65, 0x61, 0x69, 0x2e, 0x43, 0x6f, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0a, 0x6f, 0x75, - 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x88, 0x01, - 0x01, 0x12, 0x33, 0x0a, 0x15, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x14, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x22, - 0x57, 0x0a, 0x09, 0x43, 0x6f, 0x73, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x23, 0x0a, 0x0d, - 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, - 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x63, 0x72, 0x65, 0x64, - 0x69, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x61, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x22, 0x7e, 0x0a, 0x10, 0x54, 0x6f, 0x74, 0x61, - 0x6c, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x44, 0x61, 0x74, 0x61, 0x12, 0x33, 0x0a, 0x0b, - 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x6f, 0x73, 0x74, - 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x54, 0x6f, 0x74, 0x61, - 0x6c, 0x12, 0x35, 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x74, 0x6f, 0x74, 0x61, - 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, - 0x69, 0x2e, 0x43, 0x6f, 0x73, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x0b, 0x6f, 0x75, 0x74, - 0x70, 0x75, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x22, 0x6a, 0x0a, 0x07, 0x4d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x73, 0x12, 0x2e, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x55, - 0x73, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x73, 0x12, 0x2f, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x54, 0x6f, 0x74, - 0x61, 0x6c, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x74, - 0x6f, 0x74, 0x61, 0x6c, 0x22, 0x0e, 0x0a, 0x0c, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x22, 0x28, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xdf, - 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1c, 0x0a, - 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, - 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x0a, 0x72, - 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x09, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x61, - 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x72, 0x61, - 0x6e, 0x67, 0x65, 0x54, 0x6f, 0x12, 0x3d, 0x0a, 0x1b, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, - 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x69, 0x6e, 0x63, 0x6c, - 0x75, 0x64, 0x65, 0x50, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x22, 0x2c, 0x0a, 0x0d, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x23, - 0x0a, 0x11, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x02, 0x69, 0x64, 0x22, 0x4b, 0x0a, 0x20, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x66, - 0x61, 0x75, 0x6c, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, - 0x22, 0x2c, 0x0a, 0x0e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, - 0x67, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0xbd, - 0x01, 0x0a, 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x68, 0x61, - 0x72, 0x67, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x6f, 0x6e, - 0x74, 0x68, 0x6c, 0x79, 0x5f, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x0e, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x4d, 0x61, 0x78, 0x69, 0x6d, - 0x75, 0x6d, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x69, 0x6d, - 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x0d, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x22, 0x56, - 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x27, 0x0a, - 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x76, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, - 0x72, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x66, 0x72, - 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x46, - 0x72, 0x6f, 0x6d, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x6f, 0x22, 0xb8, - 0x01, 0x0a, 0x06, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x70, 0x61, 0x69, 0x64, 0x12, 0x21, 0x0a, - 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x4c, 0x69, 0x6e, 0x6b, - 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x4c, - 0x69, 0x6e, 0x6b, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, - 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x41, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x63, 0x72, 0x65, - 0x64, 0x69, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x61, 0x6d, 0x6f, 0x75, - 0x6e, 0x74, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x22, 0x34, 0x0a, 0x07, 0x43, 0x68, 0x61, - 0x72, 0x67, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, - 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x52, 0x07, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x73, 0x22, - 0x3f, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, - 0x22, 0xd9, 0x01, 0x0a, 0x10, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x49, - 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, - 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x79, - 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, - 0x6c, 0x79, 0x5f, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x0e, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x4d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, - 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, - 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x61, - 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x22, 0x3c, 0x0a, 0x15, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x88, 0x01, 0x01, - 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x32, 0x0a, 0x18, 0x55, 0x73, - 0x65, 0x72, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2a, 0x39, - 0x0a, 0x10, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, - 0x6c, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x00, 0x12, 0x0e, - 0x0a, 0x0a, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x41, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x09, - 0x0a, 0x05, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x10, 0x02, 0x32, 0xf7, 0x08, 0x0a, 0x10, 0x44, 0x61, - 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2d, - 0x0a, 0x05, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x12, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, - 0x69, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, - 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x49, 0x0a, - 0x0f, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x4d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, - 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x12, 0x37, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, - 0x49, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, - 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x67, - 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x12, 0x3b, 0x0a, - 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x2e, - 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x46, 0x69, - 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x67, 0x6f, 0x6f, 0x73, - 0x65, 0x61, 0x69, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x12, 0x55, 0x0a, 0x19, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, - 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x55, 0x73, 0x65, - 0x72, 0x12, 0x43, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, - 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, - 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, - 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, - 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x45, 0x0a, 0x11, 0x53, 0x65, 0x74, 0x43, 0x6c, 0x69, - 0x65, 0x6e, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x17, 0x2e, 0x67, 0x6f, - 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x74, 0x74, - 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, - 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3f, 0x0a, - 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x0d, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x56, - 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, - 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x15, 0x2e, 0x67, - 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x55, 0x73, - 0x65, 0x72, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x35, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, - 0x69, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, - 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x3d, 0x0a, - 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x12, 0x1c, 0x2e, - 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, - 0x61, 0x72, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x67, 0x6f, - 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x12, 0x3a, 0x0a, 0x0a, - 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x73, 0x12, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, - 0x73, 0x65, 0x61, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, - 0x2e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x73, 0x12, 0x5b, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x74, 0x65, - 0x6e, 0x74, 0x12, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x6f, 0x6f, - 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x49, - 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x5b, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, - 0x75, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, - 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x41, 0x75, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, - 0x69, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x74, 0x65, - 0x6e, 0x74, 0x12, 0x4f, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x68, 0x61, - 0x72, 0x67, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x73, - 0x65, 0x61, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, 0x67, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, - 0x61, 0x69, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x42, 0x0e, 0x5a, 0x0c, 0x2e, 0x2f, 0x3b, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, - 0x61, 0x72, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x48, 0x02, 0x52, 0x0a, + 0x61, 0x75, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0f, 0x0a, + 0x0d, 0x5f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x42, 0x15, + 0x0a, 0x13, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x70, 0x65, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x63, + 0x68, 0x61, 0x72, 0x67, 0x65, 0x22, 0x56, 0x0a, 0x06, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x1d, + 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0xcc, 0x02, + 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x07, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x61, 0x75, 0x74, 0x68, 0x49, + 0x64, 0x88, 0x01, 0x01, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, + 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, + 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x14, 0x0a, + 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, + 0x61, 0x69, 0x6c, 0x12, 0x41, 0x0a, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, + 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2a, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, + 0x79, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, + 0x61, 0x69, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x07, 0x61, 0x70, 0x69, 0x4b, 0x65, + 0x79, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, + 0x74, 0x12, 0x2a, 0x0a, 0x0e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, + 0x69, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x48, 0x01, 0x52, 0x0d, 0x65, 0x6d, 0x61, + 0x69, 0x6c, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, + 0x08, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x69, 0x64, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x65, 0x6d, + 0x61, 0x69, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x22, 0x56, 0x0a, 0x08, + 0x43, 0x6f, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0c, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x25, 0x0a, + 0x0e, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, + 0x64, 0x69, 0x74, 0x73, 0x22, 0x80, 0x02, 0x0a, 0x0b, 0x55, 0x73, 0x61, 0x67, 0x65, 0x4d, 0x65, + 0x74, 0x72, 0x69, 0x63, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x30, 0x0a, 0x0a, 0x69, 0x6e, + 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, + 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x6f, 0x73, 0x74, 0x44, 0x61, 0x74, + 0x61, 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x0b, + 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x6f, 0x73, 0x74, + 0x44, 0x61, 0x74, 0x61, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x73, 0x74, + 0x12, 0x17, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, + 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x33, 0x0a, 0x15, 0x61, 0x67, 0x67, + 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x14, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x07, + 0x0a, 0x05, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x22, 0x57, 0x0a, 0x09, 0x43, 0x6f, 0x73, 0x74, 0x54, + 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x01, 0x52, 0x0d, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, + 0x22, 0x7e, 0x0a, 0x10, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, + 0x44, 0x61, 0x74, 0x61, 0x12, 0x33, 0x0a, 0x0b, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x74, 0x6f, + 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x73, + 0x65, 0x61, 0x69, 0x2e, 0x43, 0x6f, 0x73, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x0a, 0x69, + 0x6e, 0x70, 0x75, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x35, 0x0a, 0x0c, 0x6f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x6f, 0x73, 0x74, 0x54, 0x6f, + 0x74, 0x61, 0x6c, 0x52, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, + 0x22, 0x6a, 0x0a, 0x07, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x2e, 0x0a, 0x07, 0x6d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, + 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x55, 0x73, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x2f, 0x0a, 0x05, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, + 0x73, 0x65, 0x61, 0x69, 0x2e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x22, 0x0e, 0x0a, 0x0c, + 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x28, 0x0a, 0x16, + 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xdf, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x65, + 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, + 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, + 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x66, 0x72, 0x6f, + 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x72, + 0x6f, 0x6d, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x6f, 0x12, 0x3d, 0x0a, + 0x1b, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x18, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x50, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x0a, 0x0a, 0x08, + 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x22, 0x2c, 0x0a, 0x0d, 0x41, 0x50, 0x49, 0x4b, + 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, + 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, + 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x23, 0x0a, 0x11, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, + 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4b, 0x0a, 0x20, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x2c, 0x0a, 0x0e, 0x43, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x73, 0x65, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0xbd, 0x01, 0x0a, 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x5f, 0x6d, 0x61, 0x78, + 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6d, 0x6f, 0x6e, 0x74, + 0x68, 0x6c, 0x79, 0x4d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x69, + 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, + 0x25, 0x0a, 0x0e, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, + 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x43, + 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x22, 0x56, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, + 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, + 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x76, + 0x0a, 0x11, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, + 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x09, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x19, 0x0a, 0x08, 0x72, + 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x72, + 0x61, 0x6e, 0x67, 0x65, 0x54, 0x6f, 0x22, 0xb8, 0x01, 0x0a, 0x06, 0x43, 0x68, 0x61, 0x72, 0x67, + 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x04, 0x70, 0x61, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, + 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x63, + 0x65, 0x69, 0x70, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6d, + 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x1d, 0x0a, 0x0a, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x6d, + 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x0d, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, + 0x73, 0x22, 0x34, 0x0a, 0x07, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x07, + 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, + 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x52, 0x07, + 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x73, 0x22, 0x3f, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x75, + 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0xd9, 0x01, 0x0a, 0x10, 0x41, 0x75, 0x74, + 0x6f, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, + 0x0c, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, + 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, + 0x27, 0x0a, 0x0f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x5f, 0x6d, 0x61, 0x78, 0x69, 0x6d, + 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, + 0x79, 0x4d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x69, 0x6e, 0x69, + 0x6d, 0x75, 0x6d, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0c, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x25, 0x0a, + 0x0e, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, + 0x64, 0x69, 0x74, 0x73, 0x22, 0x3c, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, + 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, + 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x65, 0x6d, 0x61, + 0x69, 0x6c, 0x22, 0x32, 0x0a, 0x18, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, + 0x72, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x16, + 0x0a, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2a, 0x39, 0x0a, 0x10, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x45, + 0x4d, 0x42, 0x45, 0x52, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, + 0x54, 0x41, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x10, + 0x02, 0x32, 0xf7, 0x08, 0x0a, 0x10, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2d, 0x0a, 0x05, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x12, + 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, + 0x2e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x49, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, + 0x61, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, + 0x65, 0x61, 0x69, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x3a, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x67, 0x6f, 0x6f, + 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x37, 0x0a, 0x0c, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x2e, 0x67, + 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, + 0x50, 0x49, 0x4b, 0x65, 0x79, 0x12, 0x3b, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, + 0x50, 0x49, 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, + 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x0f, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x50, 0x49, 0x4b, + 0x65, 0x79, 0x12, 0x55, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x65, 0x66, 0x61, + 0x75, 0x6c, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x67, 0x6f, 0x6f, + 0x73, 0x65, 0x61, 0x69, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x43, 0x0a, 0x11, 0x47, 0x65, 0x74, + 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x15, + 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, + 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x45, + 0x0a, 0x11, 0x53, 0x65, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x73, 0x12, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x17, 0x2e, 0x67, + 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x74, + 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3f, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, + 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, + 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, + 0x69, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x56, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x69, + 0x63, 0x6b, 0x65, 0x74, 0x12, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x45, + 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6f, + 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, + 0x72, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x35, + 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, + 0x2e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x3d, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, + 0x68, 0x61, 0x72, 0x67, 0x65, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x68, + 0x61, 0x72, 0x67, 0x65, 0x12, 0x3a, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x72, 0x67, + 0x65, 0x73, 0x12, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x47, 0x65, 0x74, + 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, + 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x73, + 0x12, 0x5b, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x68, + 0x61, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x2e, 0x67, 0x6f, 0x6f, + 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x43, + 0x68, 0x61, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x75, 0x74, + 0x6f, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x5b, 0x0a, + 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, 0x67, + 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, + 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, + 0x67, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x68, + 0x61, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x4f, 0x0a, 0x13, 0x47, 0x65, + 0x74, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x41, + 0x75, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x43, + 0x68, 0x61, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x96, 0x01, 0x0a, 0x0b, + 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x42, 0x0e, 0x44, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x2d, 0x61, 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2d, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x66, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, + 0x67, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0xa2, 0x02, 0x03, 0x47, 0x58, 0x58, + 0xaa, 0x02, 0x07, 0x47, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0xca, 0x02, 0x07, 0x47, 0x6f, 0x6f, + 0x73, 0x65, 0x61, 0x69, 0xe2, 0x02, 0x13, 0x47, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x07, 0x47, 0x6f, 0x6f, + 0x73, 0x65, 0x61, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_dashboard_proto_rawDescOnce sync.Once - file_dashboard_proto_rawDescData = file_dashboard_proto_rawDesc + file_gooseai_dashboard_proto_rawDescOnce sync.Once + file_gooseai_dashboard_proto_rawDescData = file_gooseai_dashboard_proto_rawDesc ) -func file_dashboard_proto_rawDescGZIP() []byte { - file_dashboard_proto_rawDescOnce.Do(func() { - file_dashboard_proto_rawDescData = protoimpl.X.CompressGZIP(file_dashboard_proto_rawDescData) +func file_gooseai_dashboard_proto_rawDescGZIP() []byte { + file_gooseai_dashboard_proto_rawDescOnce.Do(func() { + file_gooseai_dashboard_proto_rawDescData = protoimpl.X.CompressGZIP(file_gooseai_dashboard_proto_rawDescData) }) - return file_dashboard_proto_rawDescData + return file_gooseai_dashboard_proto_rawDescData } -var file_dashboard_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_dashboard_proto_msgTypes = make([]protoimpl.MessageInfo, 28) -var file_dashboard_proto_goTypes = []interface{}{ +var file_gooseai_dashboard_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_gooseai_dashboard_proto_msgTypes = make([]protoimpl.MessageInfo, 28) +var file_gooseai_dashboard_proto_goTypes = []interface{}{ (OrganizationRole)(0), // 0: gooseai.OrganizationRole (*OrganizationMember)(nil), // 1: gooseai.OrganizationMember (*OrganizationGrant)(nil), // 2: gooseai.OrganizationGrant @@ -2153,7 +2162,7 @@ var file_dashboard_proto_goTypes = []interface{}{ (*UpdateUserInfoRequest)(nil), // 27: gooseai.UpdateUserInfoRequest (*UserPasswordChangeTicket)(nil), // 28: gooseai.UserPasswordChangeTicket } -var file_dashboard_proto_depIdxs = []int32{ +var file_gooseai_dashboard_proto_depIdxs = []int32{ 5, // 0: gooseai.OrganizationMember.organization:type_name -> gooseai.Organization 7, // 1: gooseai.OrganizationMember.user:type_name -> gooseai.User 0, // 2: gooseai.OrganizationMember.role:type_name -> gooseai.OrganizationRole @@ -2209,13 +2218,13 @@ var file_dashboard_proto_depIdxs = []int32{ 0, // [0:16] is the sub-list for field type_name } -func init() { file_dashboard_proto_init() } -func file_dashboard_proto_init() { - if File_dashboard_proto != nil { +func init() { file_gooseai_dashboard_proto_init() } +func file_gooseai_dashboard_proto_init() { + if File_gooseai_dashboard_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_dashboard_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OrganizationMember); i { case 0: return &v.state @@ -2227,7 +2236,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OrganizationGrant); i { case 0: return &v.state @@ -2239,7 +2248,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OrganizationPaymentInfo); i { case 0: return &v.state @@ -2251,7 +2260,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OrganizationAutoCharge); i { case 0: return &v.state @@ -2263,7 +2272,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Organization); i { case 0: return &v.state @@ -2275,7 +2284,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*APIKey); i { case 0: return &v.state @@ -2287,7 +2296,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*User); i { case 0: return &v.state @@ -2299,7 +2308,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CostData); i { case 0: return &v.state @@ -2311,7 +2320,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UsageMetric); i { case 0: return &v.state @@ -2323,7 +2332,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CostTotal); i { case 0: return &v.state @@ -2335,7 +2344,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TotalMetricsData); i { case 0: return &v.state @@ -2347,7 +2356,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Metrics); i { case 0: return &v.state @@ -2359,7 +2368,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EmptyRequest); i { case 0: return &v.state @@ -2371,7 +2380,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetOrganizationRequest); i { case 0: return &v.state @@ -2383,7 +2392,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetMetricsRequest); i { case 0: return &v.state @@ -2395,7 +2404,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*APIKeyRequest); i { case 0: return &v.state @@ -2407,7 +2416,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*APIKeyFindRequest); i { case 0: return &v.state @@ -2419,7 +2428,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateDefaultOrganizationRequest); i { case 0: return &v.state @@ -2431,7 +2440,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ClientSettings); i { case 0: return &v.state @@ -2443,7 +2452,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateAutoChargeIntentRequest); i { case 0: return &v.state @@ -2455,7 +2464,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateChargeRequest); i { case 0: return &v.state @@ -2467,7 +2476,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetChargesRequest); i { case 0: return &v.state @@ -2479,7 +2488,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Charge); i { case 0: return &v.state @@ -2491,7 +2500,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Charges); i { case 0: return &v.state @@ -2503,7 +2512,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAutoChargeRequest); i { case 0: return &v.state @@ -2515,7 +2524,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AutoChargeIntent); i { case 0: return &v.state @@ -2527,7 +2536,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateUserInfoRequest); i { case 0: return &v.state @@ -2539,7 +2548,7 @@ func file_dashboard_proto_init() { return nil } } - file_dashboard_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_dashboard_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserPasswordChangeTicket); i { case 0: return &v.state @@ -2552,29 +2561,29 @@ func file_dashboard_proto_init() { } } } - file_dashboard_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_dashboard_proto_msgTypes[4].OneofWrappers = []interface{}{} - file_dashboard_proto_msgTypes[6].OneofWrappers = []interface{}{} - file_dashboard_proto_msgTypes[8].OneofWrappers = []interface{}{} - file_dashboard_proto_msgTypes[14].OneofWrappers = []interface{}{} - file_dashboard_proto_msgTypes[26].OneofWrappers = []interface{}{} + file_gooseai_dashboard_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_gooseai_dashboard_proto_msgTypes[4].OneofWrappers = []interface{}{} + file_gooseai_dashboard_proto_msgTypes[6].OneofWrappers = []interface{}{} + file_gooseai_dashboard_proto_msgTypes[8].OneofWrappers = []interface{}{} + file_gooseai_dashboard_proto_msgTypes[14].OneofWrappers = []interface{}{} + file_gooseai_dashboard_proto_msgTypes[26].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_dashboard_proto_rawDesc, + RawDescriptor: file_gooseai_dashboard_proto_rawDesc, NumEnums: 1, NumMessages: 28, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_dashboard_proto_goTypes, - DependencyIndexes: file_dashboard_proto_depIdxs, - EnumInfos: file_dashboard_proto_enumTypes, - MessageInfos: file_dashboard_proto_msgTypes, + GoTypes: file_gooseai_dashboard_proto_goTypes, + DependencyIndexes: file_gooseai_dashboard_proto_depIdxs, + EnumInfos: file_gooseai_dashboard_proto_enumTypes, + MessageInfos: file_gooseai_dashboard_proto_msgTypes, }.Build() - File_dashboard_proto = out.File - file_dashboard_proto_rawDesc = nil - file_dashboard_proto_goTypes = nil - file_dashboard_proto_depIdxs = nil + File_gooseai_dashboard_proto = out.File + file_gooseai_dashboard_proto_rawDesc = nil + file_gooseai_dashboard_proto_goTypes = nil + file_gooseai_dashboard_proto_depIdxs = nil } diff --git a/gooseai/dashboard/dashboard_grpc.pb.go b/gen/proto/go/gooseai/dashboard_grpc.pb.go similarity index 99% rename from gooseai/dashboard/dashboard_grpc.pb.go rename to gen/proto/go/gooseai/dashboard_grpc.pb.go index a857b6b..d310a3b 100644 --- a/gooseai/dashboard/dashboard_grpc.pb.go +++ b/gen/proto/go/gooseai/dashboard_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. -package dashboard +package gooseai import ( context "context" @@ -645,5 +645,5 @@ var DashboardService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "dashboard.proto", + Metadata: "gooseai/dashboard.proto", } diff --git a/gooseai/engines/engines.pb.go b/gen/proto/go/gooseai/engines.pb.go similarity index 55% rename from gooseai/engines/engines.pb.go rename to gen/proto/go/gooseai/engines.pb.go index bf0c2df..0a28efa 100644 --- a/gooseai/engines/engines.pb.go +++ b/gen/proto/go/gooseai/engines.pb.go @@ -1,10 +1,10 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.26.0 -// protoc v3.19.5 -// source: engines.proto +// protoc-gen-go v1.27.1 +// protoc (unknown) +// source: gooseai/engines.proto -package engines +package gooseai import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -63,11 +63,11 @@ func (x EngineType) String() string { } func (EngineType) Descriptor() protoreflect.EnumDescriptor { - return file_engines_proto_enumTypes[0].Descriptor() + return file_gooseai_engines_proto_enumTypes[0].Descriptor() } func (EngineType) Type() protoreflect.EnumType { - return &file_engines_proto_enumTypes[0] + return &file_gooseai_engines_proto_enumTypes[0] } func (x EngineType) Number() protoreflect.EnumNumber { @@ -76,7 +76,7 @@ func (x EngineType) Number() protoreflect.EnumNumber { // Deprecated: Use EngineType.Descriptor instead. func (EngineType) EnumDescriptor() ([]byte, []int) { - return file_engines_proto_rawDescGZIP(), []int{0} + return file_gooseai_engines_proto_rawDescGZIP(), []int{0} } type EngineTokenizer int32 @@ -109,11 +109,11 @@ func (x EngineTokenizer) String() string { } func (EngineTokenizer) Descriptor() protoreflect.EnumDescriptor { - return file_engines_proto_enumTypes[1].Descriptor() + return file_gooseai_engines_proto_enumTypes[1].Descriptor() } func (EngineTokenizer) Type() protoreflect.EnumType { - return &file_engines_proto_enumTypes[1] + return &file_gooseai_engines_proto_enumTypes[1] } func (x EngineTokenizer) Number() protoreflect.EnumNumber { @@ -122,7 +122,7 @@ func (x EngineTokenizer) Number() protoreflect.EnumNumber { // Deprecated: Use EngineTokenizer.Descriptor instead. func (EngineTokenizer) EnumDescriptor() ([]byte, []int) { - return file_engines_proto_rawDescGZIP(), []int{1} + return file_gooseai_engines_proto_rawDescGZIP(), []int{1} } // Engine info struct @@ -143,7 +143,7 @@ type EngineInfo struct { func (x *EngineInfo) Reset() { *x = EngineInfo{} if protoimpl.UnsafeEnabled { - mi := &file_engines_proto_msgTypes[0] + mi := &file_gooseai_engines_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -156,7 +156,7 @@ func (x *EngineInfo) String() string { func (*EngineInfo) ProtoMessage() {} func (x *EngineInfo) ProtoReflect() protoreflect.Message { - mi := &file_engines_proto_msgTypes[0] + mi := &file_gooseai_engines_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -169,7 +169,7 @@ func (x *EngineInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use EngineInfo.ProtoReflect.Descriptor instead. func (*EngineInfo) Descriptor() ([]byte, []int) { - return file_engines_proto_rawDescGZIP(), []int{0} + return file_gooseai_engines_proto_rawDescGZIP(), []int{0} } func (x *EngineInfo) GetId() string { @@ -230,7 +230,7 @@ type ListEnginesRequest struct { func (x *ListEnginesRequest) Reset() { *x = ListEnginesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_engines_proto_msgTypes[1] + mi := &file_gooseai_engines_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -243,7 +243,7 @@ func (x *ListEnginesRequest) String() string { func (*ListEnginesRequest) ProtoMessage() {} func (x *ListEnginesRequest) ProtoReflect() protoreflect.Message { - mi := &file_engines_proto_msgTypes[1] + mi := &file_gooseai_engines_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -256,7 +256,7 @@ func (x *ListEnginesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEnginesRequest.ProtoReflect.Descriptor instead. func (*ListEnginesRequest) Descriptor() ([]byte, []int) { - return file_engines_proto_rawDescGZIP(), []int{1} + return file_gooseai_engines_proto_rawDescGZIP(), []int{1} } // Engine info list @@ -271,7 +271,7 @@ type Engines struct { func (x *Engines) Reset() { *x = Engines{} if protoimpl.UnsafeEnabled { - mi := &file_engines_proto_msgTypes[2] + mi := &file_gooseai_engines_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -284,7 +284,7 @@ func (x *Engines) String() string { func (*Engines) ProtoMessage() {} func (x *Engines) ProtoReflect() protoreflect.Message { - mi := &file_engines_proto_msgTypes[2] + mi := &file_gooseai_engines_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -297,7 +297,7 @@ func (x *Engines) ProtoReflect() protoreflect.Message { // Deprecated: Use Engines.ProtoReflect.Descriptor instead. func (*Engines) Descriptor() ([]byte, []int) { - return file_engines_proto_rawDescGZIP(), []int{2} + return file_gooseai_engines_proto_rawDescGZIP(), []int{2} } func (x *Engines) GetEngine() []*EngineInfo { @@ -307,69 +307,78 @@ func (x *Engines) GetEngine() []*EngineInfo { return nil } -var File_engines_proto protoreflect.FileDescriptor - -var file_engines_proto_rawDesc = []byte{ - 0x0a, 0x0d, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x07, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x22, 0xdf, 0x01, 0x0a, 0x0a, 0x45, 0x6e, 0x67, - 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x14, 0x0a, - 0x05, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x72, 0x65, - 0x61, 0x64, 0x79, 0x12, 0x27, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x13, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x45, 0x6e, 0x67, 0x69, - 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x36, 0x0a, 0x09, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x69, 0x7a, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, - 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x69, 0x7a, 0x65, 0x72, 0x52, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x69, 0x7a, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, - 0x73, 0x74, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0x36, 0x0a, 0x07, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x12, 0x2b, 0x0a, 0x06, 0x65, - 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x6f, - 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2a, 0x5a, 0x0a, 0x0a, 0x45, 0x6e, 0x67, 0x69, - 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x45, 0x58, 0x54, 0x10, 0x00, - 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x49, 0x43, 0x54, 0x55, 0x52, 0x45, 0x10, 0x01, 0x12, 0x09, 0x0a, - 0x05, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x56, 0x49, 0x44, 0x45, - 0x4f, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x49, 0x46, 0x49, 0x43, - 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x4f, 0x52, 0x41, - 0x47, 0x45, 0x10, 0x05, 0x2a, 0x25, 0x0a, 0x0f, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x69, 0x7a, 0x65, 0x72, 0x12, 0x08, 0x0a, 0x04, 0x47, 0x50, 0x54, 0x32, 0x10, - 0x00, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x49, 0x4c, 0x45, 0x10, 0x01, 0x32, 0x50, 0x0a, 0x0e, 0x45, - 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3e, 0x0a, - 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x12, 0x1b, 0x2e, 0x67, - 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x67, 0x69, 0x6e, - 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x67, 0x6f, 0x6f, 0x73, - 0x65, 0x61, 0x69, 0x2e, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x22, 0x00, 0x42, 0x0c, 0x5a, - 0x0a, 0x2e, 0x2f, 0x3b, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, +var File_gooseai_engines_proto protoreflect.FileDescriptor + +var file_gooseai_engines_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, + 0x22, 0xdf, 0x01, 0x0a, 0x0a, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x72, 0x65, 0x61, 0x64, 0x79, 0x12, 0x27, 0x0a, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x67, 0x6f, 0x6f, 0x73, + 0x65, 0x61, 0x69, 0x2e, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x12, 0x36, 0x0a, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x69, 0x7a, 0x65, + 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, + 0x69, 0x2e, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x69, 0x7a, 0x65, + 0x72, 0x52, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x69, 0x7a, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x36, 0x0a, 0x07, 0x45, 0x6e, 0x67, 0x69, + 0x6e, 0x65, 0x73, 0x12, 0x2b, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x45, 0x6e, + 0x67, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, + 0x2a, 0x5a, 0x0a, 0x0a, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, + 0x0a, 0x04, 0x54, 0x45, 0x58, 0x54, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x49, 0x43, 0x54, + 0x55, 0x52, 0x45, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x10, 0x02, + 0x12, 0x09, 0x0a, 0x05, 0x56, 0x49, 0x44, 0x45, 0x4f, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x43, + 0x4c, 0x41, 0x53, 0x53, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x04, 0x12, + 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, 0x45, 0x10, 0x05, 0x2a, 0x25, 0x0a, 0x0f, + 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x69, 0x7a, 0x65, 0x72, 0x12, + 0x08, 0x0a, 0x04, 0x47, 0x50, 0x54, 0x32, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x49, 0x4c, + 0x45, 0x10, 0x01, 0x32, 0x50, 0x0a, 0x0e, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x67, + 0x69, 0x6e, 0x65, 0x73, 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x10, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x45, 0x6e, 0x67, 0x69, + 0x6e, 0x65, 0x73, 0x22, 0x00, 0x42, 0x94, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, + 0x6f, 0x73, 0x65, 0x61, 0x69, 0x42, 0x0c, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2d, 0x61, 0x69, 0x2f, 0x61, + 0x70, 0x69, 0x2d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x67, 0x65, + 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x73, 0x65, + 0x61, 0x69, 0xa2, 0x02, 0x03, 0x47, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x47, 0x6f, 0x6f, 0x73, 0x65, + 0x61, 0x69, 0xca, 0x02, 0x07, 0x47, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0xe2, 0x02, 0x13, 0x47, + 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0xea, 0x02, 0x07, 0x47, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( - file_engines_proto_rawDescOnce sync.Once - file_engines_proto_rawDescData = file_engines_proto_rawDesc + file_gooseai_engines_proto_rawDescOnce sync.Once + file_gooseai_engines_proto_rawDescData = file_gooseai_engines_proto_rawDesc ) -func file_engines_proto_rawDescGZIP() []byte { - file_engines_proto_rawDescOnce.Do(func() { - file_engines_proto_rawDescData = protoimpl.X.CompressGZIP(file_engines_proto_rawDescData) +func file_gooseai_engines_proto_rawDescGZIP() []byte { + file_gooseai_engines_proto_rawDescOnce.Do(func() { + file_gooseai_engines_proto_rawDescData = protoimpl.X.CompressGZIP(file_gooseai_engines_proto_rawDescData) }) - return file_engines_proto_rawDescData + return file_gooseai_engines_proto_rawDescData } -var file_engines_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_engines_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_engines_proto_goTypes = []interface{}{ +var file_gooseai_engines_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_gooseai_engines_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_gooseai_engines_proto_goTypes = []interface{}{ (EngineType)(0), // 0: gooseai.EngineType (EngineTokenizer)(0), // 1: gooseai.EngineTokenizer (*EngineInfo)(nil), // 2: gooseai.EngineInfo (*ListEnginesRequest)(nil), // 3: gooseai.ListEnginesRequest (*Engines)(nil), // 4: gooseai.Engines } -var file_engines_proto_depIdxs = []int32{ +var file_gooseai_engines_proto_depIdxs = []int32{ 0, // 0: gooseai.EngineInfo.type:type_name -> gooseai.EngineType 1, // 1: gooseai.EngineInfo.tokenizer:type_name -> gooseai.EngineTokenizer 2, // 2: gooseai.Engines.engine:type_name -> gooseai.EngineInfo @@ -382,13 +391,13 @@ var file_engines_proto_depIdxs = []int32{ 0, // [0:3] is the sub-list for field type_name } -func init() { file_engines_proto_init() } -func file_engines_proto_init() { - if File_engines_proto != nil { +func init() { file_gooseai_engines_proto_init() } +func file_gooseai_engines_proto_init() { + if File_gooseai_engines_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_engines_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_engines_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EngineInfo); i { case 0: return &v.state @@ -400,7 +409,7 @@ func file_engines_proto_init() { return nil } } - file_engines_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_engines_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListEnginesRequest); i { case 0: return &v.state @@ -412,7 +421,7 @@ func file_engines_proto_init() { return nil } } - file_engines_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_engines_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Engines); i { case 0: return &v.state @@ -429,19 +438,19 @@ func file_engines_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_engines_proto_rawDesc, + RawDescriptor: file_gooseai_engines_proto_rawDesc, NumEnums: 2, NumMessages: 3, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_engines_proto_goTypes, - DependencyIndexes: file_engines_proto_depIdxs, - EnumInfos: file_engines_proto_enumTypes, - MessageInfos: file_engines_proto_msgTypes, + GoTypes: file_gooseai_engines_proto_goTypes, + DependencyIndexes: file_gooseai_engines_proto_depIdxs, + EnumInfos: file_gooseai_engines_proto_enumTypes, + MessageInfos: file_gooseai_engines_proto_msgTypes, }.Build() - File_engines_proto = out.File - file_engines_proto_rawDesc = nil - file_engines_proto_goTypes = nil - file_engines_proto_depIdxs = nil + File_gooseai_engines_proto = out.File + file_gooseai_engines_proto_rawDesc = nil + file_gooseai_engines_proto_goTypes = nil + file_gooseai_engines_proto_depIdxs = nil } diff --git a/gooseai/engines/engines_grpc.pb.go b/gen/proto/go/gooseai/engines_grpc.pb.go similarity index 98% rename from gooseai/engines/engines_grpc.pb.go rename to gen/proto/go/gooseai/engines_grpc.pb.go index 6fe50c0..d29515b 100644 --- a/gooseai/engines/engines_grpc.pb.go +++ b/gen/proto/go/gooseai/engines_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. -package engines +package gooseai import ( context "context" @@ -97,5 +97,5 @@ var EnginesService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "engines.proto", + Metadata: "gooseai/engines.proto", } diff --git a/gooseai/generation/generation.pb.go b/gen/proto/go/gooseai/generation.pb.go similarity index 60% rename from gooseai/generation/generation.pb.go rename to gen/proto/go/gooseai/generation.pb.go index 2b20536..c641de5 100644 --- a/gooseai/generation/generation.pb.go +++ b/gen/proto/go/gooseai/generation.pb.go @@ -1,13 +1,13 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.26.0 -// protoc v3.19.5 -// source: generation.proto +// protoc-gen-go v1.27.1 +// protoc (unknown) +// source: gooseai/generation.proto -package generation +package gooseai import ( - tensors "github.com/coreweave/tensorizer/tensors" + proto "github.com/stability-ai/api-interfaces/gen/proto/go/tensorizer/proto" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -60,11 +60,11 @@ func (x FinishReason) String() string { } func (FinishReason) Descriptor() protoreflect.EnumDescriptor { - return file_generation_proto_enumTypes[0].Descriptor() + return file_gooseai_generation_proto_enumTypes[0].Descriptor() } func (FinishReason) Type() protoreflect.EnumType { - return &file_generation_proto_enumTypes[0] + return &file_gooseai_generation_proto_enumTypes[0] } func (x FinishReason) Number() protoreflect.EnumNumber { @@ -73,7 +73,7 @@ func (x FinishReason) Number() protoreflect.EnumNumber { // Deprecated: Use FinishReason.Descriptor instead. func (FinishReason) EnumDescriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{0} + return file_gooseai_generation_proto_rawDescGZIP(), []int{0} } type ArtifactType int32 @@ -130,11 +130,11 @@ func (x ArtifactType) String() string { } func (ArtifactType) Descriptor() protoreflect.EnumDescriptor { - return file_generation_proto_enumTypes[1].Descriptor() + return file_gooseai_generation_proto_enumTypes[1].Descriptor() } func (ArtifactType) Type() protoreflect.EnumType { - return &file_generation_proto_enumTypes[1] + return &file_gooseai_generation_proto_enumTypes[1] } func (x ArtifactType) Number() protoreflect.EnumNumber { @@ -143,7 +143,7 @@ func (x ArtifactType) Number() protoreflect.EnumNumber { // Deprecated: Use ArtifactType.Descriptor instead. func (ArtifactType) EnumDescriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{1} + return file_gooseai_generation_proto_rawDescGZIP(), []int{1} } type MaskedAreaInit int32 @@ -179,11 +179,11 @@ func (x MaskedAreaInit) String() string { } func (MaskedAreaInit) Descriptor() protoreflect.EnumDescriptor { - return file_generation_proto_enumTypes[2].Descriptor() + return file_gooseai_generation_proto_enumTypes[2].Descriptor() } func (MaskedAreaInit) Type() protoreflect.EnumType { - return &file_generation_proto_enumTypes[2] + return &file_gooseai_generation_proto_enumTypes[2] } func (x MaskedAreaInit) Number() protoreflect.EnumNumber { @@ -192,7 +192,7 @@ func (x MaskedAreaInit) Number() protoreflect.EnumNumber { // Deprecated: Use MaskedAreaInit.Descriptor instead. func (MaskedAreaInit) EnumDescriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{2} + return file_gooseai_generation_proto_rawDescGZIP(), []int{2} } type WeightMethod int32 @@ -225,11 +225,11 @@ func (x WeightMethod) String() string { } func (WeightMethod) Descriptor() protoreflect.EnumDescriptor { - return file_generation_proto_enumTypes[3].Descriptor() + return file_gooseai_generation_proto_enumTypes[3].Descriptor() } func (WeightMethod) Type() protoreflect.EnumType { - return &file_generation_proto_enumTypes[3] + return &file_gooseai_generation_proto_enumTypes[3] } func (x WeightMethod) Number() protoreflect.EnumNumber { @@ -238,7 +238,7 @@ func (x WeightMethod) Number() protoreflect.EnumNumber { // Deprecated: Use WeightMethod.Descriptor instead. func (WeightMethod) EnumDescriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{3} + return file_gooseai_generation_proto_rawDescGZIP(), []int{3} } // DiffusionSampler identifies which sampler to use for Diffusion, and represents @@ -297,11 +297,11 @@ func (x DiffusionSampler) String() string { } func (DiffusionSampler) Descriptor() protoreflect.EnumDescriptor { - return file_generation_proto_enumTypes[4].Descriptor() + return file_gooseai_generation_proto_enumTypes[4].Descriptor() } func (DiffusionSampler) Type() protoreflect.EnumType { - return &file_generation_proto_enumTypes[4] + return &file_gooseai_generation_proto_enumTypes[4] } func (x DiffusionSampler) Number() protoreflect.EnumNumber { @@ -310,7 +310,7 @@ func (x DiffusionSampler) Number() protoreflect.EnumNumber { // Deprecated: Use DiffusionSampler.Descriptor instead. func (DiffusionSampler) EnumDescriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{4} + return file_gooseai_generation_proto_rawDescGZIP(), []int{4} } // Future, unimplemented. @@ -347,11 +347,11 @@ func (x Upscaler) String() string { } func (Upscaler) Descriptor() protoreflect.EnumDescriptor { - return file_generation_proto_enumTypes[5].Descriptor() + return file_gooseai_generation_proto_enumTypes[5].Descriptor() } func (Upscaler) Type() protoreflect.EnumType { - return &file_generation_proto_enumTypes[5] + return &file_gooseai_generation_proto_enumTypes[5] } func (x Upscaler) Number() protoreflect.EnumNumber { @@ -360,7 +360,7 @@ func (x Upscaler) Number() protoreflect.EnumNumber { // Deprecated: Use Upscaler.Descriptor instead. func (Upscaler) EnumDescriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{5} + return file_gooseai_generation_proto_rawDescGZIP(), []int{5} } // Presets for CLIP guidance. @@ -409,11 +409,11 @@ func (x GuidancePreset) String() string { } func (GuidancePreset) Descriptor() protoreflect.EnumDescriptor { - return file_generation_proto_enumTypes[6].Descriptor() + return file_gooseai_generation_proto_enumTypes[6].Descriptor() } func (GuidancePreset) Type() protoreflect.EnumType { - return &file_generation_proto_enumTypes[6] + return &file_gooseai_generation_proto_enumTypes[6] } func (x GuidancePreset) Number() protoreflect.EnumNumber { @@ -422,7 +422,7 @@ func (x GuidancePreset) Number() protoreflect.EnumNumber { // Deprecated: Use GuidancePreset.Descriptor instead. func (GuidancePreset) EnumDescriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{6} + return file_gooseai_generation_proto_rawDescGZIP(), []int{6} } type ModelArchitecture int32 @@ -461,11 +461,11 @@ func (x ModelArchitecture) String() string { } func (ModelArchitecture) Descriptor() protoreflect.EnumDescriptor { - return file_generation_proto_enumTypes[7].Descriptor() + return file_gooseai_generation_proto_enumTypes[7].Descriptor() } func (ModelArchitecture) Type() protoreflect.EnumType { - return &file_generation_proto_enumTypes[7] + return &file_gooseai_generation_proto_enumTypes[7] } func (x ModelArchitecture) Number() protoreflect.EnumNumber { @@ -474,7 +474,7 @@ func (x ModelArchitecture) Number() protoreflect.EnumNumber { // Deprecated: Use ModelArchitecture.Descriptor instead. func (ModelArchitecture) EnumDescriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{7} + return file_gooseai_generation_proto_rawDescGZIP(), []int{7} } type Action int32 @@ -519,11 +519,11 @@ func (x Action) String() string { } func (Action) Descriptor() protoreflect.EnumDescriptor { - return file_generation_proto_enumTypes[8].Descriptor() + return file_gooseai_generation_proto_enumTypes[8].Descriptor() } func (Action) Type() protoreflect.EnumType { - return &file_generation_proto_enumTypes[8] + return &file_gooseai_generation_proto_enumTypes[8] } func (x Action) Number() protoreflect.EnumNumber { @@ -532,7 +532,7 @@ func (x Action) Number() protoreflect.EnumNumber { // Deprecated: Use Action.Descriptor instead. func (Action) EnumDescriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{8} + return file_gooseai_generation_proto_rawDescGZIP(), []int{8} } type ClassifierMode int32 @@ -565,11 +565,11 @@ func (x ClassifierMode) String() string { } func (ClassifierMode) Descriptor() protoreflect.EnumDescriptor { - return file_generation_proto_enumTypes[9].Descriptor() + return file_gooseai_generation_proto_enumTypes[9].Descriptor() } func (ClassifierMode) Type() protoreflect.EnumType { - return &file_generation_proto_enumTypes[9] + return &file_gooseai_generation_proto_enumTypes[9] } func (x ClassifierMode) Number() protoreflect.EnumNumber { @@ -578,7 +578,7 @@ func (x ClassifierMode) Number() protoreflect.EnumNumber { // Deprecated: Use ClassifierMode.Descriptor instead. func (ClassifierMode) EnumDescriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{9} + return file_gooseai_generation_proto_rawDescGZIP(), []int{9} } type AssetAction int32 @@ -614,11 +614,11 @@ func (x AssetAction) String() string { } func (AssetAction) Descriptor() protoreflect.EnumDescriptor { - return file_generation_proto_enumTypes[10].Descriptor() + return file_gooseai_generation_proto_enumTypes[10].Descriptor() } func (AssetAction) Type() protoreflect.EnumType { - return &file_generation_proto_enumTypes[10] + return &file_gooseai_generation_proto_enumTypes[10] } func (x AssetAction) Number() protoreflect.EnumNumber { @@ -627,7 +627,7 @@ func (x AssetAction) Number() protoreflect.EnumNumber { // Deprecated: Use AssetAction.Descriptor instead. func (AssetAction) EnumDescriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{10} + return file_gooseai_generation_proto_rawDescGZIP(), []int{10} } // AssetUse defines how the asset is used within a project. This enum matches @@ -671,11 +671,11 @@ func (x AssetUse) String() string { } func (AssetUse) Descriptor() protoreflect.EnumDescriptor { - return file_generation_proto_enumTypes[11].Descriptor() + return file_gooseai_generation_proto_enumTypes[11].Descriptor() } func (AssetUse) Type() protoreflect.EnumType { - return &file_generation_proto_enumTypes[11] + return &file_gooseai_generation_proto_enumTypes[11] } func (x AssetUse) Number() protoreflect.EnumNumber { @@ -684,7 +684,7 @@ func (x AssetUse) Number() protoreflect.EnumNumber { // Deprecated: Use AssetUse.Descriptor instead. func (AssetUse) EnumDescriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{11} + return file_gooseai_generation_proto_rawDescGZIP(), []int{11} } type StageAction int32 @@ -720,11 +720,11 @@ func (x StageAction) String() string { } func (StageAction) Descriptor() protoreflect.EnumDescriptor { - return file_generation_proto_enumTypes[12].Descriptor() + return file_gooseai_generation_proto_enumTypes[12].Descriptor() } func (StageAction) Type() protoreflect.EnumType { - return &file_generation_proto_enumTypes[12] + return &file_gooseai_generation_proto_enumTypes[12] } func (x StageAction) Number() protoreflect.EnumNumber { @@ -733,7 +733,7 @@ func (x StageAction) Number() protoreflect.EnumNumber { // Deprecated: Use StageAction.Descriptor instead. func (StageAction) EnumDescriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{12} + return file_gooseai_generation_proto_rawDescGZIP(), []int{12} } // Generally, a GPT BPE 16-bit token, paired with an optional string representation. @@ -749,7 +749,7 @@ type Token struct { func (x *Token) Reset() { *x = Token{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[0] + mi := &file_gooseai_generation_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -762,7 +762,7 @@ func (x *Token) String() string { func (*Token) ProtoMessage() {} func (x *Token) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[0] + mi := &file_gooseai_generation_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -775,7 +775,7 @@ func (x *Token) ProtoReflect() protoreflect.Message { // Deprecated: Use Token.ProtoReflect.Descriptor instead. func (*Token) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{0} + return file_gooseai_generation_proto_rawDescGZIP(), []int{0} } func (x *Token) GetText() string { @@ -805,7 +805,7 @@ type Tokens struct { func (x *Tokens) Reset() { *x = Tokens{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[1] + mi := &file_gooseai_generation_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -818,7 +818,7 @@ func (x *Tokens) String() string { func (*Tokens) ProtoMessage() {} func (x *Tokens) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[1] + mi := &file_gooseai_generation_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -831,7 +831,7 @@ func (x *Tokens) ProtoReflect() protoreflect.Message { // Deprecated: Use Tokens.ProtoReflect.Descriptor instead. func (*Tokens) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{1} + return file_gooseai_generation_proto_rawDescGZIP(), []int{1} } func (x *Tokens) GetTokens() []*Token { @@ -876,7 +876,7 @@ type Artifact struct { func (x *Artifact) Reset() { *x = Artifact{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[2] + mi := &file_gooseai_generation_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -889,7 +889,7 @@ func (x *Artifact) String() string { func (*Artifact) ProtoMessage() {} func (x *Artifact) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[2] + mi := &file_gooseai_generation_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -902,7 +902,7 @@ func (x *Artifact) ProtoReflect() protoreflect.Message { // Deprecated: Use Artifact.ProtoReflect.Descriptor instead. func (*Artifact) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{2} + return file_gooseai_generation_proto_rawDescGZIP(), []int{2} } func (x *Artifact) GetId() uint64 { @@ -968,7 +968,7 @@ func (x *Artifact) GetClassifier() *ClassifierParameters { return nil } -func (x *Artifact) GetTensor() *tensors.Tensor { +func (x *Artifact) GetTensor() *proto.Tensor { if x, ok := x.GetData().(*Artifact_Tensor); ok { return x.Tensor } @@ -1031,7 +1031,7 @@ type Artifact_Classifier struct { } type Artifact_Tensor struct { - Tensor *tensors.Tensor `protobuf:"bytes,14,opt,name=tensor,proto3,oneof"` // torch.Tensor: + Tensor *proto.Tensor `protobuf:"bytes,14,opt,name=tensor,proto3,oneof"` // torch.Tensor: } func (*Artifact_Binary) isArtifact_Data() {} @@ -1057,7 +1057,7 @@ type PromptParameters struct { func (x *PromptParameters) Reset() { *x = PromptParameters{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[3] + mi := &file_gooseai_generation_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1070,7 +1070,7 @@ func (x *PromptParameters) String() string { func (*PromptParameters) ProtoMessage() {} func (x *PromptParameters) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[3] + mi := &file_gooseai_generation_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1083,7 +1083,7 @@ func (x *PromptParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use PromptParameters.ProtoReflect.Descriptor instead. func (*PromptParameters) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{3} + return file_gooseai_generation_proto_rawDescGZIP(), []int{3} } func (x *PromptParameters) GetInit() bool { @@ -1122,7 +1122,7 @@ type Prompt struct { func (x *Prompt) Reset() { *x = Prompt{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[4] + mi := &file_gooseai_generation_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1135,7 +1135,7 @@ func (x *Prompt) String() string { func (*Prompt) ProtoMessage() {} func (x *Prompt) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[4] + mi := &file_gooseai_generation_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1148,7 +1148,7 @@ func (x *Prompt) ProtoReflect() protoreflect.Message { // Deprecated: Use Prompt.ProtoReflect.Descriptor instead. func (*Prompt) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{4} + return file_gooseai_generation_proto_rawDescGZIP(), []int{4} } func (x *Prompt) GetParameters() *PromptParameters { @@ -1225,7 +1225,7 @@ type SamplerParameters struct { func (x *SamplerParameters) Reset() { *x = SamplerParameters{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[5] + mi := &file_gooseai_generation_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1238,7 +1238,7 @@ func (x *SamplerParameters) String() string { func (*SamplerParameters) ProtoMessage() {} func (x *SamplerParameters) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[5] + mi := &file_gooseai_generation_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1251,7 +1251,7 @@ func (x *SamplerParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use SamplerParameters.ProtoReflect.Descriptor instead. func (*SamplerParameters) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{5} + return file_gooseai_generation_proto_rawDescGZIP(), []int{5} } func (x *SamplerParameters) GetEta() float32 { @@ -1310,7 +1310,7 @@ type ConditionerParameters struct { func (x *ConditionerParameters) Reset() { *x = ConditionerParameters{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[6] + mi := &file_gooseai_generation_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1323,7 +1323,7 @@ func (x *ConditionerParameters) String() string { func (*ConditionerParameters) ProtoMessage() {} func (x *ConditionerParameters) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[6] + mi := &file_gooseai_generation_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1336,7 +1336,7 @@ func (x *ConditionerParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use ConditionerParameters.ProtoReflect.Descriptor instead. func (*ConditionerParameters) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{6} + return file_gooseai_generation_proto_rawDescGZIP(), []int{6} } func (x *ConditionerParameters) GetVectorAdjustPrior() string { @@ -1367,7 +1367,7 @@ type ScheduleParameters struct { func (x *ScheduleParameters) Reset() { *x = ScheduleParameters{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[7] + mi := &file_gooseai_generation_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1380,7 +1380,7 @@ func (x *ScheduleParameters) String() string { func (*ScheduleParameters) ProtoMessage() {} func (x *ScheduleParameters) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[7] + mi := &file_gooseai_generation_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1393,7 +1393,7 @@ func (x *ScheduleParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use ScheduleParameters.ProtoReflect.Descriptor instead. func (*ScheduleParameters) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{7} + return file_gooseai_generation_proto_rawDescGZIP(), []int{7} } func (x *ScheduleParameters) GetStart() float32 { @@ -1432,7 +1432,7 @@ type StepParameter struct { func (x *StepParameter) Reset() { *x = StepParameter{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[8] + mi := &file_gooseai_generation_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1445,7 +1445,7 @@ func (x *StepParameter) String() string { func (*StepParameter) ProtoMessage() {} func (x *StepParameter) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[8] + mi := &file_gooseai_generation_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1458,7 +1458,7 @@ func (x *StepParameter) ProtoReflect() protoreflect.Message { // Deprecated: Use StepParameter.ProtoReflect.Descriptor instead. func (*StepParameter) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{8} + return file_gooseai_generation_proto_rawDescGZIP(), []int{8} } func (x *StepParameter) GetScaledStep() float32 { @@ -1505,7 +1505,7 @@ type Model struct { func (x *Model) Reset() { *x = Model{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[9] + mi := &file_gooseai_generation_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1518,7 +1518,7 @@ func (x *Model) String() string { func (*Model) ProtoMessage() {} func (x *Model) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[9] + mi := &file_gooseai_generation_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1531,7 +1531,7 @@ func (x *Model) ProtoReflect() protoreflect.Message { // Deprecated: Use Model.ProtoReflect.Descriptor instead. func (*Model) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{9} + return file_gooseai_generation_proto_rawDescGZIP(), []int{9} } func (x *Model) GetArchitecture() ModelArchitecture { @@ -1591,7 +1591,7 @@ type CutoutParameters struct { func (x *CutoutParameters) Reset() { *x = CutoutParameters{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[10] + mi := &file_gooseai_generation_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1604,7 +1604,7 @@ func (x *CutoutParameters) String() string { func (*CutoutParameters) ProtoMessage() {} func (x *CutoutParameters) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[10] + mi := &file_gooseai_generation_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1617,7 +1617,7 @@ func (x *CutoutParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use CutoutParameters.ProtoReflect.Descriptor instead. func (*CutoutParameters) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{10} + return file_gooseai_generation_proto_rawDescGZIP(), []int{10} } func (x *CutoutParameters) GetCutouts() []*CutoutParameters { @@ -1671,7 +1671,7 @@ type GuidanceScheduleParameters struct { func (x *GuidanceScheduleParameters) Reset() { *x = GuidanceScheduleParameters{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[11] + mi := &file_gooseai_generation_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1684,7 +1684,7 @@ func (x *GuidanceScheduleParameters) String() string { func (*GuidanceScheduleParameters) ProtoMessage() {} func (x *GuidanceScheduleParameters) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[11] + mi := &file_gooseai_generation_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1697,7 +1697,7 @@ func (x *GuidanceScheduleParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use GuidanceScheduleParameters.ProtoReflect.Descriptor instead. func (*GuidanceScheduleParameters) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{11} + return file_gooseai_generation_proto_rawDescGZIP(), []int{11} } func (x *GuidanceScheduleParameters) GetDuration() float32 { @@ -1732,7 +1732,7 @@ type GuidanceInstanceParameters struct { func (x *GuidanceInstanceParameters) Reset() { *x = GuidanceInstanceParameters{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[12] + mi := &file_gooseai_generation_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1745,7 +1745,7 @@ func (x *GuidanceInstanceParameters) String() string { func (*GuidanceInstanceParameters) ProtoMessage() {} func (x *GuidanceInstanceParameters) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[12] + mi := &file_gooseai_generation_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1758,7 +1758,7 @@ func (x *GuidanceInstanceParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use GuidanceInstanceParameters.ProtoReflect.Descriptor instead. func (*GuidanceInstanceParameters) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{12} + return file_gooseai_generation_proto_rawDescGZIP(), []int{12} } func (x *GuidanceInstanceParameters) GetModels() []*Model { @@ -1810,7 +1810,7 @@ type GuidanceParameters struct { func (x *GuidanceParameters) Reset() { *x = GuidanceParameters{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[13] + mi := &file_gooseai_generation_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1823,7 +1823,7 @@ func (x *GuidanceParameters) String() string { func (*GuidanceParameters) ProtoMessage() {} func (x *GuidanceParameters) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[13] + mi := &file_gooseai_generation_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1836,7 +1836,7 @@ func (x *GuidanceParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use GuidanceParameters.ProtoReflect.Descriptor instead. func (*GuidanceParameters) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{13} + return file_gooseai_generation_proto_rawDescGZIP(), []int{13} } func (x *GuidanceParameters) GetGuidancePreset() GuidancePreset { @@ -1867,7 +1867,7 @@ type TransformType struct { func (x *TransformType) Reset() { *x = TransformType{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[14] + mi := &file_gooseai_generation_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1880,7 +1880,7 @@ func (x *TransformType) String() string { func (*TransformType) ProtoMessage() {} func (x *TransformType) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[14] + mi := &file_gooseai_generation_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1893,7 +1893,7 @@ func (x *TransformType) ProtoReflect() protoreflect.Message { // Deprecated: Use TransformType.ProtoReflect.Descriptor instead. func (*TransformType) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{14} + return file_gooseai_generation_proto_rawDescGZIP(), []int{14} } func (m *TransformType) GetType() isTransformType_Type { @@ -1952,7 +1952,7 @@ type ImageParameters struct { func (x *ImageParameters) Reset() { *x = ImageParameters{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[15] + mi := &file_gooseai_generation_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1965,7 +1965,7 @@ func (x *ImageParameters) String() string { func (*ImageParameters) ProtoMessage() {} func (x *ImageParameters) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[15] + mi := &file_gooseai_generation_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1978,7 +1978,7 @@ func (x *ImageParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use ImageParameters.ProtoReflect.Descriptor instead. func (*ImageParameters) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{15} + return file_gooseai_generation_proto_rawDescGZIP(), []int{15} } func (x *ImageParameters) GetHeight() uint64 { @@ -2056,7 +2056,7 @@ type ClassifierConcept struct { func (x *ClassifierConcept) Reset() { *x = ClassifierConcept{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[16] + mi := &file_gooseai_generation_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2069,7 +2069,7 @@ func (x *ClassifierConcept) String() string { func (*ClassifierConcept) ProtoMessage() {} func (x *ClassifierConcept) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[16] + mi := &file_gooseai_generation_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2082,7 +2082,7 @@ func (x *ClassifierConcept) ProtoReflect() protoreflect.Message { // Deprecated: Use ClassifierConcept.ProtoReflect.Descriptor instead. func (*ClassifierConcept) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{16} + return file_gooseai_generation_proto_rawDescGZIP(), []int{16} } func (x *ClassifierConcept) GetConcept() string { @@ -2114,7 +2114,7 @@ type ClassifierCategory struct { func (x *ClassifierCategory) Reset() { *x = ClassifierCategory{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[17] + mi := &file_gooseai_generation_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2127,7 +2127,7 @@ func (x *ClassifierCategory) String() string { func (*ClassifierCategory) ProtoMessage() {} func (x *ClassifierCategory) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[17] + mi := &file_gooseai_generation_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2140,7 +2140,7 @@ func (x *ClassifierCategory) ProtoReflect() protoreflect.Message { // Deprecated: Use ClassifierCategory.ProtoReflect.Descriptor instead. func (*ClassifierCategory) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{17} + return file_gooseai_generation_proto_rawDescGZIP(), []int{17} } func (x *ClassifierCategory) GetName() string { @@ -2191,7 +2191,7 @@ type ClassifierParameters struct { func (x *ClassifierParameters) Reset() { *x = ClassifierParameters{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[18] + mi := &file_gooseai_generation_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2204,7 +2204,7 @@ func (x *ClassifierParameters) String() string { func (*ClassifierParameters) ProtoMessage() {} func (x *ClassifierParameters) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[18] + mi := &file_gooseai_generation_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2217,7 +2217,7 @@ func (x *ClassifierParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use ClassifierParameters.ProtoReflect.Descriptor instead. func (*ClassifierParameters) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{18} + return file_gooseai_generation_proto_rawDescGZIP(), []int{18} } func (x *ClassifierParameters) GetCategories() []*ClassifierCategory { @@ -2254,7 +2254,7 @@ type AssetParameters struct { func (x *AssetParameters) Reset() { *x = AssetParameters{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[19] + mi := &file_gooseai_generation_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2267,7 +2267,7 @@ func (x *AssetParameters) String() string { func (*AssetParameters) ProtoMessage() {} func (x *AssetParameters) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[19] + mi := &file_gooseai_generation_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2280,7 +2280,7 @@ func (x *AssetParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use AssetParameters.ProtoReflect.Descriptor instead. func (*AssetParameters) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{19} + return file_gooseai_generation_proto_rawDescGZIP(), []int{19} } func (x *AssetParameters) GetAction() AssetAction { @@ -2320,7 +2320,7 @@ type AnswerMeta struct { func (x *AnswerMeta) Reset() { *x = AnswerMeta{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[20] + mi := &file_gooseai_generation_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2333,7 +2333,7 @@ func (x *AnswerMeta) String() string { func (*AnswerMeta) ProtoMessage() {} func (x *AnswerMeta) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[20] + mi := &file_gooseai_generation_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2346,7 +2346,7 @@ func (x *AnswerMeta) ProtoReflect() protoreflect.Message { // Deprecated: Use AnswerMeta.ProtoReflect.Descriptor instead. func (*AnswerMeta) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{20} + return file_gooseai_generation_proto_rawDescGZIP(), []int{20} } func (x *AnswerMeta) GetGpuId() string { @@ -2395,7 +2395,7 @@ type Answer struct { func (x *Answer) Reset() { *x = Answer{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[21] + mi := &file_gooseai_generation_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2408,7 +2408,7 @@ func (x *Answer) String() string { func (*Answer) ProtoMessage() {} func (x *Answer) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[21] + mi := &file_gooseai_generation_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2421,7 +2421,7 @@ func (x *Answer) ProtoReflect() protoreflect.Message { // Deprecated: Use Answer.ProtoReflect.Descriptor instead. func (*Answer) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{21} + return file_gooseai_generation_proto_rawDescGZIP(), []int{21} } func (x *Answer) GetAnswerId() string { @@ -2489,7 +2489,7 @@ type Request struct { func (x *Request) Reset() { *x = Request{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[22] + mi := &file_gooseai_generation_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2502,7 +2502,7 @@ func (x *Request) String() string { func (*Request) ProtoMessage() {} func (x *Request) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[22] + mi := &file_gooseai_generation_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2515,7 +2515,7 @@ func (x *Request) ProtoReflect() protoreflect.Message { // Deprecated: Use Request.ProtoReflect.Descriptor instead. func (*Request) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{22} + return file_gooseai_generation_proto_rawDescGZIP(), []int{22} } func (x *Request) GetEngineId() string { @@ -2616,7 +2616,7 @@ type OnStatus struct { func (x *OnStatus) Reset() { *x = OnStatus{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[23] + mi := &file_gooseai_generation_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2629,7 +2629,7 @@ func (x *OnStatus) String() string { func (*OnStatus) ProtoMessage() {} func (x *OnStatus) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[23] + mi := &file_gooseai_generation_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2642,7 +2642,7 @@ func (x *OnStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use OnStatus.ProtoReflect.Descriptor instead. func (*OnStatus) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{23} + return file_gooseai_generation_proto_rawDescGZIP(), []int{23} } func (x *OnStatus) GetReason() []FinishReason { @@ -2679,7 +2679,7 @@ type Stage struct { func (x *Stage) Reset() { *x = Stage{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[24] + mi := &file_gooseai_generation_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2692,7 +2692,7 @@ func (x *Stage) String() string { func (*Stage) ProtoMessage() {} func (x *Stage) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[24] + mi := &file_gooseai_generation_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2705,7 +2705,7 @@ func (x *Stage) ProtoReflect() protoreflect.Message { // Deprecated: Use Stage.ProtoReflect.Descriptor instead. func (*Stage) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{24} + return file_gooseai_generation_proto_rawDescGZIP(), []int{24} } func (x *Stage) GetId() string { @@ -2741,7 +2741,7 @@ type ChainRequest struct { func (x *ChainRequest) Reset() { *x = ChainRequest{} if protoimpl.UnsafeEnabled { - mi := &file_generation_proto_msgTypes[25] + mi := &file_gooseai_generation_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2754,7 +2754,7 @@ func (x *ChainRequest) String() string { func (*ChainRequest) ProtoMessage() {} func (x *ChainRequest) ProtoReflect() protoreflect.Message { - mi := &file_generation_proto_msgTypes[25] + mi := &file_gooseai_generation_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2767,7 +2767,7 @@ func (x *ChainRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ChainRequest.ProtoReflect.Descriptor instead. func (*ChainRequest) Descriptor() ([]byte, []int) { - return file_generation_proto_rawDescGZIP(), []int{25} + return file_gooseai_generation_proto_rawDescGZIP(), []int{25} } func (x *ChainRequest) GetRequestId() string { @@ -2784,489 +2784,499 @@ func (x *ChainRequest) GetStage() []*Stage { return nil } -var File_generation_proto protoreflect.FileDescriptor - -var file_generation_proto_rawDesc = []byte{ - 0x0a, 0x10, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x12, 0x07, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x1a, 0x0d, 0x74, 0x65, 0x6e, - 0x73, 0x6f, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x05, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x12, 0x17, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x48, 0x00, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x88, 0x01, 0x01, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x42, 0x07, 0x0a, 0x05, - 0x5f, 0x74, 0x65, 0x78, 0x74, 0x22, 0x69, 0x0a, 0x06, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, - 0x26, 0x0a, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x0e, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, - 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0c, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x69, 0x7a, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, - 0x0b, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x69, 0x7a, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, - 0x0f, 0x0a, 0x0d, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x69, 0x7a, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x22, 0xdb, 0x03, 0x0a, 0x08, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x29, 0x0a, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, 0x6f, - 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x69, 0x6d, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x05, - 0x6d, 0x61, 0x67, 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, 0x6d, - 0x61, 0x67, 0x69, 0x63, 0x88, 0x01, 0x01, 0x12, 0x18, 0x0a, 0x06, 0x62, 0x69, 0x6e, 0x61, 0x72, - 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x06, 0x62, 0x69, 0x6e, 0x61, 0x72, - 0x79, 0x12, 0x14, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x00, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x29, 0x0a, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, - 0x69, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x06, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x73, 0x12, 0x3f, 0x0a, 0x0a, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, - 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, - 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, - 0x69, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x18, 0x0e, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x2e, 0x54, 0x65, - 0x6e, 0x73, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x12, 0x14, - 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, - 0x6e, 0x64, 0x65, 0x78, 0x12, 0x3a, 0x0a, 0x0d, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x72, - 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, 0x6f, - 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x61, 0x73, - 0x6f, 0x6e, 0x52, 0x0c, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, - 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, - 0x73, 0x65, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, - 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x06, 0x0a, 0x04, - 0x64, 0x61, 0x74, 0x61, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6d, 0x61, 0x67, 0x69, 0x63, 0x22, 0x5c, - 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x12, 0x17, 0x0a, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, - 0x48, 0x00, 0x52, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x77, - 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x48, 0x01, 0x52, 0x06, 0x77, - 0x65, 0x69, 0x67, 0x68, 0x74, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x69, 0x6e, 0x69, - 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0xd3, 0x01, 0x0a, - 0x06, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x12, 0x3e, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, - 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, - 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x01, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, - 0x74, 0x65, 0x72, 0x73, 0x88, 0x01, 0x01, 0x12, 0x14, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x29, 0x0a, - 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, - 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x48, 0x00, - 0x52, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x2f, 0x0a, 0x08, 0x61, 0x72, 0x74, 0x69, - 0x66, 0x61, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, - 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x48, 0x00, 0x52, - 0x08, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x70, 0x72, 0x6f, - 0x6d, 0x70, 0x74, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x22, 0xf5, 0x02, 0x0a, 0x11, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x72, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x15, 0x0a, 0x03, 0x65, 0x74, 0x61, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x03, 0x65, 0x74, 0x61, 0x88, 0x01, 0x01, 0x12, - 0x2a, 0x0a, 0x0e, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, 0x65, 0x70, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x48, 0x01, 0x52, 0x0d, 0x73, 0x61, 0x6d, 0x70, 0x6c, - 0x69, 0x6e, 0x67, 0x53, 0x74, 0x65, 0x70, 0x73, 0x88, 0x01, 0x01, 0x12, 0x2c, 0x0a, 0x0f, 0x6c, - 0x61, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x04, 0x48, 0x02, 0x52, 0x0e, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x88, 0x01, 0x01, 0x12, 0x34, 0x0a, 0x13, 0x64, 0x6f, 0x77, +var File_gooseai_generation_proto protoreflect.FileDescriptor + +var file_gooseai_generation_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x67, 0x6f, 0x6f, 0x73, + 0x65, 0x61, 0x69, 0x1a, 0x1e, 0x74, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x17, 0x0a, 0x04, + 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x74, 0x65, + 0x78, 0x74, 0x88, 0x01, 0x01, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x02, 0x69, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x22, 0x69, + 0x0a, 0x06, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x06, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, + 0x61, 0x69, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, + 0x12, 0x26, 0x0a, 0x0c, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x69, 0x7a, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x69, + 0x7a, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x69, 0x7a, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x22, 0xdb, 0x03, 0x0a, 0x08, 0x41, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x29, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, + 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6d, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x05, 0x6d, 0x61, 0x67, 0x69, 0x63, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, 0x6d, 0x61, 0x67, 0x69, 0x63, 0x88, 0x01, 0x01, + 0x12, 0x18, 0x0a, 0x06, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, + 0x48, 0x00, 0x52, 0x06, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x04, 0x74, 0x65, + 0x78, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, + 0x12, 0x29, 0x0a, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0f, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x73, 0x48, 0x00, 0x52, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x3f, 0x0a, 0x0a, 0x63, + 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x00, + 0x52, 0x0a, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x06, + 0x74, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, + 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x2e, 0x54, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x48, 0x00, 0x52, + 0x06, 0x74, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x3a, 0x0a, + 0x0d, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x46, + 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x0c, 0x66, 0x69, 0x6e, + 0x69, 0x73, 0x68, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x65, + 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x65, 0x65, 0x64, 0x12, 0x12, 0x0a, + 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, + 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x04, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x08, 0x0a, + 0x06, 0x5f, 0x6d, 0x61, 0x67, 0x69, 0x63, 0x22, 0x5c, 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x6d, 0x70, + 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x17, 0x0a, 0x04, 0x69, + 0x6e, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x04, 0x69, 0x6e, 0x69, + 0x74, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x02, 0x48, 0x01, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x88, 0x01, + 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x77, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0xd3, 0x01, 0x0a, 0x06, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, + 0x12, 0x3e, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, + 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, + 0x01, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x88, 0x01, 0x01, + 0x12, 0x14, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, + 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x29, 0x0a, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, + 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x73, 0x12, 0x2f, 0x0a, 0x08, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x48, 0x00, 0x52, 0x08, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x42, 0x0d, 0x0a, 0x0b, + 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x22, 0xf5, 0x02, 0x0a, 0x11, + 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, + 0x73, 0x12, 0x15, 0x0a, 0x03, 0x65, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, + 0x52, 0x03, 0x65, 0x74, 0x61, 0x88, 0x01, 0x01, 0x12, 0x2a, 0x0a, 0x0e, 0x73, 0x61, 0x6d, 0x70, + 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, 0x65, 0x70, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, + 0x48, 0x01, 0x52, 0x0d, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x65, 0x70, + 0x73, 0x88, 0x01, 0x01, 0x12, 0x2c, 0x0a, 0x0f, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, + 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x48, 0x02, 0x52, + 0x0e, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x88, + 0x01, 0x01, 0x12, 0x34, 0x0a, 0x13, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x69, + 0x6e, 0x67, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x48, + 0x03, 0x52, 0x12, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x46, + 0x61, 0x63, 0x74, 0x6f, 0x72, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x63, 0x66, 0x67, 0x5f, + 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x48, 0x04, 0x52, 0x08, 0x63, + 0x66, 0x67, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x2d, 0x0a, 0x10, 0x69, 0x6e, + 0x69, 0x74, 0x5f, 0x6e, 0x6f, 0x69, 0x73, 0x65, 0x5f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x02, 0x48, 0x05, 0x52, 0x0e, 0x69, 0x6e, 0x69, 0x74, 0x4e, 0x6f, 0x69, 0x73, + 0x65, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x65, 0x74, + 0x61, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x73, + 0x74, 0x65, 0x70, 0x73, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x74, 0x5f, + 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x42, 0x16, 0x0a, 0x14, 0x5f, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x48, 0x03, 0x52, 0x12, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x61, - 0x6d, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x88, 0x01, 0x01, 0x12, - 0x20, 0x0a, 0x09, 0x63, 0x66, 0x67, 0x5f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x02, 0x48, 0x04, 0x52, 0x08, 0x63, 0x66, 0x67, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x88, 0x01, - 0x01, 0x12, 0x2d, 0x0a, 0x10, 0x69, 0x6e, 0x69, 0x74, 0x5f, 0x6e, 0x6f, 0x69, 0x73, 0x65, 0x5f, - 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x48, 0x05, 0x52, 0x0e, 0x69, - 0x6e, 0x69, 0x74, 0x4e, 0x6f, 0x69, 0x73, 0x65, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x88, 0x01, 0x01, - 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x65, 0x74, 0x61, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x73, 0x61, 0x6d, - 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, 0x65, 0x70, 0x73, 0x42, 0x12, 0x0a, 0x10, 0x5f, - 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x42, - 0x16, 0x0a, 0x14, 0x5f, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x6e, 0x67, - 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x63, 0x66, 0x67, 0x5f, - 0x73, 0x63, 0x61, 0x6c, 0x65, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x5f, 0x6e, - 0x6f, 0x69, 0x73, 0x65, 0x5f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x22, 0xab, 0x01, 0x0a, 0x15, 0x43, - 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, - 0x74, 0x65, 0x72, 0x73, 0x12, 0x33, 0x0a, 0x13, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x61, - 0x64, 0x6a, 0x75, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x48, 0x00, 0x52, 0x11, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, - 0x74, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x88, 0x01, 0x01, 0x12, 0x35, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, - 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, - 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x48, 0x01, - 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x88, 0x01, 0x01, - 0x42, 0x16, 0x0a, 0x14, 0x5f, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x6a, 0x75, - 0x73, 0x74, 0x5f, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x63, 0x6f, 0x6e, - 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x22, 0x7d, 0x0a, 0x12, 0x53, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x19, - 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, - 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x88, 0x01, 0x01, 0x12, 0x15, 0x0a, 0x03, 0x65, 0x6e, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x48, 0x01, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x88, 0x01, 0x01, - 0x12, 0x19, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x48, - 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, - 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x65, 0x6e, 0x64, 0x42, 0x08, 0x0a, - 0x06, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x8d, 0x02, 0x0a, 0x0d, 0x53, 0x74, 0x65, 0x70, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x61, - 0x6c, 0x65, 0x64, 0x5f, 0x73, 0x74, 0x65, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, - 0x73, 0x63, 0x61, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x65, 0x70, 0x12, 0x39, 0x0a, 0x07, 0x73, 0x61, - 0x6d, 0x70, 0x6c, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, - 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x72, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x07, 0x73, 0x61, 0x6d, 0x70, 0x6c, - 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x3c, 0x0a, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, - 0x69, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, - 0x74, 0x65, 0x72, 0x73, 0x48, 0x01, 0x52, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, - 0x88, 0x01, 0x01, 0x12, 0x3c, 0x0a, 0x08, 0x67, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, - 0x47, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x48, 0x02, 0x52, 0x08, 0x67, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x88, 0x01, - 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x72, 0x42, 0x0b, 0x0a, - 0x09, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x67, - 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x22, 0xda, 0x01, 0x0a, 0x05, 0x4d, 0x6f, 0x64, 0x65, - 0x6c, 0x12, 0x3e, 0x0a, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, - 0x69, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, - 0x75, 0x72, 0x65, 0x52, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, - 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x12, - 0x18, 0x0a, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, - 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, - 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, - 0x6c, 0x69, 0x61, 0x73, 0x22, 0xe3, 0x01, 0x0a, 0x10, 0x43, 0x75, 0x74, 0x6f, 0x75, 0x74, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x33, 0x0a, 0x07, 0x63, 0x75, 0x74, - 0x6f, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, - 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x75, 0x74, 0x6f, 0x75, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x07, 0x63, 0x75, 0x74, 0x6f, 0x75, 0x74, 0x73, 0x12, 0x19, - 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, - 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x67, 0x72, 0x61, - 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x48, 0x01, 0x52, 0x04, 0x67, 0x72, 0x61, 0x79, 0x88, - 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x62, 0x6c, 0x75, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, - 0x48, 0x02, 0x52, 0x04, 0x62, 0x6c, 0x75, 0x72, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x73, - 0x69, 0x7a, 0x65, 0x5f, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x48, - 0x03, 0x52, 0x09, 0x73, 0x69, 0x7a, 0x65, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x88, 0x01, 0x01, 0x42, - 0x08, 0x0a, 0x06, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x67, 0x72, - 0x61, 0x79, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x62, 0x6c, 0x75, 0x72, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, - 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x22, 0x4e, 0x0a, 0x1a, 0x47, 0x75, - 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xcc, 0x02, 0x0a, 0x1a, 0x47, - 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x26, 0x0a, 0x06, 0x6d, 0x6f, 0x64, - 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67, 0x6f, 0x6f, 0x73, - 0x65, 0x61, 0x69, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, - 0x73, 0x12, 0x30, 0x0a, 0x11, 0x67, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x73, 0x74, - 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x10, - 0x67, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, - 0x88, 0x01, 0x01, 0x12, 0x3f, 0x0a, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, - 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, - 0x47, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x08, 0x73, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x63, 0x75, 0x74, 0x6f, 0x75, 0x74, 0x73, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, - 0x43, 0x75, 0x74, 0x6f, 0x75, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x48, 0x01, 0x52, 0x07, 0x63, 0x75, 0x74, 0x6f, 0x75, 0x74, 0x73, 0x88, 0x01, 0x01, 0x12, 0x2c, - 0x0a, 0x06, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, - 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x48, - 0x02, 0x52, 0x06, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x88, 0x01, 0x01, 0x42, 0x14, 0x0a, 0x12, - 0x5f, 0x67, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x6e, 0x67, - 0x74, 0x68, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x63, 0x75, 0x74, 0x6f, 0x75, 0x74, 0x73, 0x42, 0x09, - 0x0a, 0x07, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x22, 0x99, 0x01, 0x0a, 0x12, 0x47, 0x75, - 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x12, 0x40, 0x0a, 0x0f, 0x67, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x70, 0x72, 0x65, - 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x73, - 0x65, 0x61, 0x69, 0x2e, 0x47, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x65, 0x73, - 0x65, 0x74, 0x52, 0x0e, 0x67, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x65, 0x73, - 0x65, 0x74, 0x12, 0x41, 0x0a, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, - 0x47, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x09, 0x69, 0x6e, 0x73, 0x74, - 0x61, 0x6e, 0x63, 0x65, 0x73, 0x22, 0x83, 0x01, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, - 0x6f, 0x72, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x39, 0x0a, 0x09, 0x64, 0x69, 0x66, 0x66, 0x75, - 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, - 0x73, 0x65, 0x61, 0x69, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x61, - 0x6d, 0x70, 0x6c, 0x65, 0x72, 0x48, 0x00, 0x52, 0x09, 0x64, 0x69, 0x66, 0x66, 0x75, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x08, 0x75, 0x70, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x55, - 0x70, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x48, 0x00, 0x52, 0x08, 0x75, 0x70, 0x73, 0x63, 0x61, - 0x6c, 0x65, 0x72, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xf3, 0x03, 0x0a, 0x0f, - 0x49, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, - 0x1b, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x48, - 0x00, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, - 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x48, 0x01, 0x52, 0x05, 0x77, - 0x69, 0x64, 0x74, 0x68, 0x88, 0x01, 0x01, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x65, 0x64, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x65, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x07, 0x73, - 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x48, 0x02, 0x52, 0x07, - 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x73, 0x74, - 0x65, 0x70, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x48, 0x03, 0x52, 0x05, 0x73, 0x74, 0x65, - 0x70, 0x73, 0x88, 0x01, 0x01, 0x12, 0x39, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, - 0x72, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, - 0x61, 0x69, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x54, 0x79, 0x70, 0x65, - 0x48, 0x04, 0x52, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x88, 0x01, 0x01, - 0x12, 0x36, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x07, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x53, - 0x74, 0x65, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x0a, 0x70, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x46, 0x0a, 0x10, 0x6d, 0x61, 0x73, 0x6b, - 0x65, 0x64, 0x5f, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4d, 0x61, 0x73, - 0x6b, 0x65, 0x64, 0x41, 0x72, 0x65, 0x61, 0x49, 0x6e, 0x69, 0x74, 0x48, 0x05, 0x52, 0x0e, 0x6d, - 0x61, 0x73, 0x6b, 0x65, 0x64, 0x41, 0x72, 0x65, 0x61, 0x49, 0x6e, 0x69, 0x74, 0x88, 0x01, 0x01, - 0x12, 0x3f, 0x0a, 0x0d, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, - 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, - 0x69, 0x2e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x48, 0x06, - 0x52, 0x0c, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x88, 0x01, - 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x42, 0x08, 0x0a, 0x06, - 0x5f, 0x77, 0x69, 0x64, 0x74, 0x68, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x73, 0x61, 0x6d, 0x70, 0x6c, - 0x65, 0x73, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x73, 0x74, 0x65, 0x70, 0x73, 0x42, 0x0c, 0x0a, 0x0a, - 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x6d, - 0x61, 0x73, 0x6b, 0x65, 0x64, 0x5f, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x42, - 0x10, 0x0a, 0x0e, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, - 0x64, 0x22, 0x5e, 0x0a, 0x11, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x43, - 0x6f, 0x6e, 0x63, 0x65, 0x70, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x63, 0x65, 0x70, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x63, 0x65, 0x70, 0x74, - 0x12, 0x21, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, - 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, - 0x64, 0x22, 0xa8, 0x02, 0x0a, 0x12, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, - 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x08, - 0x63, 0x6f, 0x6e, 0x63, 0x65, 0x70, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, - 0x69, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x63, 0x65, 0x70, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x63, - 0x65, 0x70, 0x74, 0x73, 0x12, 0x23, 0x0a, 0x0a, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, - 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x64, 0x6a, 0x75, - 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x88, 0x01, 0x01, 0x12, 0x2c, 0x0a, 0x06, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x67, 0x6f, 0x6f, 0x73, - 0x65, 0x61, 0x69, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x01, 0x52, 0x06, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x45, 0x0a, 0x0f, 0x63, 0x6c, 0x61, 0x73, 0x73, - 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, - 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x48, 0x02, 0x52, 0x0e, 0x63, 0x6c, 0x61, - 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0d, - 0x0a, 0x0b, 0x5f, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x09, 0x0a, - 0x07, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x63, 0x6c, 0x61, - 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x22, 0xdd, 0x01, 0x0a, - 0x14, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x3b, 0x0a, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, - 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x73, - 0x65, 0x61, 0x69, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x43, 0x61, - 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, - 0x65, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x65, 0x78, 0x63, 0x65, 0x65, 0x64, 0x73, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x6c, - 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, - 0x52, 0x07, 0x65, 0x78, 0x63, 0x65, 0x65, 0x64, 0x73, 0x12, 0x3d, 0x0a, 0x0f, 0x72, 0x65, 0x61, - 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x63, 0x66, 0x67, 0x5f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x42, 0x13, + 0x0a, 0x11, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x5f, 0x6e, 0x6f, 0x69, 0x73, 0x65, 0x5f, 0x73, 0x63, + 0x61, 0x6c, 0x65, 0x22, 0xab, 0x01, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x33, 0x0a, + 0x13, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x5f, 0x70, + 0x72, 0x69, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x11, 0x76, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x88, + 0x01, 0x01, 0x12, 0x35, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x65, + 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, + 0x69, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x48, 0x01, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x88, 0x01, 0x01, 0x42, 0x16, 0x0a, 0x14, 0x5f, 0x76, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x69, 0x6f, + 0x72, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x65, + 0x72, 0x22, 0x7d, 0x0a, 0x12, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x88, + 0x01, 0x01, 0x12, 0x15, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x48, + 0x01, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x48, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x06, + 0x0a, 0x04, 0x5f, 0x65, 0x6e, 0x64, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x22, 0x8d, 0x02, 0x0a, 0x0d, 0x53, 0x74, 0x65, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x64, 0x5f, 0x73, 0x74, 0x65, + 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x64, 0x53, + 0x74, 0x65, 0x70, 0x12, 0x39, 0x0a, 0x07, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x72, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x53, + 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, + 0x48, 0x00, 0x52, 0x07, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x3c, + 0x0a, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x01, 0x52, + 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x3c, 0x0a, 0x08, + 0x67, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x47, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, + 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x02, 0x52, 0x08, 0x67, + 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x73, + 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x72, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, + 0x22, 0xda, 0x01, 0x0a, 0x05, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x3e, 0x0a, 0x0c, 0x61, 0x72, + 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, + 0x41, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0c, 0x61, 0x72, + 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x75, + 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, + 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x61, 0x74, 0x61, + 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, + 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x02, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, + 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x22, 0xe3, 0x01, + 0x0a, 0x10, 0x43, 0x75, 0x74, 0x6f, 0x75, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, + 0x72, 0x73, 0x12, 0x33, 0x0a, 0x07, 0x63, 0x75, 0x74, 0x6f, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x75, + 0x74, 0x6f, 0x75, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x07, + 0x63, 0x75, 0x74, 0x6f, 0x75, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x88, + 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x67, 0x72, 0x61, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, + 0x48, 0x01, 0x52, 0x04, 0x67, 0x72, 0x61, 0x79, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x62, + 0x6c, 0x75, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x48, 0x02, 0x52, 0x04, 0x62, 0x6c, 0x75, + 0x72, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x70, 0x6f, 0x77, + 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x48, 0x03, 0x52, 0x09, 0x73, 0x69, 0x7a, 0x65, + 0x50, 0x6f, 0x77, 0x65, 0x72, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x67, 0x72, 0x61, 0x79, 0x42, 0x07, 0x0a, 0x05, 0x5f, + 0x62, 0x6c, 0x75, 0x72, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x70, 0x6f, + 0x77, 0x65, 0x72, 0x22, 0x4e, 0x0a, 0x1a, 0x47, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x53, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, + 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x02, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x22, 0xcc, 0x02, 0x0a, 0x1a, 0x47, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, + 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, + 0x72, 0x73, 0x12, 0x26, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4d, 0x6f, 0x64, + 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x30, 0x0a, 0x11, 0x67, 0x75, + 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x10, 0x67, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, + 0x65, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x88, 0x01, 0x01, 0x12, 0x3f, 0x0a, 0x08, + 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, + 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x47, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, + 0x65, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x65, 0x72, 0x73, 0x52, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x38, 0x0a, + 0x07, 0x63, 0x75, 0x74, 0x6f, 0x75, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x75, 0x74, 0x6f, 0x75, 0x74, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x01, 0x52, 0x07, 0x63, 0x75, 0x74, + 0x6f, 0x75, 0x74, 0x73, 0x88, 0x01, 0x01, 0x12, 0x2c, 0x0a, 0x06, 0x70, 0x72, 0x6f, 0x6d, 0x70, + 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, + 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x48, 0x02, 0x52, 0x06, 0x70, 0x72, 0x6f, 0x6d, + 0x70, 0x74, 0x88, 0x01, 0x01, 0x42, 0x14, 0x0a, 0x12, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x61, 0x6e, + 0x63, 0x65, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x42, 0x0a, 0x0a, 0x08, 0x5f, + 0x63, 0x75, 0x74, 0x6f, 0x75, 0x74, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x70, 0x72, 0x6f, 0x6d, + 0x70, 0x74, 0x22, 0x99, 0x01, 0x0a, 0x12, 0x47, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x40, 0x0a, 0x0f, 0x67, 0x75, 0x69, + 0x64, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x47, 0x75, 0x69, + 0x64, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x52, 0x0e, 0x67, 0x75, 0x69, + 0x64, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x12, 0x41, 0x0a, 0x09, 0x69, + 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, + 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x47, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, + 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x65, 0x72, 0x73, 0x52, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x22, 0x83, + 0x01, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x39, 0x0a, 0x09, 0x64, 0x69, 0x66, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x44, 0x69, + 0x66, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x72, 0x48, 0x00, + 0x52, 0x09, 0x64, 0x69, 0x66, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x08, 0x75, + 0x70, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, + 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x55, 0x70, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, + 0x48, 0x00, 0x52, 0x08, 0x75, 0x70, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x42, 0x06, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x22, 0xf3, 0x03, 0x0a, 0x0f, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1b, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x04, 0x48, 0x01, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x88, 0x01, 0x01, + 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x04, + 0x73, 0x65, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x07, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x04, 0x48, 0x02, 0x52, 0x07, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, + 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x04, 0x48, 0x03, 0x52, 0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x88, 0x01, 0x01, 0x12, 0x39, + 0x0a, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x48, 0x04, 0x52, 0x09, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x36, 0x0a, 0x0a, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, + 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, + 0x73, 0x12, 0x46, 0x0a, 0x10, 0x6d, 0x61, 0x73, 0x6b, 0x65, 0x64, 0x5f, 0x61, 0x72, 0x65, 0x61, + 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x67, 0x6f, + 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x65, 0x64, 0x41, 0x72, 0x65, 0x61, + 0x49, 0x6e, 0x69, 0x74, 0x48, 0x05, 0x52, 0x0e, 0x6d, 0x61, 0x73, 0x6b, 0x65, 0x64, 0x41, 0x72, + 0x65, 0x61, 0x49, 0x6e, 0x69, 0x74, 0x88, 0x01, 0x01, 0x12, 0x3f, 0x0a, 0x0d, 0x77, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x57, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x48, 0x06, 0x52, 0x0c, 0x77, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x68, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x77, 0x69, 0x64, 0x74, 0x68, 0x42, + 0x0a, 0x0a, 0x08, 0x5f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x42, 0x08, 0x0a, 0x06, 0x5f, + 0x73, 0x74, 0x65, 0x70, 0x73, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, + 0x6f, 0x72, 0x6d, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x65, 0x64, 0x5f, 0x61, + 0x72, 0x65, 0x61, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x77, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x22, 0x5e, 0x0a, 0x11, 0x43, 0x6c, + 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x63, 0x65, 0x70, 0x74, 0x12, + 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x63, 0x65, 0x70, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x63, 0x65, 0x70, 0x74, 0x12, 0x21, 0x0a, 0x09, 0x74, 0x68, 0x72, + 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x09, + 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, + 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x22, 0xa8, 0x02, 0x0a, 0x12, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, + 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x63, 0x65, 0x70, 0x74, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, + 0x69, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x63, + 0x65, 0x70, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x63, 0x65, 0x70, 0x74, 0x73, 0x12, 0x23, 0x0a, + 0x0a, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x02, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x88, + 0x01, 0x01, 0x12, 0x2c, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0e, 0x72, 0x65, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x41, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x72, 0x65, 0x61, - 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x83, 0x01, 0x0a, - 0x0f, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x12, 0x2c, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, - 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, - 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, - 0x03, 0x75, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, - 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x55, 0x73, 0x65, 0x52, 0x03, 0x75, - 0x73, 0x65, 0x22, 0xb4, 0x01, 0x0a, 0x0a, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x4d, 0x65, 0x74, - 0x61, 0x12, 0x1a, 0x0a, 0x06, 0x67, 0x70, 0x75, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x48, 0x00, 0x52, 0x05, 0x67, 0x70, 0x75, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1a, 0x0a, - 0x06, 0x63, 0x70, 0x75, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, - 0x05, 0x63, 0x70, 0x75, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1c, 0x0a, 0x07, 0x6e, 0x6f, 0x64, - 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x06, 0x6e, 0x6f, - 0x64, 0x65, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x65, 0x6e, 0x67, 0x69, 0x6e, - 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, 0x08, 0x65, 0x6e, - 0x67, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x67, 0x70, - 0x75, 0x5f, 0x69, 0x64, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x69, 0x64, 0x42, - 0x0a, 0x0a, 0x08, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, - 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x22, 0xe2, 0x01, 0x0a, 0x06, 0x41, 0x6e, - 0x73, 0x77, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x49, - 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, - 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x2c, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, - 0x6e, 0x73, 0x77, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x48, 0x00, 0x52, 0x04, 0x6d, 0x65, 0x74, - 0x61, 0x88, 0x01, 0x01, 0x12, 0x2f, 0x0a, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, - 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, - 0x69, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, - 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x22, 0xbe, - 0x03, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, - 0x67, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, - 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x65, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, - 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x06, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x18, 0x04, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, - 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x52, 0x06, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x12, 0x30, 0x0a, - 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, - 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, - 0x3f, 0x0a, 0x0a, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x6c, - 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, - 0x12, 0x30, 0x0a, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x05, 0x61, 0x73, 0x73, - 0x65, 0x74, 0x12, 0x45, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x65, - 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, - 0x69, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x01, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x64, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x65, 0x72, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x4a, 0x04, 0x08, 0x0a, 0x10, 0x0b, 0x22, - 0x8f, 0x01, 0x0a, 0x08, 0x4f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2d, 0x0a, 0x06, - 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, - 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x61, - 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x06, 0x74, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x74, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x88, 0x01, 0x01, 0x12, 0x2c, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, - 0x61, 0x69, 0x2e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x22, 0x73, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2a, 0x0a, 0x07, 0x72, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, 0x6f, - 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x09, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x73, - 0x65, 0x61, 0x69, 0x2e, 0x4f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x08, 0x6f, 0x6e, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x53, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x53, - 0x74, 0x61, 0x67, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x2a, 0x45, 0x0a, 0x0c, 0x46, - 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x08, 0x0a, 0x04, 0x4e, - 0x55, 0x4c, 0x4c, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4c, 0x45, 0x4e, 0x47, 0x54, 0x48, 0x10, - 0x01, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x54, 0x4f, 0x50, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x45, - 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, - 0x10, 0x04, 0x2a, 0xe4, 0x01, 0x0a, 0x0c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, - 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, - 0x43, 0x54, 0x5f, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x52, - 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x56, 0x49, 0x44, 0x45, 0x4f, 0x10, 0x02, 0x12, 0x11, - 0x0a, 0x0d, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x54, 0x45, 0x58, 0x54, 0x10, - 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x54, 0x4f, - 0x4b, 0x45, 0x4e, 0x53, 0x10, 0x04, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, - 0x43, 0x54, 0x5f, 0x45, 0x4d, 0x42, 0x45, 0x44, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x12, 0x1c, - 0x0a, 0x18, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, - 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x10, 0x06, 0x12, 0x11, 0x0a, 0x0d, - 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x4d, 0x41, 0x53, 0x4b, 0x10, 0x07, 0x12, - 0x13, 0x0a, 0x0f, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x4c, 0x41, 0x54, 0x45, - 0x4e, 0x54, 0x10, 0x08, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, - 0x5f, 0x54, 0x45, 0x4e, 0x53, 0x4f, 0x52, 0x10, 0x09, 0x2a, 0x67, 0x0a, 0x0e, 0x4d, 0x61, 0x73, - 0x6b, 0x65, 0x64, 0x41, 0x72, 0x65, 0x61, 0x49, 0x6e, 0x69, 0x74, 0x12, 0x19, 0x0a, 0x15, 0x4d, - 0x41, 0x53, 0x4b, 0x45, 0x44, 0x5f, 0x41, 0x52, 0x45, 0x41, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x5f, - 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x41, 0x53, 0x4b, 0x45, 0x44, - 0x5f, 0x41, 0x52, 0x45, 0x41, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x5f, 0x52, 0x41, 0x4e, 0x44, 0x4f, - 0x4d, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x41, 0x53, 0x4b, 0x45, 0x44, 0x5f, 0x41, 0x52, - 0x45, 0x41, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x5f, 0x4f, 0x52, 0x49, 0x47, 0x49, 0x4e, 0x41, 0x4c, - 0x10, 0x02, 0x2a, 0x35, 0x0a, 0x0c, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x4d, 0x65, 0x74, 0x68, - 0x6f, 0x64, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x45, 0x58, 0x54, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, - 0x45, 0x52, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x52, 0x4f, 0x53, 0x53, 0x5f, 0x41, 0x54, - 0x54, 0x45, 0x4e, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x2a, 0xff, 0x01, 0x0a, 0x10, 0x44, 0x69, - 0x66, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x72, 0x12, 0x10, - 0x0a, 0x0c, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x44, 0x44, 0x49, 0x4d, 0x10, 0x00, - 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x44, 0x44, 0x50, 0x4d, - 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, - 0x45, 0x55, 0x4c, 0x45, 0x52, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x41, 0x4d, 0x50, 0x4c, - 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x45, 0x55, 0x4c, 0x45, 0x52, 0x5f, 0x41, 0x4e, 0x43, 0x45, 0x53, - 0x54, 0x52, 0x41, 0x4c, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, - 0x52, 0x5f, 0x4b, 0x5f, 0x48, 0x45, 0x55, 0x4e, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x41, - 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x44, 0x50, 0x4d, 0x5f, 0x32, 0x10, 0x05, 0x12, - 0x1d, 0x0a, 0x19, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x44, 0x50, 0x4d, - 0x5f, 0x32, 0x5f, 0x41, 0x4e, 0x43, 0x45, 0x53, 0x54, 0x52, 0x41, 0x4c, 0x10, 0x06, 0x12, 0x11, - 0x0a, 0x0d, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x4c, 0x4d, 0x53, 0x10, - 0x07, 0x12, 0x20, 0x0a, 0x1c, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x44, - 0x50, 0x4d, 0x50, 0x50, 0x5f, 0x32, 0x53, 0x5f, 0x41, 0x4e, 0x43, 0x45, 0x53, 0x54, 0x52, 0x41, - 0x4c, 0x10, 0x08, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, - 0x5f, 0x44, 0x50, 0x4d, 0x50, 0x50, 0x5f, 0x32, 0x4d, 0x10, 0x09, 0x2a, 0x46, 0x0a, 0x08, 0x55, - 0x70, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x50, 0x53, 0x43, 0x41, - 0x4c, 0x45, 0x52, 0x5f, 0x52, 0x47, 0x42, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x55, 0x50, 0x53, - 0x43, 0x41, 0x4c, 0x45, 0x52, 0x5f, 0x47, 0x46, 0x50, 0x47, 0x41, 0x4e, 0x10, 0x01, 0x12, 0x13, - 0x0a, 0x0f, 0x55, 0x50, 0x53, 0x43, 0x41, 0x4c, 0x45, 0x52, 0x5f, 0x45, 0x53, 0x52, 0x47, 0x41, - 0x4e, 0x10, 0x02, 0x2a, 0xd8, 0x01, 0x0a, 0x0e, 0x47, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, - 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x14, 0x47, 0x55, 0x49, 0x44, 0x41, 0x4e, - 0x43, 0x45, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x54, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, - 0x12, 0x1a, 0x0a, 0x16, 0x47, 0x55, 0x49, 0x44, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x50, 0x52, 0x45, - 0x53, 0x45, 0x54, 0x5f, 0x53, 0x49, 0x4d, 0x50, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, - 0x47, 0x55, 0x49, 0x44, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x54, 0x5f, - 0x46, 0x41, 0x53, 0x54, 0x5f, 0x42, 0x4c, 0x55, 0x45, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x47, - 0x55, 0x49, 0x44, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x54, 0x5f, 0x46, - 0x41, 0x53, 0x54, 0x5f, 0x47, 0x52, 0x45, 0x45, 0x4e, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x47, - 0x55, 0x49, 0x44, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x54, 0x5f, 0x53, - 0x4c, 0x4f, 0x57, 0x10, 0x04, 0x12, 0x1a, 0x0a, 0x16, 0x47, 0x55, 0x49, 0x44, 0x41, 0x4e, 0x43, - 0x45, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x54, 0x5f, 0x53, 0x4c, 0x4f, 0x57, 0x45, 0x52, 0x10, - 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x47, 0x55, 0x49, 0x44, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x50, 0x52, - 0x45, 0x53, 0x45, 0x54, 0x5f, 0x53, 0x4c, 0x4f, 0x57, 0x45, 0x53, 0x54, 0x10, 0x06, 0x2a, 0x91, - 0x01, 0x0a, 0x11, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, - 0x74, 0x75, 0x72, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x41, 0x52, - 0x43, 0x48, 0x49, 0x54, 0x45, 0x43, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, - 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, - 0x54, 0x45, 0x43, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x43, 0x4c, 0x49, 0x50, 0x5f, 0x56, 0x49, 0x54, - 0x10, 0x01, 0x12, 0x22, 0x0a, 0x1e, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x41, 0x52, 0x43, 0x48, - 0x49, 0x54, 0x45, 0x43, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x43, 0x4c, 0x49, 0x50, 0x5f, 0x52, 0x45, - 0x53, 0x4e, 0x45, 0x54, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, - 0x41, 0x52, 0x43, 0x48, 0x49, 0x54, 0x45, 0x43, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x4c, 0x44, 0x4d, - 0x10, 0x03, 0x2a, 0xa2, 0x01, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, - 0x12, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x54, 0x48, 0x52, 0x4f, - 0x55, 0x47, 0x48, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, - 0x52, 0x45, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x55, 0x50, 0x4c, 0x49, - 0x43, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, - 0x5f, 0x52, 0x45, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x1e, 0x0a, - 0x1a, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x42, 0x46, 0x55, 0x53, 0x43, 0x41, 0x54, - 0x45, 0x5f, 0x44, 0x55, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x10, 0x03, 0x12, 0x14, 0x0a, - 0x10, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x42, 0x46, 0x55, 0x53, 0x43, 0x41, 0x54, - 0x45, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x49, - 0x53, 0x43, 0x41, 0x52, 0x44, 0x10, 0x05, 0x2a, 0x44, 0x0a, 0x0e, 0x43, 0x6c, 0x61, 0x73, 0x73, - 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x4c, 0x53, - 0x46, 0x52, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x53, 0x48, 0x4f, 0x54, - 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4c, 0x53, 0x46, 0x52, 0x5f, 0x4d, 0x4f, 0x44, 0x45, - 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x10, 0x01, 0x2a, 0x3d, 0x0a, - 0x0b, 0x41, 0x73, 0x73, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0d, 0x0a, 0x09, - 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x50, 0x55, 0x54, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x41, - 0x53, 0x53, 0x45, 0x54, 0x5f, 0x47, 0x45, 0x54, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x53, - 0x53, 0x45, 0x54, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x02, 0x2a, 0x81, 0x01, 0x0a, - 0x08, 0x41, 0x73, 0x73, 0x65, 0x74, 0x55, 0x73, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x41, 0x53, 0x53, - 0x45, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, - 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, - 0x49, 0x4e, 0x50, 0x55, 0x54, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x41, 0x53, 0x53, 0x45, 0x54, - 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, 0x10, 0x02, 0x12, 0x1a, 0x0a, - 0x16, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, - 0x4d, 0x45, 0x44, 0x49, 0x41, 0x54, 0x45, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x53, 0x53, - 0x45, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x04, - 0x2a, 0x57, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x67, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, - 0x50, 0x41, 0x53, 0x53, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, - 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x49, 0x53, 0x43, 0x41, 0x52, 0x44, 0x10, 0x01, - 0x12, 0x17, 0x0a, 0x13, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, - 0x5f, 0x52, 0x45, 0x54, 0x55, 0x52, 0x4e, 0x10, 0x02, 0x32, 0x83, 0x01, 0x0a, 0x11, 0x47, 0x65, - 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x31, 0x0a, 0x08, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x10, 0x2e, 0x67, 0x6f, - 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, - 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x22, 0x00, - 0x30, 0x01, 0x12, 0x3b, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x47, 0x65, 0x6e, 0x65, 0x72, - 0x61, 0x74, 0x65, 0x12, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x68, - 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x67, 0x6f, 0x6f, - 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x22, 0x00, 0x30, 0x01, 0x42, - 0x0f, 0x5a, 0x0d, 0x2e, 0x2f, 0x3b, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x69, 0x6f, 0x6e, 0x48, 0x01, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, + 0x12, 0x45, 0x0a, 0x0f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x6d, + 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x73, + 0x65, 0x61, 0x69, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x6f, + 0x64, 0x65, 0x48, 0x02, 0x52, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x4d, 0x6f, 0x64, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x61, 0x64, 0x6a, 0x75, + 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x22, 0xdd, 0x01, 0x0a, 0x14, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x3b, + 0x0a, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x6c, 0x61, + 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, + 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x65, + 0x78, 0x63, 0x65, 0x65, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, + 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x07, 0x65, 0x78, 0x63, 0x65, 0x65, + 0x64, 0x73, 0x12, 0x3d, 0x0a, 0x0f, 0x72, 0x65, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x67, 0x6f, + 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0e, + 0x72, 0x65, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, + 0x01, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x83, 0x01, 0x0a, 0x0f, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2c, 0x0a, 0x06, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x73, + 0x65, 0x61, 0x69, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x03, 0x75, 0x73, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x55, 0x73, 0x65, 0x52, 0x03, 0x75, 0x73, 0x65, 0x22, 0xb4, 0x01, 0x0a, 0x0a, + 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x06, 0x67, 0x70, + 0x75, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x67, 0x70, + 0x75, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1a, 0x0a, 0x06, 0x63, 0x70, 0x75, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, 0x63, 0x70, 0x75, 0x49, 0x64, 0x88, + 0x01, 0x01, 0x12, 0x1c, 0x0a, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x88, 0x01, 0x01, + 0x12, 0x20, 0x0a, 0x09, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, 0x08, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x88, + 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x67, 0x70, 0x75, 0x5f, 0x69, 0x64, 0x42, 0x09, 0x0a, + 0x07, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x69, 0x64, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x6e, 0x6f, 0x64, + 0x65, 0x5f, 0x69, 0x64, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5f, + 0x69, 0x64, 0x22, 0xe2, 0x01, 0x0a, 0x06, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x12, 0x1b, 0x0a, + 0x09, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x63, + 0x65, 0x69, 0x76, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x63, + 0x65, 0x69, 0x76, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, + 0x2c, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, + 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x4d, 0x65, + 0x74, 0x61, 0x48, 0x00, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x88, 0x01, 0x01, 0x12, 0x2f, 0x0a, + 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x07, + 0x0a, 0x05, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x22, 0xbe, 0x03, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x49, 0x64, + 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, + 0x3c, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, + 0x69, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, + 0x06, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, + 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x52, 0x06, + 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x12, 0x30, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, + 0x49, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, + 0x00, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x63, 0x6c, 0x61, 0x73, + 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, + 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x63, + 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x05, 0x61, 0x73, 0x73, + 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, + 0x61, 0x69, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, + 0x72, 0x73, 0x48, 0x00, 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x45, 0x0a, 0x0b, 0x63, + 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, + 0x48, 0x01, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x88, + 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x0e, 0x0a, 0x0c, + 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x4a, 0x04, 0x08, 0x09, + 0x10, 0x0a, 0x4a, 0x04, 0x08, 0x0a, 0x10, 0x0b, 0x22, 0x8f, 0x01, 0x0a, 0x08, 0x4f, 0x6e, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2d, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, + 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x88, 0x01, + 0x01, 0x12, 0x2c, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0e, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x53, 0x74, 0x61, 0x67, + 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x09, 0x0a, 0x07, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x73, 0x0a, 0x05, 0x53, 0x74, + 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x69, 0x64, 0x12, 0x2a, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x2e, 0x0a, 0x09, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4f, 0x6e, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x08, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, + 0x53, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x24, + 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, + 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x52, 0x05, 0x73, + 0x74, 0x61, 0x67, 0x65, 0x2a, 0x45, 0x0a, 0x0c, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x55, 0x4c, 0x4c, 0x10, 0x00, 0x12, 0x0a, + 0x0a, 0x06, 0x4c, 0x45, 0x4e, 0x47, 0x54, 0x48, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x54, + 0x4f, 0x50, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, + 0x0a, 0x0a, 0x06, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x10, 0x04, 0x2a, 0xe4, 0x01, 0x0a, 0x0c, + 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x11, 0x0a, 0x0d, + 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, + 0x12, 0x0a, 0x0e, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x49, 0x4d, 0x41, 0x47, + 0x45, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, + 0x56, 0x49, 0x44, 0x45, 0x4f, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x52, 0x54, 0x49, 0x46, + 0x41, 0x43, 0x54, 0x5f, 0x54, 0x45, 0x58, 0x54, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x52, + 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x53, 0x10, 0x04, 0x12, + 0x16, 0x0a, 0x12, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x45, 0x4d, 0x42, 0x45, + 0x44, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x52, 0x54, 0x49, 0x46, + 0x41, 0x43, 0x54, 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, + 0x4f, 0x4e, 0x53, 0x10, 0x06, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, + 0x54, 0x5f, 0x4d, 0x41, 0x53, 0x4b, 0x10, 0x07, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x52, 0x54, 0x49, + 0x46, 0x41, 0x43, 0x54, 0x5f, 0x4c, 0x41, 0x54, 0x45, 0x4e, 0x54, 0x10, 0x08, 0x12, 0x13, 0x0a, + 0x0f, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x54, 0x45, 0x4e, 0x53, 0x4f, 0x52, + 0x10, 0x09, 0x2a, 0x67, 0x0a, 0x0e, 0x4d, 0x61, 0x73, 0x6b, 0x65, 0x64, 0x41, 0x72, 0x65, 0x61, + 0x49, 0x6e, 0x69, 0x74, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x41, 0x53, 0x4b, 0x45, 0x44, 0x5f, 0x41, + 0x52, 0x45, 0x41, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, + 0x1b, 0x0a, 0x17, 0x4d, 0x41, 0x53, 0x4b, 0x45, 0x44, 0x5f, 0x41, 0x52, 0x45, 0x41, 0x5f, 0x49, + 0x4e, 0x49, 0x54, 0x5f, 0x52, 0x41, 0x4e, 0x44, 0x4f, 0x4d, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, + 0x4d, 0x41, 0x53, 0x4b, 0x45, 0x44, 0x5f, 0x41, 0x52, 0x45, 0x41, 0x5f, 0x49, 0x4e, 0x49, 0x54, + 0x5f, 0x4f, 0x52, 0x49, 0x47, 0x49, 0x4e, 0x41, 0x4c, 0x10, 0x02, 0x2a, 0x35, 0x0a, 0x0c, 0x57, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x10, 0x0a, 0x0c, 0x54, + 0x45, 0x58, 0x54, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x45, 0x52, 0x10, 0x00, 0x12, 0x13, 0x0a, + 0x0f, 0x43, 0x52, 0x4f, 0x53, 0x53, 0x5f, 0x41, 0x54, 0x54, 0x45, 0x4e, 0x54, 0x49, 0x4f, 0x4e, + 0x10, 0x01, 0x2a, 0xff, 0x01, 0x0a, 0x10, 0x44, 0x69, 0x66, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, + 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x41, 0x4d, 0x50, 0x4c, + 0x45, 0x52, 0x5f, 0x44, 0x44, 0x49, 0x4d, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x41, 0x4d, + 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x44, 0x44, 0x50, 0x4d, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x53, + 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x45, 0x55, 0x4c, 0x45, 0x52, 0x10, 0x02, + 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x45, 0x55, + 0x4c, 0x45, 0x52, 0x5f, 0x41, 0x4e, 0x43, 0x45, 0x53, 0x54, 0x52, 0x41, 0x4c, 0x10, 0x03, 0x12, + 0x12, 0x0a, 0x0e, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x48, 0x45, 0x55, + 0x4e, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, + 0x5f, 0x44, 0x50, 0x4d, 0x5f, 0x32, 0x10, 0x05, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x41, 0x4d, 0x50, + 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x44, 0x50, 0x4d, 0x5f, 0x32, 0x5f, 0x41, 0x4e, 0x43, 0x45, + 0x53, 0x54, 0x52, 0x41, 0x4c, 0x10, 0x06, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x41, 0x4d, 0x50, 0x4c, + 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x4c, 0x4d, 0x53, 0x10, 0x07, 0x12, 0x20, 0x0a, 0x1c, 0x53, 0x41, + 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x44, 0x50, 0x4d, 0x50, 0x50, 0x5f, 0x32, 0x53, + 0x5f, 0x41, 0x4e, 0x43, 0x45, 0x53, 0x54, 0x52, 0x41, 0x4c, 0x10, 0x08, 0x12, 0x16, 0x0a, 0x12, + 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x44, 0x50, 0x4d, 0x50, 0x50, 0x5f, + 0x32, 0x4d, 0x10, 0x09, 0x2a, 0x46, 0x0a, 0x08, 0x55, 0x70, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, + 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x50, 0x53, 0x43, 0x41, 0x4c, 0x45, 0x52, 0x5f, 0x52, 0x47, 0x42, + 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x55, 0x50, 0x53, 0x43, 0x41, 0x4c, 0x45, 0x52, 0x5f, 0x47, + 0x46, 0x50, 0x47, 0x41, 0x4e, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x55, 0x50, 0x53, 0x43, 0x41, + 0x4c, 0x45, 0x52, 0x5f, 0x45, 0x53, 0x52, 0x47, 0x41, 0x4e, 0x10, 0x02, 0x2a, 0xd8, 0x01, 0x0a, + 0x0e, 0x47, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x12, + 0x18, 0x0a, 0x14, 0x47, 0x55, 0x49, 0x44, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x50, 0x52, 0x45, 0x53, + 0x45, 0x54, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x47, 0x55, 0x49, + 0x44, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x54, 0x5f, 0x53, 0x49, 0x4d, + 0x50, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x47, 0x55, 0x49, 0x44, 0x41, 0x4e, 0x43, + 0x45, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x54, 0x5f, 0x46, 0x41, 0x53, 0x54, 0x5f, 0x42, 0x4c, + 0x55, 0x45, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x47, 0x55, 0x49, 0x44, 0x41, 0x4e, 0x43, 0x45, + 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x54, 0x5f, 0x46, 0x41, 0x53, 0x54, 0x5f, 0x47, 0x52, 0x45, + 0x45, 0x4e, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x47, 0x55, 0x49, 0x44, 0x41, 0x4e, 0x43, 0x45, + 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x54, 0x5f, 0x53, 0x4c, 0x4f, 0x57, 0x10, 0x04, 0x12, 0x1a, + 0x0a, 0x16, 0x47, 0x55, 0x49, 0x44, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, + 0x54, 0x5f, 0x53, 0x4c, 0x4f, 0x57, 0x45, 0x52, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x47, 0x55, + 0x49, 0x44, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x54, 0x5f, 0x53, 0x4c, + 0x4f, 0x57, 0x45, 0x53, 0x54, 0x10, 0x06, 0x2a, 0x91, 0x01, 0x0a, 0x11, 0x4d, 0x6f, 0x64, 0x65, + 0x6c, 0x41, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1b, 0x0a, + 0x17, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x54, 0x45, 0x43, 0x54, + 0x55, 0x52, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x4d, 0x4f, + 0x44, 0x45, 0x4c, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x54, 0x45, 0x43, 0x54, 0x55, 0x52, 0x45, + 0x5f, 0x43, 0x4c, 0x49, 0x50, 0x5f, 0x56, 0x49, 0x54, 0x10, 0x01, 0x12, 0x22, 0x0a, 0x1e, 0x4d, + 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x54, 0x45, 0x43, 0x54, 0x55, 0x52, + 0x45, 0x5f, 0x43, 0x4c, 0x49, 0x50, 0x5f, 0x52, 0x45, 0x53, 0x4e, 0x45, 0x54, 0x10, 0x02, 0x12, + 0x1a, 0x0a, 0x16, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x54, 0x45, + 0x43, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x4c, 0x44, 0x4d, 0x10, 0x03, 0x2a, 0xa2, 0x01, 0x0a, 0x06, + 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x50, 0x41, 0x53, 0x53, 0x54, 0x48, 0x52, 0x4f, 0x55, 0x47, 0x48, 0x10, 0x00, 0x12, 0x1f, + 0x0a, 0x1b, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x47, 0x45, 0x4e, 0x45, 0x52, + 0x41, 0x54, 0x45, 0x5f, 0x44, 0x55, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, + 0x15, 0x0a, 0x11, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x47, 0x45, 0x4e, 0x45, + 0x52, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x4f, 0x42, 0x46, 0x55, 0x53, 0x43, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x55, 0x50, 0x4c, 0x49, + 0x43, 0x41, 0x54, 0x45, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x4f, 0x42, 0x46, 0x55, 0x53, 0x43, 0x41, 0x54, 0x45, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, + 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x49, 0x53, 0x43, 0x41, 0x52, 0x44, 0x10, 0x05, + 0x2a, 0x44, 0x0a, 0x0e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x6f, + 0x64, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x4c, 0x53, 0x46, 0x52, 0x5f, 0x4d, 0x4f, 0x44, 0x45, + 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x53, 0x48, 0x4f, 0x54, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x43, + 0x4c, 0x53, 0x46, 0x52, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x43, + 0x4c, 0x41, 0x53, 0x53, 0x10, 0x01, 0x2a, 0x3d, 0x0a, 0x0b, 0x41, 0x73, 0x73, 0x65, 0x74, 0x41, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x50, + 0x55, 0x54, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x47, 0x45, + 0x54, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x44, 0x45, 0x4c, + 0x45, 0x54, 0x45, 0x10, 0x02, 0x2a, 0x81, 0x01, 0x0a, 0x08, 0x41, 0x73, 0x73, 0x65, 0x74, 0x55, + 0x73, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, + 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x41, + 0x53, 0x53, 0x45, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x49, 0x4e, 0x50, 0x55, 0x54, 0x10, 0x01, + 0x12, 0x14, 0x0a, 0x10, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x4f, 0x55, + 0x54, 0x50, 0x55, 0x54, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, + 0x55, 0x53, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x54, 0x45, + 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, + 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x04, 0x2a, 0x57, 0x0a, 0x0b, 0x53, 0x74, 0x61, + 0x67, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x47, + 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x10, 0x00, 0x12, + 0x18, 0x0a, 0x14, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, + 0x44, 0x49, 0x53, 0x43, 0x41, 0x52, 0x44, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x54, 0x41, + 0x47, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x54, 0x55, 0x52, 0x4e, + 0x10, 0x02, 0x32, 0x83, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x47, 0x65, 0x6e, 0x65, + 0x72, 0x61, 0x74, 0x65, 0x12, 0x10, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, + 0x2e, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x22, 0x00, 0x30, 0x01, 0x12, 0x3b, 0x0a, 0x0d, 0x43, + 0x68, 0x61, 0x69, 0x6e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x15, 0x2e, 0x67, + 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x41, 0x6e, + 0x73, 0x77, 0x65, 0x72, 0x22, 0x00, 0x30, 0x01, 0x42, 0x97, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, + 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x42, 0x0f, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x2d, 0x61, 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, + 0x63, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, + 0x2f, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0xa2, 0x02, 0x03, 0x47, 0x58, 0x58, 0xaa, 0x02, + 0x07, 0x47, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0xca, 0x02, 0x07, 0x47, 0x6f, 0x6f, 0x73, 0x65, + 0x61, 0x69, 0xe2, 0x02, 0x13, 0x47, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x07, 0x47, 0x6f, 0x6f, 0x73, 0x65, + 0x61, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_generation_proto_rawDescOnce sync.Once - file_generation_proto_rawDescData = file_generation_proto_rawDesc + file_gooseai_generation_proto_rawDescOnce sync.Once + file_gooseai_generation_proto_rawDescData = file_gooseai_generation_proto_rawDesc ) -func file_generation_proto_rawDescGZIP() []byte { - file_generation_proto_rawDescOnce.Do(func() { - file_generation_proto_rawDescData = protoimpl.X.CompressGZIP(file_generation_proto_rawDescData) +func file_gooseai_generation_proto_rawDescGZIP() []byte { + file_gooseai_generation_proto_rawDescOnce.Do(func() { + file_gooseai_generation_proto_rawDescData = protoimpl.X.CompressGZIP(file_gooseai_generation_proto_rawDescData) }) - return file_generation_proto_rawDescData + return file_gooseai_generation_proto_rawDescData } -var file_generation_proto_enumTypes = make([]protoimpl.EnumInfo, 13) -var file_generation_proto_msgTypes = make([]protoimpl.MessageInfo, 26) -var file_generation_proto_goTypes = []interface{}{ +var file_gooseai_generation_proto_enumTypes = make([]protoimpl.EnumInfo, 13) +var file_gooseai_generation_proto_msgTypes = make([]protoimpl.MessageInfo, 26) +var file_gooseai_generation_proto_goTypes = []interface{}{ (FinishReason)(0), // 0: gooseai.FinishReason (ArtifactType)(0), // 1: gooseai.ArtifactType (MaskedAreaInit)(0), // 2: gooseai.MaskedAreaInit @@ -3306,9 +3316,9 @@ var file_generation_proto_goTypes = []interface{}{ (*OnStatus)(nil), // 36: gooseai.OnStatus (*Stage)(nil), // 37: gooseai.Stage (*ChainRequest)(nil), // 38: gooseai.ChainRequest - (*tensors.Tensor)(nil), // 39: tensors.Tensor + (*proto.Tensor)(nil), // 39: tensors.Tensor } -var file_generation_proto_depIdxs = []int32{ +var file_gooseai_generation_proto_depIdxs = []int32{ 13, // 0: gooseai.Tokens.tokens:type_name -> gooseai.Token 1, // 1: gooseai.Artifact.type:type_name -> gooseai.ArtifactType 14, // 2: gooseai.Artifact.tokens:type_name -> gooseai.Tokens @@ -3368,13 +3378,13 @@ var file_generation_proto_depIdxs = []int32{ 0, // [0:48] is the sub-list for field type_name } -func init() { file_generation_proto_init() } -func file_generation_proto_init() { - if File_generation_proto != nil { +func init() { file_gooseai_generation_proto_init() } +func file_gooseai_generation_proto_init() { + if File_gooseai_generation_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_generation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Token); i { case 0: return &v.state @@ -3386,7 +3396,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Tokens); i { case 0: return &v.state @@ -3398,7 +3408,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Artifact); i { case 0: return &v.state @@ -3410,7 +3420,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PromptParameters); i { case 0: return &v.state @@ -3422,7 +3432,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Prompt); i { case 0: return &v.state @@ -3434,7 +3444,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SamplerParameters); i { case 0: return &v.state @@ -3446,7 +3456,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConditionerParameters); i { case 0: return &v.state @@ -3458,7 +3468,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ScheduleParameters); i { case 0: return &v.state @@ -3470,7 +3480,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StepParameter); i { case 0: return &v.state @@ -3482,7 +3492,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Model); i { case 0: return &v.state @@ -3494,7 +3504,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CutoutParameters); i { case 0: return &v.state @@ -3506,7 +3516,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GuidanceScheduleParameters); i { case 0: return &v.state @@ -3518,7 +3528,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GuidanceInstanceParameters); i { case 0: return &v.state @@ -3530,7 +3540,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GuidanceParameters); i { case 0: return &v.state @@ -3542,7 +3552,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TransformType); i { case 0: return &v.state @@ -3554,7 +3564,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ImageParameters); i { case 0: return &v.state @@ -3566,7 +3576,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ClassifierConcept); i { case 0: return &v.state @@ -3578,7 +3588,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ClassifierCategory); i { case 0: return &v.state @@ -3590,7 +3600,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ClassifierParameters); i { case 0: return &v.state @@ -3602,7 +3612,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AssetParameters); i { case 0: return &v.state @@ -3614,7 +3624,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AnswerMeta); i { case 0: return &v.state @@ -3626,7 +3636,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Answer); i { case 0: return &v.state @@ -3638,7 +3648,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Request); i { case 0: return &v.state @@ -3650,7 +3660,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OnStatus); i { case 0: return &v.state @@ -3662,7 +3672,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Stage); i { case 0: return &v.state @@ -3674,7 +3684,7 @@ func file_generation_proto_init() { return nil } } - file_generation_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_generation_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChainRequest); i { case 0: return &v.state @@ -3687,60 +3697,60 @@ func file_generation_proto_init() { } } } - file_generation_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_generation_proto_msgTypes[1].OneofWrappers = []interface{}{} - file_generation_proto_msgTypes[2].OneofWrappers = []interface{}{ + file_gooseai_generation_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_gooseai_generation_proto_msgTypes[1].OneofWrappers = []interface{}{} + file_gooseai_generation_proto_msgTypes[2].OneofWrappers = []interface{}{ (*Artifact_Binary)(nil), (*Artifact_Text)(nil), (*Artifact_Tokens)(nil), (*Artifact_Classifier)(nil), (*Artifact_Tensor)(nil), } - file_generation_proto_msgTypes[3].OneofWrappers = []interface{}{} - file_generation_proto_msgTypes[4].OneofWrappers = []interface{}{ + file_gooseai_generation_proto_msgTypes[3].OneofWrappers = []interface{}{} + file_gooseai_generation_proto_msgTypes[4].OneofWrappers = []interface{}{ (*Prompt_Text)(nil), (*Prompt_Tokens)(nil), (*Prompt_Artifact)(nil), } - file_generation_proto_msgTypes[5].OneofWrappers = []interface{}{} - file_generation_proto_msgTypes[6].OneofWrappers = []interface{}{} - file_generation_proto_msgTypes[7].OneofWrappers = []interface{}{} - file_generation_proto_msgTypes[8].OneofWrappers = []interface{}{} - file_generation_proto_msgTypes[10].OneofWrappers = []interface{}{} - file_generation_proto_msgTypes[12].OneofWrappers = []interface{}{} - file_generation_proto_msgTypes[14].OneofWrappers = []interface{}{ + file_gooseai_generation_proto_msgTypes[5].OneofWrappers = []interface{}{} + file_gooseai_generation_proto_msgTypes[6].OneofWrappers = []interface{}{} + file_gooseai_generation_proto_msgTypes[7].OneofWrappers = []interface{}{} + file_gooseai_generation_proto_msgTypes[8].OneofWrappers = []interface{}{} + file_gooseai_generation_proto_msgTypes[10].OneofWrappers = []interface{}{} + file_gooseai_generation_proto_msgTypes[12].OneofWrappers = []interface{}{} + file_gooseai_generation_proto_msgTypes[14].OneofWrappers = []interface{}{ (*TransformType_Diffusion)(nil), (*TransformType_Upscaler)(nil), } - file_generation_proto_msgTypes[15].OneofWrappers = []interface{}{} - file_generation_proto_msgTypes[16].OneofWrappers = []interface{}{} - file_generation_proto_msgTypes[17].OneofWrappers = []interface{}{} - file_generation_proto_msgTypes[18].OneofWrappers = []interface{}{} - file_generation_proto_msgTypes[20].OneofWrappers = []interface{}{} - file_generation_proto_msgTypes[21].OneofWrappers = []interface{}{} - file_generation_proto_msgTypes[22].OneofWrappers = []interface{}{ + file_gooseai_generation_proto_msgTypes[15].OneofWrappers = []interface{}{} + file_gooseai_generation_proto_msgTypes[16].OneofWrappers = []interface{}{} + file_gooseai_generation_proto_msgTypes[17].OneofWrappers = []interface{}{} + file_gooseai_generation_proto_msgTypes[18].OneofWrappers = []interface{}{} + file_gooseai_generation_proto_msgTypes[20].OneofWrappers = []interface{}{} + file_gooseai_generation_proto_msgTypes[21].OneofWrappers = []interface{}{} + file_gooseai_generation_proto_msgTypes[22].OneofWrappers = []interface{}{ (*Request_Image)(nil), (*Request_Classifier)(nil), (*Request_Asset)(nil), } - file_generation_proto_msgTypes[23].OneofWrappers = []interface{}{} + file_gooseai_generation_proto_msgTypes[23].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_generation_proto_rawDesc, + RawDescriptor: file_gooseai_generation_proto_rawDesc, NumEnums: 13, NumMessages: 26, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_generation_proto_goTypes, - DependencyIndexes: file_generation_proto_depIdxs, - EnumInfos: file_generation_proto_enumTypes, - MessageInfos: file_generation_proto_msgTypes, + GoTypes: file_gooseai_generation_proto_goTypes, + DependencyIndexes: file_gooseai_generation_proto_depIdxs, + EnumInfos: file_gooseai_generation_proto_enumTypes, + MessageInfos: file_gooseai_generation_proto_msgTypes, }.Build() - File_generation_proto = out.File - file_generation_proto_rawDesc = nil - file_generation_proto_goTypes = nil - file_generation_proto_depIdxs = nil + File_gooseai_generation_proto = out.File + file_gooseai_generation_proto_rawDesc = nil + file_gooseai_generation_proto_goTypes = nil + file_gooseai_generation_proto_depIdxs = nil } diff --git a/gooseai/generation/generation_grpc.pb.go b/gen/proto/go/gooseai/generation_grpc.pb.go similarity index 99% rename from gooseai/generation/generation_grpc.pb.go rename to gen/proto/go/gooseai/generation_grpc.pb.go index 75d7880..dfbdad5 100644 --- a/gooseai/generation/generation_grpc.pb.go +++ b/gen/proto/go/gooseai/generation_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. -package generation +package gooseai import ( context "context" @@ -187,5 +187,5 @@ var GenerationService_ServiceDesc = grpc.ServiceDesc{ ServerStreams: true, }, }, - Metadata: "generation.proto", + Metadata: "gooseai/generation.proto", } diff --git a/gooseai/project/project.pb.go b/gen/proto/go/gooseai/project.pb.go similarity index 62% rename from gooseai/project/project.pb.go rename to gen/proto/go/gooseai/project.pb.go index 264f328..28f1204 100644 --- a/gooseai/project/project.pb.go +++ b/gen/proto/go/gooseai/project.pb.go @@ -1,10 +1,10 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.26.0 -// protoc v3.19.5 -// source: project.proto +// protoc-gen-go v1.27.1 +// protoc (unknown) +// source: gooseai/project.proto -package project +package gooseai import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -50,11 +50,11 @@ func (x ProjectAccess) String() string { } func (ProjectAccess) Descriptor() protoreflect.EnumDescriptor { - return file_project_proto_enumTypes[0].Descriptor() + return file_gooseai_project_proto_enumTypes[0].Descriptor() } func (ProjectAccess) Type() protoreflect.EnumType { - return &file_project_proto_enumTypes[0] + return &file_gooseai_project_proto_enumTypes[0] } func (x ProjectAccess) Number() protoreflect.EnumNumber { @@ -63,7 +63,7 @@ func (x ProjectAccess) Number() protoreflect.EnumNumber { // Deprecated: Use ProjectAccess.Descriptor instead. func (ProjectAccess) EnumDescriptor() ([]byte, []int) { - return file_project_proto_rawDescGZIP(), []int{0} + return file_gooseai_project_proto_rawDescGZIP(), []int{0} } type ProjectStatus int32 @@ -99,11 +99,11 @@ func (x ProjectStatus) String() string { } func (ProjectStatus) Descriptor() protoreflect.EnumDescriptor { - return file_project_proto_enumTypes[1].Descriptor() + return file_gooseai_project_proto_enumTypes[1].Descriptor() } func (ProjectStatus) Type() protoreflect.EnumType { - return &file_project_proto_enumTypes[1] + return &file_gooseai_project_proto_enumTypes[1] } func (x ProjectStatus) Number() protoreflect.EnumNumber { @@ -112,7 +112,7 @@ func (x ProjectStatus) Number() protoreflect.EnumNumber { // Deprecated: Use ProjectStatus.Descriptor instead. func (ProjectStatus) EnumDescriptor() ([]byte, []int) { - return file_project_proto_rawDescGZIP(), []int{1} + return file_gooseai_project_proto_rawDescGZIP(), []int{1} } type ProjectAssetUse int32 @@ -154,11 +154,11 @@ func (x ProjectAssetUse) String() string { } func (ProjectAssetUse) Descriptor() protoreflect.EnumDescriptor { - return file_project_proto_enumTypes[2].Descriptor() + return file_gooseai_project_proto_enumTypes[2].Descriptor() } func (ProjectAssetUse) Type() protoreflect.EnumType { - return &file_project_proto_enumTypes[2] + return &file_gooseai_project_proto_enumTypes[2] } func (x ProjectAssetUse) Number() protoreflect.EnumNumber { @@ -167,7 +167,7 @@ func (x ProjectAssetUse) Number() protoreflect.EnumNumber { // Deprecated: Use ProjectAssetUse.Descriptor instead. func (ProjectAssetUse) EnumDescriptor() ([]byte, []int) { - return file_project_proto_rawDescGZIP(), []int{2} + return file_gooseai_project_proto_rawDescGZIP(), []int{2} } type ProjectAsset struct { @@ -183,7 +183,7 @@ type ProjectAsset struct { func (x *ProjectAsset) Reset() { *x = ProjectAsset{} if protoimpl.UnsafeEnabled { - mi := &file_project_proto_msgTypes[0] + mi := &file_gooseai_project_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -196,7 +196,7 @@ func (x *ProjectAsset) String() string { func (*ProjectAsset) ProtoMessage() {} func (x *ProjectAsset) ProtoReflect() protoreflect.Message { - mi := &file_project_proto_msgTypes[0] + mi := &file_gooseai_project_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -209,7 +209,7 @@ func (x *ProjectAsset) ProtoReflect() protoreflect.Message { // Deprecated: Use ProjectAsset.ProtoReflect.Descriptor instead. func (*ProjectAsset) Descriptor() ([]byte, []int) { - return file_project_proto_rawDescGZIP(), []int{0} + return file_gooseai_project_proto_rawDescGZIP(), []int{0} } func (x *ProjectAsset) GetId() string { @@ -253,7 +253,7 @@ type Project struct { func (x *Project) Reset() { *x = Project{} if protoimpl.UnsafeEnabled { - mi := &file_project_proto_msgTypes[1] + mi := &file_gooseai_project_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -266,7 +266,7 @@ func (x *Project) String() string { func (*Project) ProtoMessage() {} func (x *Project) ProtoReflect() protoreflect.Message { - mi := &file_project_proto_msgTypes[1] + mi := &file_gooseai_project_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -279,7 +279,7 @@ func (x *Project) ProtoReflect() protoreflect.Message { // Deprecated: Use Project.ProtoReflect.Descriptor instead. func (*Project) Descriptor() ([]byte, []int) { - return file_project_proto_rawDescGZIP(), []int{1} + return file_gooseai_project_proto_rawDescGZIP(), []int{1} } func (x *Project) GetId() string { @@ -367,7 +367,7 @@ type CreateProjectRequest struct { func (x *CreateProjectRequest) Reset() { *x = CreateProjectRequest{} if protoimpl.UnsafeEnabled { - mi := &file_project_proto_msgTypes[2] + mi := &file_gooseai_project_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -380,7 +380,7 @@ func (x *CreateProjectRequest) String() string { func (*CreateProjectRequest) ProtoMessage() {} func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message { - mi := &file_project_proto_msgTypes[2] + mi := &file_gooseai_project_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -393,7 +393,7 @@ func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateProjectRequest.ProtoReflect.Descriptor instead. func (*CreateProjectRequest) Descriptor() ([]byte, []int) { - return file_project_proto_rawDescGZIP(), []int{2} + return file_gooseai_project_proto_rawDescGZIP(), []int{2} } func (x *CreateProjectRequest) GetTitle() string { @@ -447,7 +447,7 @@ type UpdateProjectRequest struct { func (x *UpdateProjectRequest) Reset() { *x = UpdateProjectRequest{} if protoimpl.UnsafeEnabled { - mi := &file_project_proto_msgTypes[3] + mi := &file_gooseai_project_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -460,7 +460,7 @@ func (x *UpdateProjectRequest) String() string { func (*UpdateProjectRequest) ProtoMessage() {} func (x *UpdateProjectRequest) ProtoReflect() protoreflect.Message { - mi := &file_project_proto_msgTypes[3] + mi := &file_gooseai_project_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -473,7 +473,7 @@ func (x *UpdateProjectRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateProjectRequest.ProtoReflect.Descriptor instead. func (*UpdateProjectRequest) Descriptor() ([]byte, []int) { - return file_project_proto_rawDescGZIP(), []int{3} + return file_gooseai_project_proto_rawDescGZIP(), []int{3} } func (x *UpdateProjectRequest) GetId() string { @@ -529,7 +529,7 @@ type ListProjectRequest struct { func (x *ListProjectRequest) Reset() { *x = ListProjectRequest{} if protoimpl.UnsafeEnabled { - mi := &file_project_proto_msgTypes[4] + mi := &file_gooseai_project_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -542,7 +542,7 @@ func (x *ListProjectRequest) String() string { func (*ListProjectRequest) ProtoMessage() {} func (x *ListProjectRequest) ProtoReflect() protoreflect.Message { - mi := &file_project_proto_msgTypes[4] + mi := &file_gooseai_project_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -555,7 +555,7 @@ func (x *ListProjectRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListProjectRequest.ProtoReflect.Descriptor instead. func (*ListProjectRequest) Descriptor() ([]byte, []int) { - return file_project_proto_rawDescGZIP(), []int{4} + return file_gooseai_project_proto_rawDescGZIP(), []int{4} } func (x *ListProjectRequest) GetOwnerId() string { @@ -577,7 +577,7 @@ type GetProjectRequest struct { func (x *GetProjectRequest) Reset() { *x = GetProjectRequest{} if protoimpl.UnsafeEnabled { - mi := &file_project_proto_msgTypes[5] + mi := &file_gooseai_project_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -590,7 +590,7 @@ func (x *GetProjectRequest) String() string { func (*GetProjectRequest) ProtoMessage() {} func (x *GetProjectRequest) ProtoReflect() protoreflect.Message { - mi := &file_project_proto_msgTypes[5] + mi := &file_gooseai_project_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -603,7 +603,7 @@ func (x *GetProjectRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetProjectRequest.ProtoReflect.Descriptor instead. func (*GetProjectRequest) Descriptor() ([]byte, []int) { - return file_project_proto_rawDescGZIP(), []int{5} + return file_gooseai_project_proto_rawDescGZIP(), []int{5} } func (x *GetProjectRequest) GetId() string { @@ -632,7 +632,7 @@ type DeleteProjectRequest struct { func (x *DeleteProjectRequest) Reset() { *x = DeleteProjectRequest{} if protoimpl.UnsafeEnabled { - mi := &file_project_proto_msgTypes[6] + mi := &file_gooseai_project_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -645,7 +645,7 @@ func (x *DeleteProjectRequest) String() string { func (*DeleteProjectRequest) ProtoMessage() {} func (x *DeleteProjectRequest) ProtoReflect() protoreflect.Message { - mi := &file_project_proto_msgTypes[6] + mi := &file_gooseai_project_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -658,7 +658,7 @@ func (x *DeleteProjectRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteProjectRequest.ProtoReflect.Descriptor instead. func (*DeleteProjectRequest) Descriptor() ([]byte, []int) { - return file_project_proto_rawDescGZIP(), []int{6} + return file_gooseai_project_proto_rawDescGZIP(), []int{6} } func (x *DeleteProjectRequest) GetId() string { @@ -675,148 +675,157 @@ func (x *DeleteProjectRequest) GetOwnerId() string { return "" } -var File_project_proto protoreflect.FileDescriptor - -var file_project_proto_rawDesc = []byte{ - 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x07, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x22, 0x5c, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x6a, - 0x65, 0x63, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x2a, 0x0a, 0x03, 0x75, 0x73, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, - 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x55, 0x73, - 0x65, 0x52, 0x03, 0x75, 0x73, 0x65, 0x22, 0xd6, 0x02, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, - 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, - 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x06, 0x61, 0x63, 0x63, - 0x65, 0x73, 0x73, 0x12, 0x2e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, - 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x29, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, - 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x04, 0x66, 0x69, - 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, - 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, - 0x12, 0x2d, 0x0a, 0x06, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, - 0x63, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x06, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x22, - 0xf2, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1e, - 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x48, 0x00, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x2e, - 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, - 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, - 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x2e, - 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, - 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2e, - 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, - 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x48, 0x01, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0b, - 0x0a, 0x09, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x5f, - 0x66, 0x69, 0x6c, 0x65, 0x22, 0xb1, 0x02, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, - 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, - 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x00, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, - 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, - 0x74, 0x69, 0x74, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x33, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, - 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, - 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, - 0x48, 0x02, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x88, 0x01, 0x01, 0x12, 0x33, 0x0a, - 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, - 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, - 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, - 0x63, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x48, 0x04, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x88, - 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x42, - 0x08, 0x0a, 0x06, 0x5f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x61, 0x63, - 0x63, 0x65, 0x73, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, - 0x07, 0x0a, 0x05, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0x41, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, - 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, - 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x48, 0x00, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0b, - 0x0a, 0x09, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x22, 0x50, 0x0a, 0x11, 0x47, - 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, +var File_gooseai_project_proto protoreflect.FileDescriptor + +var file_gooseai_project_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, + 0x22, 0x5c, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, - 0x12, 0x1e, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, - 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x22, 0x53, 0x0a, - 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, + 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, + 0x72, 0x69, 0x12, 0x2a, 0x0a, 0x03, 0x75, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x55, 0x73, 0x65, 0x52, 0x03, 0x75, 0x73, 0x65, 0x22, 0xd6, + 0x02, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, + 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, + 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x06, 0x61, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x67, 0x6f, + 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x2e, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x67, 0x6f, + 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, + 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, + 0x29, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, + 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, + 0x73, 0x73, 0x65, 0x74, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2d, 0x0a, 0x06, 0x61, 0x73, 0x73, 0x65, + 0x74, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, + 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, + 0x06, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x22, 0xf2, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1e, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, + 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x06, + 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x2e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, + 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2e, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x48, 0x01, 0x52, 0x04, 0x66, + 0x69, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0xb1, 0x02, 0x0a, + 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, - 0x69, 0x64, 0x2a, 0x46, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, - 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x41, - 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x00, 0x12, - 0x19, 0x0a, 0x15, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, - 0x53, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x10, 0x01, 0x2a, 0x63, 0x0a, 0x0d, 0x50, 0x72, - 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x0a, 0x17, 0x50, - 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, 0x4e, - 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x52, 0x4f, 0x4a, - 0x45, 0x43, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, - 0x45, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x53, - 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x02, 0x2a, - 0xb0, 0x01, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, - 0x55, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x41, - 0x53, 0x53, 0x45, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, - 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, - 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x49, 0x4e, 0x50, 0x55, 0x54, 0x10, - 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x41, 0x53, 0x53, - 0x45, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, 0x10, 0x02, 0x12, - 0x22, 0x0a, 0x1e, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x41, 0x53, 0x53, 0x45, 0x54, - 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x54, - 0x45, 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x41, - 0x53, 0x53, 0x45, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, - 0x10, 0x04, 0x32, 0xb9, 0x02, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, - 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, - 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, - 0x22, 0x00, 0x12, 0x3b, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x2e, 0x67, - 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, - 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x67, 0x6f, - 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x00, 0x12, - 0x39, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, - 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, - 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x00, 0x30, 0x01, 0x12, 0x35, 0x0a, 0x03, 0x47, 0x65, - 0x74, 0x12, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x50, - 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, - 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, - 0x00, 0x12, 0x3b, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x6f, - 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, - 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x67, 0x6f, 0x6f, - 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x00, 0x42, 0x0c, - 0x5a, 0x0a, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x88, 0x01, 0x01, + 0x12, 0x33, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x48, 0x02, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x88, 0x01, 0x01, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, + 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x03, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x04, 0x66, 0x69, + 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, + 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x48, + 0x04, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x74, 0x69, 0x74, 0x6c, + 0x65, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x09, 0x0a, 0x07, + 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x66, 0x69, 0x6c, 0x65, + 0x22, 0x41, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x22, 0x50, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6f, 0x77, 0x6e, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x22, 0x53, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, + 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, + 0x00, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, + 0x09, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x2a, 0x46, 0x0a, 0x0d, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x16, 0x50, + 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x50, 0x52, + 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x52, 0x4f, 0x4a, 0x45, + 0x43, 0x54, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, + 0x10, 0x01, 0x2a, 0x63, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, 0x4e, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x00, + 0x12, 0x19, 0x0a, 0x15, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, + 0x55, 0x53, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x50, + 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x44, 0x45, + 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x02, 0x2a, 0xb0, 0x01, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x55, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x50, + 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x55, 0x53, 0x45, + 0x5f, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, + 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x55, 0x53, + 0x45, 0x5f, 0x49, 0x4e, 0x50, 0x55, 0x54, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x52, 0x4f, + 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x4f, + 0x55, 0x54, 0x50, 0x55, 0x54, 0x10, 0x02, 0x12, 0x22, 0x0a, 0x1e, 0x50, 0x52, 0x4f, 0x4a, 0x45, + 0x43, 0x54, 0x5f, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x49, 0x4e, 0x54, + 0x45, 0x52, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x54, 0x45, 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, 0x50, + 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x55, 0x53, 0x45, + 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x04, 0x32, 0xb9, 0x02, 0x0a, 0x0e, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3b, 0x0a, + 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, + 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, + 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x00, 0x12, 0x3b, 0x0a, 0x06, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x00, 0x12, 0x39, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x67, + 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x00, + 0x30, 0x01, 0x12, 0x35, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x73, + 0x65, 0x61, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, + 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x00, 0x12, 0x3b, 0x0a, 0x06, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x50, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x22, 0x00, 0x42, 0x94, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, + 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x42, 0x0c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2d, 0x61, 0x69, 0x2f, + 0x61, 0x70, 0x69, 0x2d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x67, + 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x73, + 0x65, 0x61, 0x69, 0xa2, 0x02, 0x03, 0x47, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x47, 0x6f, 0x6f, 0x73, + 0x65, 0x61, 0x69, 0xca, 0x02, 0x07, 0x47, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0xe2, 0x02, 0x13, + 0x47, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x07, 0x47, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_project_proto_rawDescOnce sync.Once - file_project_proto_rawDescData = file_project_proto_rawDesc + file_gooseai_project_proto_rawDescOnce sync.Once + file_gooseai_project_proto_rawDescData = file_gooseai_project_proto_rawDesc ) -func file_project_proto_rawDescGZIP() []byte { - file_project_proto_rawDescOnce.Do(func() { - file_project_proto_rawDescData = protoimpl.X.CompressGZIP(file_project_proto_rawDescData) +func file_gooseai_project_proto_rawDescGZIP() []byte { + file_gooseai_project_proto_rawDescOnce.Do(func() { + file_gooseai_project_proto_rawDescData = protoimpl.X.CompressGZIP(file_gooseai_project_proto_rawDescData) }) - return file_project_proto_rawDescData + return file_gooseai_project_proto_rawDescData } -var file_project_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_project_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_project_proto_goTypes = []interface{}{ +var file_gooseai_project_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_gooseai_project_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_gooseai_project_proto_goTypes = []interface{}{ (ProjectAccess)(0), // 0: gooseai.ProjectAccess (ProjectStatus)(0), // 1: gooseai.ProjectStatus (ProjectAssetUse)(0), // 2: gooseai.ProjectAssetUse @@ -828,7 +837,7 @@ var file_project_proto_goTypes = []interface{}{ (*GetProjectRequest)(nil), // 8: gooseai.GetProjectRequest (*DeleteProjectRequest)(nil), // 9: gooseai.DeleteProjectRequest } -var file_project_proto_depIdxs = []int32{ +var file_gooseai_project_proto_depIdxs = []int32{ 2, // 0: gooseai.ProjectAsset.use:type_name -> gooseai.ProjectAssetUse 0, // 1: gooseai.Project.access:type_name -> gooseai.ProjectAccess 1, // 2: gooseai.Project.status:type_name -> gooseai.ProjectStatus @@ -857,13 +866,13 @@ var file_project_proto_depIdxs = []int32{ 0, // [0:11] is the sub-list for field type_name } -func init() { file_project_proto_init() } -func file_project_proto_init() { - if File_project_proto != nil { +func init() { file_gooseai_project_proto_init() } +func file_gooseai_project_proto_init() { + if File_gooseai_project_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_project_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_project_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ProjectAsset); i { case 0: return &v.state @@ -875,7 +884,7 @@ func file_project_proto_init() { return nil } } - file_project_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_project_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Project); i { case 0: return &v.state @@ -887,7 +896,7 @@ func file_project_proto_init() { return nil } } - file_project_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_project_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateProjectRequest); i { case 0: return &v.state @@ -899,7 +908,7 @@ func file_project_proto_init() { return nil } } - file_project_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_project_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateProjectRequest); i { case 0: return &v.state @@ -911,7 +920,7 @@ func file_project_proto_init() { return nil } } - file_project_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_project_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListProjectRequest); i { case 0: return &v.state @@ -923,7 +932,7 @@ func file_project_proto_init() { return nil } } - file_project_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_project_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetProjectRequest); i { case 0: return &v.state @@ -935,7 +944,7 @@ func file_project_proto_init() { return nil } } - file_project_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_gooseai_project_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteProjectRequest); i { case 0: return &v.state @@ -948,28 +957,28 @@ func file_project_proto_init() { } } } - file_project_proto_msgTypes[2].OneofWrappers = []interface{}{} - file_project_proto_msgTypes[3].OneofWrappers = []interface{}{} - file_project_proto_msgTypes[4].OneofWrappers = []interface{}{} - file_project_proto_msgTypes[5].OneofWrappers = []interface{}{} - file_project_proto_msgTypes[6].OneofWrappers = []interface{}{} + file_gooseai_project_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_gooseai_project_proto_msgTypes[3].OneofWrappers = []interface{}{} + file_gooseai_project_proto_msgTypes[4].OneofWrappers = []interface{}{} + file_gooseai_project_proto_msgTypes[5].OneofWrappers = []interface{}{} + file_gooseai_project_proto_msgTypes[6].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_project_proto_rawDesc, + RawDescriptor: file_gooseai_project_proto_rawDesc, NumEnums: 3, NumMessages: 7, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_project_proto_goTypes, - DependencyIndexes: file_project_proto_depIdxs, - EnumInfos: file_project_proto_enumTypes, - MessageInfos: file_project_proto_msgTypes, + GoTypes: file_gooseai_project_proto_goTypes, + DependencyIndexes: file_gooseai_project_proto_depIdxs, + EnumInfos: file_gooseai_project_proto_enumTypes, + MessageInfos: file_gooseai_project_proto_msgTypes, }.Build() - File_project_proto = out.File - file_project_proto_rawDesc = nil - file_project_proto_goTypes = nil - file_project_proto_depIdxs = nil + File_gooseai_project_proto = out.File + file_gooseai_project_proto_rawDesc = nil + file_gooseai_project_proto_goTypes = nil + file_gooseai_project_proto_depIdxs = nil } diff --git a/gooseai/project/project_grpc.pb.go b/gen/proto/go/gooseai/project_grpc.pb.go similarity index 99% rename from gooseai/project/project_grpc.pb.go rename to gen/proto/go/gooseai/project_grpc.pb.go index 48791ca..66b1f5d 100644 --- a/gooseai/project/project_grpc.pb.go +++ b/gen/proto/go/gooseai/project_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. -package project +package gooseai import ( context "context" @@ -279,5 +279,5 @@ var ProjectService_ServiceDesc = grpc.ServiceDesc{ ServerStreams: true, }, }, - Metadata: "project.proto", + Metadata: "gooseai/project.proto", } diff --git a/gen/proto/go/tensorizer/proto/tensors.pb.go b/gen/proto/go/tensorizer/proto/tensors.pb.go new file mode 100644 index 0000000..30ed1ce --- /dev/null +++ b/gen/proto/go/tensorizer/proto/tensors.pb.go @@ -0,0 +1,616 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1 +// protoc (unknown) +// source: tensorizer/proto/tensors.proto + +package proto + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Dtype int32 + +const ( + Dtype_DT_INVALID Dtype = 0 + Dtype_DT_FLOAT32 Dtype = 1 + Dtype_DT_FLOAT64 Dtype = 2 + Dtype_DT_FLOAT16 Dtype = 3 + Dtype_DT_BFLOAT16 Dtype = 4 + Dtype_DT_COMPLEX32 Dtype = 5 + Dtype_DT_COMPLEX64 Dtype = 6 + Dtype_DT_COMPLEX128 Dtype = 7 + Dtype_DT_UINT8 Dtype = 8 + Dtype_DT_INT8 Dtype = 9 + Dtype_DT_INT16 Dtype = 10 + Dtype_DT_INT32 Dtype = 11 + Dtype_DT_INT64 Dtype = 12 + Dtype_DT_BOOL Dtype = 13 + Dtype_DT_QUINT8 Dtype = 14 + Dtype_DT_QINT8 Dtype = 15 + Dtype_DT_QINT32 Dtype = 16 + Dtype_DT_QUINT4_2 Dtype = 17 +) + +// Enum value maps for Dtype. +var ( + Dtype_name = map[int32]string{ + 0: "DT_INVALID", + 1: "DT_FLOAT32", + 2: "DT_FLOAT64", + 3: "DT_FLOAT16", + 4: "DT_BFLOAT16", + 5: "DT_COMPLEX32", + 6: "DT_COMPLEX64", + 7: "DT_COMPLEX128", + 8: "DT_UINT8", + 9: "DT_INT8", + 10: "DT_INT16", + 11: "DT_INT32", + 12: "DT_INT64", + 13: "DT_BOOL", + 14: "DT_QUINT8", + 15: "DT_QINT8", + 16: "DT_QINT32", + 17: "DT_QUINT4_2", + } + Dtype_value = map[string]int32{ + "DT_INVALID": 0, + "DT_FLOAT32": 1, + "DT_FLOAT64": 2, + "DT_FLOAT16": 3, + "DT_BFLOAT16": 4, + "DT_COMPLEX32": 5, + "DT_COMPLEX64": 6, + "DT_COMPLEX128": 7, + "DT_UINT8": 8, + "DT_INT8": 9, + "DT_INT16": 10, + "DT_INT32": 11, + "DT_INT64": 12, + "DT_BOOL": 13, + "DT_QUINT8": 14, + "DT_QINT8": 15, + "DT_QINT32": 16, + "DT_QUINT4_2": 17, + } +) + +func (x Dtype) Enum() *Dtype { + p := new(Dtype) + *p = x + return p +} + +func (x Dtype) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Dtype) Descriptor() protoreflect.EnumDescriptor { + return file_tensorizer_proto_tensors_proto_enumTypes[0].Descriptor() +} + +func (Dtype) Type() protoreflect.EnumType { + return &file_tensorizer_proto_tensors_proto_enumTypes[0] +} + +func (x Dtype) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Dtype.Descriptor instead. +func (Dtype) EnumDescriptor() ([]byte, []int) { + return file_tensorizer_proto_tensors_proto_rawDescGZIP(), []int{0} +} + +type AttributeType int32 + +const ( + AttributeType_AT_PARAMETER AttributeType = 0 + AttributeType_AT_BUFFER AttributeType = 1 +) + +// Enum value maps for AttributeType. +var ( + AttributeType_name = map[int32]string{ + 0: "AT_PARAMETER", + 1: "AT_BUFFER", + } + AttributeType_value = map[string]int32{ + "AT_PARAMETER": 0, + "AT_BUFFER": 1, + } +) + +func (x AttributeType) Enum() *AttributeType { + p := new(AttributeType) + *p = x + return p +} + +func (x AttributeType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AttributeType) Descriptor() protoreflect.EnumDescriptor { + return file_tensorizer_proto_tensors_proto_enumTypes[1].Descriptor() +} + +func (AttributeType) Type() protoreflect.EnumType { + return &file_tensorizer_proto_tensors_proto_enumTypes[1] +} + +func (x AttributeType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AttributeType.Descriptor instead. +func (AttributeType) EnumDescriptor() ([]byte, []int) { + return file_tensorizer_proto_tensors_proto_rawDescGZIP(), []int{1} +} + +type Tensor struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Dtype Dtype `protobuf:"varint,1,opt,name=dtype,proto3,enum=tensors.Dtype" json:"dtype,omitempty"` + Shape []int64 `protobuf:"varint,2,rep,packed,name=shape,proto3" json:"shape,omitempty"` + Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` + AttrType *AttributeType `protobuf:"varint,4,opt,name=attr_type,json=attrType,proto3,enum=tensors.AttributeType,oneof" json:"attr_type,omitempty"` +} + +func (x *Tensor) Reset() { + *x = Tensor{} + if protoimpl.UnsafeEnabled { + mi := &file_tensorizer_proto_tensors_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Tensor) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Tensor) ProtoMessage() {} + +func (x *Tensor) ProtoReflect() protoreflect.Message { + mi := &file_tensorizer_proto_tensors_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Tensor.ProtoReflect.Descriptor instead. +func (*Tensor) Descriptor() ([]byte, []int) { + return file_tensorizer_proto_tensors_proto_rawDescGZIP(), []int{0} +} + +func (x *Tensor) GetDtype() Dtype { + if x != nil { + return x.Dtype + } + return Dtype_DT_INVALID +} + +func (x *Tensor) GetShape() []int64 { + if x != nil { + return x.Shape + } + return nil +} + +func (x *Tensor) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +func (x *Tensor) GetAttrType() AttributeType { + if x != nil && x.AttrType != nil { + return *x.AttrType + } + return AttributeType_AT_PARAMETER +} + +type Attribute struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Types that are assignable to Value: + // *Attribute_Module + // *Attribute_Tensor + // *Attribute_String_ + // *Attribute_Int64 + // *Attribute_Float + // *Attribute_Bool + Value isAttribute_Value `protobuf_oneof:"value"` +} + +func (x *Attribute) Reset() { + *x = Attribute{} + if protoimpl.UnsafeEnabled { + mi := &file_tensorizer_proto_tensors_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Attribute) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Attribute) ProtoMessage() {} + +func (x *Attribute) ProtoReflect() protoreflect.Message { + mi := &file_tensorizer_proto_tensors_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Attribute.ProtoReflect.Descriptor instead. +func (*Attribute) Descriptor() ([]byte, []int) { + return file_tensorizer_proto_tensors_proto_rawDescGZIP(), []int{1} +} + +func (x *Attribute) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (m *Attribute) GetValue() isAttribute_Value { + if m != nil { + return m.Value + } + return nil +} + +func (x *Attribute) GetModule() *Module { + if x, ok := x.GetValue().(*Attribute_Module); ok { + return x.Module + } + return nil +} + +func (x *Attribute) GetTensor() *Tensor { + if x, ok := x.GetValue().(*Attribute_Tensor); ok { + return x.Tensor + } + return nil +} + +func (x *Attribute) GetString_() string { + if x, ok := x.GetValue().(*Attribute_String_); ok { + return x.String_ + } + return "" +} + +func (x *Attribute) GetInt64() int64 { + if x, ok := x.GetValue().(*Attribute_Int64); ok { + return x.Int64 + } + return 0 +} + +func (x *Attribute) GetFloat() float32 { + if x, ok := x.GetValue().(*Attribute_Float); ok { + return x.Float + } + return 0 +} + +func (x *Attribute) GetBool() bool { + if x, ok := x.GetValue().(*Attribute_Bool); ok { + return x.Bool + } + return false +} + +type isAttribute_Value interface { + isAttribute_Value() +} + +type Attribute_Module struct { + Module *Module `protobuf:"bytes,3,opt,name=module,proto3,oneof"` +} + +type Attribute_Tensor struct { + Tensor *Tensor `protobuf:"bytes,4,opt,name=tensor,proto3,oneof"` +} + +type Attribute_String_ struct { + String_ string `protobuf:"bytes,5,opt,name=string,proto3,oneof"` +} + +type Attribute_Int64 struct { + Int64 int64 `protobuf:"varint,6,opt,name=int64,proto3,oneof"` +} + +type Attribute_Float struct { + Float float32 `protobuf:"fixed32,7,opt,name=float,proto3,oneof"` +} + +type Attribute_Bool struct { + Bool bool `protobuf:"varint,8,opt,name=bool,proto3,oneof"` +} + +func (*Attribute_Module) isAttribute_Value() {} + +func (*Attribute_Tensor) isAttribute_Value() {} + +func (*Attribute_String_) isAttribute_Value() {} + +func (*Attribute_Int64) isAttribute_Value() {} + +func (*Attribute_Float) isAttribute_Value() {} + +func (*Attribute_Bool) isAttribute_Value() {} + +type Module struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"` + Attributes []*Attribute `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"` +} + +func (x *Module) Reset() { + *x = Module{} + if protoimpl.UnsafeEnabled { + mi := &file_tensorizer_proto_tensors_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Module) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Module) ProtoMessage() {} + +func (x *Module) ProtoReflect() protoreflect.Message { + mi := &file_tensorizer_proto_tensors_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Module.ProtoReflect.Descriptor instead. +func (*Module) Descriptor() ([]byte, []int) { + return file_tensorizer_proto_tensors_proto_rawDescGZIP(), []int{2} +} + +func (x *Module) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Module) GetNames() []string { + if x != nil { + return x.Names + } + return nil +} + +func (x *Module) GetAttributes() []*Attribute { + if x != nil { + return x.Attributes + } + return nil +} + +var File_tensorizer_proto_tensors_proto protoreflect.FileDescriptor + +var file_tensorizer_proto_tensors_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x74, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2f, 0x74, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x07, 0x74, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x22, 0xa0, 0x01, 0x0a, 0x06, 0x54, 0x65, + 0x6e, 0x73, 0x6f, 0x72, 0x12, 0x24, 0x0a, 0x05, 0x64, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x74, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x2e, 0x44, 0x74, + 0x79, 0x70, 0x65, 0x52, 0x05, 0x64, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, + 0x61, 0x70, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x03, 0x52, 0x05, 0x73, 0x68, 0x61, 0x70, 0x65, + 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x12, 0x38, 0x0a, 0x09, 0x61, 0x74, 0x74, 0x72, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x74, 0x65, 0x6e, 0x73, 0x6f, 0x72, + 0x73, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x48, + 0x00, 0x52, 0x08, 0x61, 0x74, 0x74, 0x72, 0x54, 0x79, 0x70, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0c, + 0x0a, 0x0a, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0xde, 0x01, 0x0a, + 0x09, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, + 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, + 0x2e, 0x74, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x48, + 0x00, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x74, 0x65, 0x6e, + 0x73, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x65, 0x6e, 0x73, + 0x6f, 0x72, 0x73, 0x2e, 0x54, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x06, 0x74, 0x65, + 0x6e, 0x73, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x16, + 0x0a, 0x05, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, + 0x05, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x16, 0x0a, 0x05, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x05, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x14, + 0x0a, 0x04, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x04, + 0x62, 0x6f, 0x6f, 0x6c, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x66, 0x0a, + 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x12, 0x32, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x2e, + 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x73, 0x2a, 0x9e, 0x02, 0x0a, 0x05, 0x44, 0x74, 0x79, 0x70, 0x65, 0x12, + 0x0e, 0x0a, 0x0a, 0x44, 0x54, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, + 0x0e, 0x0a, 0x0a, 0x44, 0x54, 0x5f, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x33, 0x32, 0x10, 0x01, 0x12, + 0x0e, 0x0a, 0x0a, 0x44, 0x54, 0x5f, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x36, 0x34, 0x10, 0x02, 0x12, + 0x0e, 0x0a, 0x0a, 0x44, 0x54, 0x5f, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x31, 0x36, 0x10, 0x03, 0x12, + 0x0f, 0x0a, 0x0b, 0x44, 0x54, 0x5f, 0x42, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x31, 0x36, 0x10, 0x04, + 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x54, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x58, 0x33, 0x32, + 0x10, 0x05, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x54, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x58, + 0x36, 0x34, 0x10, 0x06, 0x12, 0x11, 0x0a, 0x0d, 0x44, 0x54, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, + 0x45, 0x58, 0x31, 0x32, 0x38, 0x10, 0x07, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x54, 0x5f, 0x55, 0x49, + 0x4e, 0x54, 0x38, 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x54, 0x5f, 0x49, 0x4e, 0x54, 0x38, + 0x10, 0x09, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x54, 0x5f, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x0a, + 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x54, 0x5f, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x0b, 0x12, 0x0c, + 0x0a, 0x08, 0x44, 0x54, 0x5f, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x0c, 0x12, 0x0b, 0x0a, 0x07, + 0x44, 0x54, 0x5f, 0x42, 0x4f, 0x4f, 0x4c, 0x10, 0x0d, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x54, 0x5f, + 0x51, 0x55, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x0e, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x54, 0x5f, 0x51, + 0x49, 0x4e, 0x54, 0x38, 0x10, 0x0f, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x54, 0x5f, 0x51, 0x49, 0x4e, + 0x54, 0x33, 0x32, 0x10, 0x10, 0x12, 0x0f, 0x0a, 0x0b, 0x44, 0x54, 0x5f, 0x51, 0x55, 0x49, 0x4e, + 0x54, 0x34, 0x5f, 0x32, 0x10, 0x11, 0x2a, 0x30, 0x0a, 0x0d, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x54, 0x5f, 0x50, 0x41, + 0x52, 0x41, 0x4d, 0x45, 0x54, 0x45, 0x52, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x5f, + 0x42, 0x55, 0x46, 0x46, 0x45, 0x52, 0x10, 0x01, 0x42, 0x9d, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, + 0x2e, 0x74, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x42, 0x0c, 0x54, 0x65, 0x6e, 0x73, 0x6f, 0x72, + 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2d, 0x61, + 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, + 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, + 0x6e, 0x73, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0xa2, 0x02, + 0x03, 0x54, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x54, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0xca, 0x02, + 0x07, 0x54, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0xe2, 0x02, 0x13, 0x54, 0x65, 0x6e, 0x73, 0x6f, + 0x72, 0x73, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x07, 0x54, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_tensorizer_proto_tensors_proto_rawDescOnce sync.Once + file_tensorizer_proto_tensors_proto_rawDescData = file_tensorizer_proto_tensors_proto_rawDesc +) + +func file_tensorizer_proto_tensors_proto_rawDescGZIP() []byte { + file_tensorizer_proto_tensors_proto_rawDescOnce.Do(func() { + file_tensorizer_proto_tensors_proto_rawDescData = protoimpl.X.CompressGZIP(file_tensorizer_proto_tensors_proto_rawDescData) + }) + return file_tensorizer_proto_tensors_proto_rawDescData +} + +var file_tensorizer_proto_tensors_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_tensorizer_proto_tensors_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_tensorizer_proto_tensors_proto_goTypes = []interface{}{ + (Dtype)(0), // 0: tensors.Dtype + (AttributeType)(0), // 1: tensors.AttributeType + (*Tensor)(nil), // 2: tensors.Tensor + (*Attribute)(nil), // 3: tensors.Attribute + (*Module)(nil), // 4: tensors.Module +} +var file_tensorizer_proto_tensors_proto_depIdxs = []int32{ + 0, // 0: tensors.Tensor.dtype:type_name -> tensors.Dtype + 1, // 1: tensors.Tensor.attr_type:type_name -> tensors.AttributeType + 4, // 2: tensors.Attribute.module:type_name -> tensors.Module + 2, // 3: tensors.Attribute.tensor:type_name -> tensors.Tensor + 3, // 4: tensors.Module.attributes:type_name -> tensors.Attribute + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_tensorizer_proto_tensors_proto_init() } +func file_tensorizer_proto_tensors_proto_init() { + if File_tensorizer_proto_tensors_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_tensorizer_proto_tensors_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Tensor); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tensorizer_proto_tensors_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Attribute); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tensorizer_proto_tensors_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Module); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_tensorizer_proto_tensors_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_tensorizer_proto_tensors_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*Attribute_Module)(nil), + (*Attribute_Tensor)(nil), + (*Attribute_String_)(nil), + (*Attribute_Int64)(nil), + (*Attribute_Float)(nil), + (*Attribute_Bool)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_tensorizer_proto_tensors_proto_rawDesc, + NumEnums: 2, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_tensorizer_proto_tensors_proto_goTypes, + DependencyIndexes: file_tensorizer_proto_tensors_proto_depIdxs, + EnumInfos: file_tensorizer_proto_tensors_proto_enumTypes, + MessageInfos: file_tensorizer_proto_tensors_proto_msgTypes, + }.Build() + File_tensorizer_proto_tensors_proto = out.File + file_tensorizer_proto_tensors_proto_rawDesc = nil + file_tensorizer_proto_tensors_proto_goTypes = nil + file_tensorizer_proto_tensors_proto_depIdxs = nil +} diff --git a/gen/proto/python/poetry.lock b/gen/proto/python/poetry.lock new file mode 100644 index 0000000..420ecc1 --- /dev/null +++ b/gen/proto/python/poetry.lock @@ -0,0 +1,30 @@ +[[package]] +name = "protobuf" +version = "4.21.6" +description = "" +category = "main" +optional = false +python-versions = ">=3.7" + +[metadata] +lock-version = "1.1" +python-versions = "^3.7" +content-hash = "45954d5523af846396926c16f1e9a9daf9486f11630debe7ba52fe3c6e59659e" + +[metadata.files] +protobuf = [ + {file = "protobuf-4.21.6-cp310-abi3-win32.whl", hash = "sha256:49f88d56a9180dbb7f6199c920f5bb5c1dd0172f672983bb281298d57c2ac8eb"}, + {file = "protobuf-4.21.6-cp310-abi3-win_amd64.whl", hash = "sha256:7a6cc8842257265bdfd6b74d088b829e44bcac3cca234c5fdd6052730017b9ea"}, + {file = "protobuf-4.21.6-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:ba596b9ffb85c909fcfe1b1a23136224ed678af3faf9912d3fa483d5f9813c4e"}, + {file = "protobuf-4.21.6-cp37-abi3-manylinux2014_aarch64.whl", hash = "sha256:4143513c766db85b9d7c18dbf8339673c8a290131b2a0fe73855ab20770f72b0"}, + {file = "protobuf-4.21.6-cp37-abi3-manylinux2014_x86_64.whl", hash = "sha256:b6cea204865595a92a7b240e4b65bcaaca3ad5d2ce25d9db3756eba06041138e"}, + {file = "protobuf-4.21.6-cp37-cp37m-win32.whl", hash = "sha256:9666da97129138585b26afcb63ad4887f602e169cafe754a8258541c553b8b5d"}, + {file = "protobuf-4.21.6-cp37-cp37m-win_amd64.whl", hash = "sha256:308173d3e5a3528787bb8c93abea81d5a950bdce62840d9760effc84127fb39c"}, + {file = "protobuf-4.21.6-cp38-cp38-win32.whl", hash = "sha256:aa29113ec901281f29d9d27b01193407a98aa9658b8a777b0325e6d97149f5ce"}, + {file = "protobuf-4.21.6-cp38-cp38-win_amd64.whl", hash = "sha256:8f9e60f7d44592c66e7b332b6a7b4b6e8d8b889393c79dbc3a91f815118f8eac"}, + {file = "protobuf-4.21.6-cp39-cp39-win32.whl", hash = "sha256:80e6540381080715fddac12690ee42d087d0d17395f8d0078dfd6f1181e7be4c"}, + {file = "protobuf-4.21.6-cp39-cp39-win_amd64.whl", hash = "sha256:77b355c8604fe285536155286b28b0c4cbc57cf81b08d8357bf34829ea982860"}, + {file = "protobuf-4.21.6-py2.py3-none-any.whl", hash = "sha256:07a0bb9cc6114f16a39c866dc28b6e3d96fa4ffb9cc1033057412547e6e75cb9"}, + {file = "protobuf-4.21.6-py3-none-any.whl", hash = "sha256:c7c864148a237f058c739ae7a05a2b403c0dfa4ce7d1f3e5213f352ad52d57c6"}, + {file = "protobuf-4.21.6.tar.gz", hash = "sha256:6b1040a5661cd5f6e610cbca9cfaa2a17d60e2bb545309bc1b278bb05be44bdd"}, +] diff --git a/gen/proto/python/pyproject.toml b/gen/proto/python/pyproject.toml new file mode 100644 index 0000000..042e402 --- /dev/null +++ b/gen/proto/python/pyproject.toml @@ -0,0 +1,16 @@ + +[tool.poetry] +name = "stability-api-interfaces" +version = "1.0.0" +description = "Stability API Interfaces for use with Python" +authors = ["Place Holder "] +packages = [{include = "stability_api_interfaces"}] + +[tool.poetry.dependencies] +python = "^3.7" +protobuf = "^4.21.6" + + +[build-system] +requires = ["poetry-core"] +build-backend = "poetry.core.masonry.api" diff --git a/gen/proto/python/requirements.txt b/gen/proto/python/requirements.txt new file mode 100644 index 0000000..d6fb772 --- /dev/null +++ b/gen/proto/python/requirements.txt @@ -0,0 +1,15 @@ +protobuf==4.21.6 ; python_version >= "3.7" and python_version < "4.0" \ + --hash=sha256:07a0bb9cc6114f16a39c866dc28b6e3d96fa4ffb9cc1033057412547e6e75cb9 \ + --hash=sha256:308173d3e5a3528787bb8c93abea81d5a950bdce62840d9760effc84127fb39c \ + --hash=sha256:4143513c766db85b9d7c18dbf8339673c8a290131b2a0fe73855ab20770f72b0 \ + --hash=sha256:49f88d56a9180dbb7f6199c920f5bb5c1dd0172f672983bb281298d57c2ac8eb \ + --hash=sha256:6b1040a5661cd5f6e610cbca9cfaa2a17d60e2bb545309bc1b278bb05be44bdd \ + --hash=sha256:77b355c8604fe285536155286b28b0c4cbc57cf81b08d8357bf34829ea982860 \ + --hash=sha256:7a6cc8842257265bdfd6b74d088b829e44bcac3cca234c5fdd6052730017b9ea \ + --hash=sha256:80e6540381080715fddac12690ee42d087d0d17395f8d0078dfd6f1181e7be4c \ + --hash=sha256:8f9e60f7d44592c66e7b332b6a7b4b6e8d8b889393c79dbc3a91f815118f8eac \ + --hash=sha256:9666da97129138585b26afcb63ad4887f602e169cafe754a8258541c553b8b5d \ + --hash=sha256:aa29113ec901281f29d9d27b01193407a98aa9658b8a777b0325e6d97149f5ce \ + --hash=sha256:b6cea204865595a92a7b240e4b65bcaaca3ad5d2ce25d9db3756eba06041138e \ + --hash=sha256:ba596b9ffb85c909fcfe1b1a23136224ed678af3faf9912d3fa483d5f9813c4e \ + --hash=sha256:c7c864148a237f058c739ae7a05a2b403c0dfa4ce7d1f3e5213f352ad52d57c6 diff --git a/gooseai/__init__.py b/gen/proto/python/stability_api_interfaces/__init__.py similarity index 100% rename from gooseai/__init__.py rename to gen/proto/python/stability_api_interfaces/__init__.py diff --git a/gooseai/generation/__init__.py b/gen/proto/python/stability_api_interfaces/gooseai/__init__.py similarity index 100% rename from gooseai/generation/__init__.py rename to gen/proto/python/stability_api_interfaces/gooseai/__init__.py diff --git a/gen/proto/python/stability_api_interfaces/gooseai/dashboard_pb2.py b/gen/proto/python/stability_api_interfaces/gooseai/dashboard_pb2.py new file mode 100644 index 0000000..501fbdd --- /dev/null +++ b/gen/proto/python/stability_api_interfaces/gooseai/dashboard_pb2.py @@ -0,0 +1,73 @@ + +'Generated protocol buffer code.' +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +_sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17gooseai/dashboard.proto\x12\x07gooseai"\xce\x01\n\x12OrganizationMember\x129\n\x0corganization\x18\x01 \x01(\x0b2\x15.gooseai.OrganizationR\x0corganization\x12&\n\x04user\x18\x02 \x01(\x0b2\r.gooseai.UserH\x00R\x04user\x88\x01\x01\x12-\n\x04role\x18\x03 \x01(\x0e2\x19.gooseai.OrganizationRoleR\x04role\x12\x1d\n\nis_default\x18\x04 \x01(\x08R\tisDefaultB\x07\n\x05_user"\x99\x01\n\x11OrganizationGrant\x12%\n\x0eamount_granted\x18\x01 \x01(\x01R\ramountGranted\x12\x1f\n\x0bamount_used\x18\x02 \x01(\x01R\namountUsed\x12\x1d\n\nexpires_at\x18\x03 \x01(\x04R\texpiresAt\x12\x1d\n\ngranted_at\x18\x04 \x01(\x04R\tgrantedAt"g\n\x17OrganizationPaymentInfo\x12\x18\n\x07balance\x18\x01 \x01(\x01R\x07balance\x122\n\x06grants\x18\x02 \x03(\x0b2\x1a.gooseai.OrganizationGrantR\x06grants"a\n\x16OrganizationAutoCharge\x12\x18\n\x07enabled\x18\x01 \x01(\x08R\x07enabled\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x1d\n\ncreated_at\x18\x03 \x01(\x04R\tcreatedAt"\x87\x03\n\x0cOrganization\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0bdescription\x18\x03 \x01(\tR\x0bdescription\x125\n\x07members\x18\x04 \x03(\x0b2\x1b.gooseai.OrganizationMemberR\x07members\x12H\n\x0cpayment_info\x18\x05 \x01(\x0b2 .gooseai.OrganizationPaymentInfoH\x00R\x0bpaymentInfo\x88\x01\x01\x121\n\x12stripe_customer_id\x18\x06 \x01(\tH\x01R\x10stripeCustomerId\x88\x01\x01\x12E\n\x0bauto_charge\x18\x07 \x01(\x0b2\x1f.gooseai.OrganizationAutoChargeH\x02R\nautoCharge\x88\x01\x01B\x0f\n\r_payment_infoB\x15\n\x13_stripe_customer_idB\x0e\n\x0c_auto_charge"V\n\x06APIKey\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x1b\n\tis_secret\x18\x02 \x01(\x08R\x08isSecret\x12\x1d\n\ncreated_at\x18\x03 \x01(\x04R\tcreatedAt"\xcc\x02\n\x04User\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1c\n\x07auth_id\x18\x02 \x01(\tH\x00R\x06authId\x88\x01\x01\x12\'\n\x0fprofile_picture\x18\x03 \x01(\tR\x0eprofilePicture\x12\x14\n\x05email\x18\x04 \x01(\tR\x05email\x12A\n\rorganizations\x18\x05 \x03(\x0b2\x1b.gooseai.OrganizationMemberR\rorganizations\x12*\n\x08api_keys\x18\x07 \x03(\x0b2\x0f.gooseai.APIKeyR\x07apiKeys\x12\x1d\n\ncreated_at\x18\x08 \x01(\x04R\tcreatedAt\x12*\n\x0eemail_verified\x18\t \x01(\x08H\x01R\remailVerified\x88\x01\x01B\n\n\x08_auth_idB\x11\n\x0f_email_verified"V\n\x08CostData\x12#\n\ramount_tokens\x18\x01 \x01(\rR\x0camountTokens\x12%\n\x0eamount_credits\x18\x02 \x01(\x01R\ramountCredits"\x80\x02\n\x0bUsageMetric\x12\x1c\n\toperation\x18\x01 \x01(\tR\toperation\x12\x16\n\x06engine\x18\x02 \x01(\tR\x06engine\x120\n\ninput_cost\x18\x03 \x01(\x0b2\x11.gooseai.CostDataR\tinputCost\x122\n\x0boutput_cost\x18\x04 \x01(\x0b2\x11.gooseai.CostDataR\noutputCost\x12\x17\n\x04user\x18\x05 \x01(\tH\x00R\x04user\x88\x01\x01\x123\n\x15aggregation_timestamp\x18\x06 \x01(\x04R\x14aggregationTimestampB\x07\n\x05_user"W\n\tCostTotal\x12#\n\ramount_tokens\x18\x01 \x01(\rR\x0camountTokens\x12%\n\x0eamount_credits\x18\x02 \x01(\x01R\ramountCredits"~\n\x10TotalMetricsData\x123\n\x0binput_total\x18\x01 \x01(\x0b2\x12.gooseai.CostTotalR\ninputTotal\x125\n\x0coutput_total\x18\x02 \x01(\x0b2\x12.gooseai.CostTotalR\x0boutputTotal"j\n\x07Metrics\x12.\n\x07metrics\x18\x01 \x03(\x0b2\x14.gooseai.UsageMetricR\x07metrics\x12/\n\x05total\x18\x02 \x01(\x0b2\x19.gooseai.TotalMetricsDataR\x05total"\x0e\n\x0cEmptyRequest"(\n\x16GetOrganizationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\xdf\x01\n\x11GetMetricsRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1c\n\x07user_id\x18\x02 \x01(\tH\x00R\x06userId\x88\x01\x01\x12\x1d\n\nrange_from\x18\x03 \x01(\x04R\trangeFrom\x12\x19\n\x08range_to\x18\x04 \x01(\x04R\x07rangeTo\x12=\n\x1binclude_per_request_metrics\x18\x05 \x01(\x08R\x18includePerRequestMetricsB\n\n\x08_user_id",\n\rAPIKeyRequest\x12\x1b\n\tis_secret\x18\x01 \x01(\x08R\x08isSecret"#\n\x11APIKeyFindRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"K\n UpdateDefaultOrganizationRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId",\n\x0eClientSettings\x12\x1a\n\x08settings\x18\x01 \x01(\x0cR\x08settings"\xbd\x01\n\x1dCreateAutoChargeIntentRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\'\n\x0fmonthly_maximum\x18\x02 \x01(\x04R\x0emonthlyMaximum\x12#\n\rminimum_value\x18\x03 \x01(\x04R\x0cminimumValue\x12%\n\x0eamount_credits\x18\x04 \x01(\x04R\ramountCredits"V\n\x13CreateChargeRequest\x12\x16\n\x06amount\x18\x01 \x01(\x04R\x06amount\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId"v\n\x11GetChargesRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1d\n\nrange_from\x18\x02 \x01(\x04R\trangeFrom\x12\x19\n\x08range_to\x18\x03 \x01(\x04R\x07rangeTo"\xb8\x01\n\x06Charge\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04paid\x18\x02 \x01(\x08R\x04paid\x12!\n\x0creceipt_link\x18\x03 \x01(\tR\x0breceiptLink\x12!\n\x0cpayment_link\x18\x04 \x01(\tR\x0bpaymentLink\x12\x1d\n\ncreated_at\x18\x05 \x01(\x04R\tcreatedAt\x12%\n\x0eamount_credits\x18\x06 \x01(\x04R\ramountCredits"4\n\x07Charges\x12)\n\x07charges\x18\x01 \x03(\x0b2\x0f.gooseai.ChargeR\x07charges"?\n\x14GetAutoChargeRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId"\xd9\x01\n\x10AutoChargeIntent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12!\n\x0cpayment_link\x18\x02 \x01(\tR\x0bpaymentLink\x12\x1d\n\ncreated_at\x18\x03 \x01(\x04R\tcreatedAt\x12\'\n\x0fmonthly_maximum\x18\x04 \x01(\x04R\x0emonthlyMaximum\x12#\n\rminimum_value\x18\x05 \x01(\x04R\x0cminimumValue\x12%\n\x0eamount_credits\x18\x06 \x01(\x04R\ramountCredits"<\n\x15UpdateUserInfoRequest\x12\x19\n\x05email\x18\x01 \x01(\tH\x00R\x05email\x88\x01\x01B\x08\n\x06_email"2\n\x18UserPasswordChangeTicket\x12\x16\n\x06ticket\x18\x01 \x01(\tR\x06ticket*9\n\x10OrganizationRole\x12\n\n\x06MEMBER\x10\x00\x12\x0e\n\nACCOUNTANT\x10\x01\x12\t\n\x05OWNER\x10\x022\xf7\x08\n\x10DashboardService\x12-\n\x05GetMe\x12\x15.gooseai.EmptyRequest\x1a\r.gooseai.User\x12I\n\x0fGetOrganization\x12\x1f.gooseai.GetOrganizationRequest\x1a\x15.gooseai.Organization\x12:\n\nGetMetrics\x12\x1a.gooseai.GetMetricsRequest\x1a\x10.gooseai.Metrics\x127\n\x0cCreateAPIKey\x12\x16.gooseai.APIKeyRequest\x1a\x0f.gooseai.APIKey\x12;\n\x0cDeleteAPIKey\x12\x1a.gooseai.APIKeyFindRequest\x1a\x0f.gooseai.APIKey\x12U\n\x19UpdateDefaultOrganization\x12).gooseai.UpdateDefaultOrganizationRequest\x1a\r.gooseai.User\x12C\n\x11GetClientSettings\x12\x15.gooseai.EmptyRequest\x1a\x17.gooseai.ClientSettings\x12E\n\x11SetClientSettings\x12\x17.gooseai.ClientSettings\x1a\x17.gooseai.ClientSettings\x12?\n\x0eUpdateUserInfo\x12\x1e.gooseai.UpdateUserInfoRequest\x1a\r.gooseai.User\x12V\n\x1aCreatePasswordChangeTicket\x12\x15.gooseai.EmptyRequest\x1a!.gooseai.UserPasswordChangeTicket\x125\n\rDeleteAccount\x12\x15.gooseai.EmptyRequest\x1a\r.gooseai.User\x12=\n\x0cCreateCharge\x12\x1c.gooseai.CreateChargeRequest\x1a\x0f.gooseai.Charge\x12:\n\nGetCharges\x12\x1a.gooseai.GetChargesRequest\x1a\x10.gooseai.Charges\x12[\n\x16CreateAutoChargeIntent\x12&.gooseai.CreateAutoChargeIntentRequest\x1a\x19.gooseai.AutoChargeIntent\x12[\n\x16UpdateAutoChargeIntent\x12&.gooseai.CreateAutoChargeIntentRequest\x1a\x19.gooseai.AutoChargeIntent\x12O\n\x13GetAutoChargeIntent\x12\x1d.gooseai.GetAutoChargeRequest\x1a\x19.gooseai.AutoChargeIntentB\x96\x01\n\x0bcom.gooseaiB\x0eDashboardProtoP\x01Z;github.com/stability-ai/api-interfaces/gen/proto/go/gooseai\xa2\x02\x03GXX\xaa\x02\x07Gooseai\xca\x02\x07Gooseai\xe2\x02\x13Gooseai\\GPBMetadata\xea\x02\x07Gooseaib\x06proto3') +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'gooseai.dashboard_pb2', globals()) +if (_descriptor._USE_C_DESCRIPTORS == False): + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\x0bcom.gooseaiB\x0eDashboardProtoP\x01Z;github.com/stability-ai/api-interfaces/gen/proto/go/gooseai\xa2\x02\x03GXX\xaa\x02\x07Gooseai\xca\x02\x07Gooseai\xe2\x02\x13Gooseai\\GPBMetadata\xea\x02\x07Gooseai' + _ORGANIZATIONROLE._serialized_start = 3624 + _ORGANIZATIONROLE._serialized_end = 3681 + _ORGANIZATIONMEMBER._serialized_start = 37 + _ORGANIZATIONMEMBER._serialized_end = 243 + _ORGANIZATIONGRANT._serialized_start = 246 + _ORGANIZATIONGRANT._serialized_end = 399 + _ORGANIZATIONPAYMENTINFO._serialized_start = 401 + _ORGANIZATIONPAYMENTINFO._serialized_end = 504 + _ORGANIZATIONAUTOCHARGE._serialized_start = 506 + _ORGANIZATIONAUTOCHARGE._serialized_end = 603 + _ORGANIZATION._serialized_start = 606 + _ORGANIZATION._serialized_end = 997 + _APIKEY._serialized_start = 999 + _APIKEY._serialized_end = 1085 + _USER._serialized_start = 1088 + _USER._serialized_end = 1420 + _COSTDATA._serialized_start = 1422 + _COSTDATA._serialized_end = 1508 + _USAGEMETRIC._serialized_start = 1511 + _USAGEMETRIC._serialized_end = 1767 + _COSTTOTAL._serialized_start = 1769 + _COSTTOTAL._serialized_end = 1856 + _TOTALMETRICSDATA._serialized_start = 1858 + _TOTALMETRICSDATA._serialized_end = 1984 + _METRICS._serialized_start = 1986 + _METRICS._serialized_end = 2092 + _EMPTYREQUEST._serialized_start = 2094 + _EMPTYREQUEST._serialized_end = 2108 + _GETORGANIZATIONREQUEST._serialized_start = 2110 + _GETORGANIZATIONREQUEST._serialized_end = 2150 + _GETMETRICSREQUEST._serialized_start = 2153 + _GETMETRICSREQUEST._serialized_end = 2376 + _APIKEYREQUEST._serialized_start = 2378 + _APIKEYREQUEST._serialized_end = 2422 + _APIKEYFINDREQUEST._serialized_start = 2424 + _APIKEYFINDREQUEST._serialized_end = 2459 + _UPDATEDEFAULTORGANIZATIONREQUEST._serialized_start = 2461 + _UPDATEDEFAULTORGANIZATIONREQUEST._serialized_end = 2536 + _CLIENTSETTINGS._serialized_start = 2538 + _CLIENTSETTINGS._serialized_end = 2582 + _CREATEAUTOCHARGEINTENTREQUEST._serialized_start = 2585 + _CREATEAUTOCHARGEINTENTREQUEST._serialized_end = 2774 + _CREATECHARGEREQUEST._serialized_start = 2776 + _CREATECHARGEREQUEST._serialized_end = 2862 + _GETCHARGESREQUEST._serialized_start = 2864 + _GETCHARGESREQUEST._serialized_end = 2982 + _CHARGE._serialized_start = 2985 + _CHARGE._serialized_end = 3169 + _CHARGES._serialized_start = 3171 + _CHARGES._serialized_end = 3223 + _GETAUTOCHARGEREQUEST._serialized_start = 3225 + _GETAUTOCHARGEREQUEST._serialized_end = 3288 + _AUTOCHARGEINTENT._serialized_start = 3291 + _AUTOCHARGEINTENT._serialized_end = 3508 + _UPDATEUSERINFOREQUEST._serialized_start = 3510 + _UPDATEUSERINFOREQUEST._serialized_end = 3570 + _USERPASSWORDCHANGETICKET._serialized_start = 3572 + _USERPASSWORDCHANGETICKET._serialized_end = 3622 + _DASHBOARDSERVICE._serialized_start = 3684 + _DASHBOARDSERVICE._serialized_end = 4827 diff --git a/gen/proto/python/stability_api_interfaces/gooseai/dashboard_pb2_grpc.py b/gen/proto/python/stability_api_interfaces/gooseai/dashboard_pb2_grpc.py new file mode 100644 index 0000000..63e58b1 --- /dev/null +++ b/gen/proto/python/stability_api_interfaces/gooseai/dashboard_pb2_grpc.py @@ -0,0 +1,197 @@ + +'Client and server classes corresponding to protobuf-defined services.' +import grpc +from ..gooseai import dashboard_pb2 as gooseai_dot_dashboard__pb2 + +class DashboardServiceStub(object): + 'Missing associated documentation comment in .proto file.' + + def __init__(self, channel): + 'Constructor.\n\n Args:\n channel: A grpc.Channel.\n ' + self.GetMe = channel.unary_unary('/gooseai.DashboardService/GetMe', request_serializer=gooseai_dot_dashboard__pb2.EmptyRequest.SerializeToString, response_deserializer=gooseai_dot_dashboard__pb2.User.FromString) + self.GetOrganization = channel.unary_unary('/gooseai.DashboardService/GetOrganization', request_serializer=gooseai_dot_dashboard__pb2.GetOrganizationRequest.SerializeToString, response_deserializer=gooseai_dot_dashboard__pb2.Organization.FromString) + self.GetMetrics = channel.unary_unary('/gooseai.DashboardService/GetMetrics', request_serializer=gooseai_dot_dashboard__pb2.GetMetricsRequest.SerializeToString, response_deserializer=gooseai_dot_dashboard__pb2.Metrics.FromString) + self.CreateAPIKey = channel.unary_unary('/gooseai.DashboardService/CreateAPIKey', request_serializer=gooseai_dot_dashboard__pb2.APIKeyRequest.SerializeToString, response_deserializer=gooseai_dot_dashboard__pb2.APIKey.FromString) + self.DeleteAPIKey = channel.unary_unary('/gooseai.DashboardService/DeleteAPIKey', request_serializer=gooseai_dot_dashboard__pb2.APIKeyFindRequest.SerializeToString, response_deserializer=gooseai_dot_dashboard__pb2.APIKey.FromString) + self.UpdateDefaultOrganization = channel.unary_unary('/gooseai.DashboardService/UpdateDefaultOrganization', request_serializer=gooseai_dot_dashboard__pb2.UpdateDefaultOrganizationRequest.SerializeToString, response_deserializer=gooseai_dot_dashboard__pb2.User.FromString) + self.GetClientSettings = channel.unary_unary('/gooseai.DashboardService/GetClientSettings', request_serializer=gooseai_dot_dashboard__pb2.EmptyRequest.SerializeToString, response_deserializer=gooseai_dot_dashboard__pb2.ClientSettings.FromString) + self.SetClientSettings = channel.unary_unary('/gooseai.DashboardService/SetClientSettings', request_serializer=gooseai_dot_dashboard__pb2.ClientSettings.SerializeToString, response_deserializer=gooseai_dot_dashboard__pb2.ClientSettings.FromString) + self.UpdateUserInfo = channel.unary_unary('/gooseai.DashboardService/UpdateUserInfo', request_serializer=gooseai_dot_dashboard__pb2.UpdateUserInfoRequest.SerializeToString, response_deserializer=gooseai_dot_dashboard__pb2.User.FromString) + self.CreatePasswordChangeTicket = channel.unary_unary('/gooseai.DashboardService/CreatePasswordChangeTicket', request_serializer=gooseai_dot_dashboard__pb2.EmptyRequest.SerializeToString, response_deserializer=gooseai_dot_dashboard__pb2.UserPasswordChangeTicket.FromString) + self.DeleteAccount = channel.unary_unary('/gooseai.DashboardService/DeleteAccount', request_serializer=gooseai_dot_dashboard__pb2.EmptyRequest.SerializeToString, response_deserializer=gooseai_dot_dashboard__pb2.User.FromString) + self.CreateCharge = channel.unary_unary('/gooseai.DashboardService/CreateCharge', request_serializer=gooseai_dot_dashboard__pb2.CreateChargeRequest.SerializeToString, response_deserializer=gooseai_dot_dashboard__pb2.Charge.FromString) + self.GetCharges = channel.unary_unary('/gooseai.DashboardService/GetCharges', request_serializer=gooseai_dot_dashboard__pb2.GetChargesRequest.SerializeToString, response_deserializer=gooseai_dot_dashboard__pb2.Charges.FromString) + self.CreateAutoChargeIntent = channel.unary_unary('/gooseai.DashboardService/CreateAutoChargeIntent', request_serializer=gooseai_dot_dashboard__pb2.CreateAutoChargeIntentRequest.SerializeToString, response_deserializer=gooseai_dot_dashboard__pb2.AutoChargeIntent.FromString) + self.UpdateAutoChargeIntent = channel.unary_unary('/gooseai.DashboardService/UpdateAutoChargeIntent', request_serializer=gooseai_dot_dashboard__pb2.CreateAutoChargeIntentRequest.SerializeToString, response_deserializer=gooseai_dot_dashboard__pb2.AutoChargeIntent.FromString) + self.GetAutoChargeIntent = channel.unary_unary('/gooseai.DashboardService/GetAutoChargeIntent', request_serializer=gooseai_dot_dashboard__pb2.GetAutoChargeRequest.SerializeToString, response_deserializer=gooseai_dot_dashboard__pb2.AutoChargeIntent.FromString) + +class DashboardServiceServicer(object): + 'Missing associated documentation comment in .proto file.' + + def GetMe(self, request, context): + 'Get info\n ' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetOrganization(self, request, context): + 'Missing associated documentation comment in .proto file.' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetMetrics(self, request, context): + 'Missing associated documentation comment in .proto file.' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreateAPIKey(self, request, context): + 'API key management\n ' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteAPIKey(self, request, context): + 'Missing associated documentation comment in .proto file.' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateDefaultOrganization(self, request, context): + 'User settings\n ' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetClientSettings(self, request, context): + 'Missing associated documentation comment in .proto file.' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SetClientSettings(self, request, context): + 'Missing associated documentation comment in .proto file.' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateUserInfo(self, request, context): + 'Missing associated documentation comment in .proto file.' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreatePasswordChangeTicket(self, request, context): + 'Missing associated documentation comment in .proto file.' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteAccount(self, request, context): + 'Missing associated documentation comment in .proto file.' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreateCharge(self, request, context): + 'Payment functions\n ' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetCharges(self, request, context): + 'Missing associated documentation comment in .proto file.' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreateAutoChargeIntent(self, request, context): + 'Missing associated documentation comment in .proto file.' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateAutoChargeIntent(self, request, context): + 'Missing associated documentation comment in .proto file.' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetAutoChargeIntent(self, request, context): + 'Missing associated documentation comment in .proto file.' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + +def add_DashboardServiceServicer_to_server(servicer, server): + rpc_method_handlers = {'GetMe': grpc.unary_unary_rpc_method_handler(servicer.GetMe, request_deserializer=gooseai_dot_dashboard__pb2.EmptyRequest.FromString, response_serializer=gooseai_dot_dashboard__pb2.User.SerializeToString), 'GetOrganization': grpc.unary_unary_rpc_method_handler(servicer.GetOrganization, request_deserializer=gooseai_dot_dashboard__pb2.GetOrganizationRequest.FromString, response_serializer=gooseai_dot_dashboard__pb2.Organization.SerializeToString), 'GetMetrics': grpc.unary_unary_rpc_method_handler(servicer.GetMetrics, request_deserializer=gooseai_dot_dashboard__pb2.GetMetricsRequest.FromString, response_serializer=gooseai_dot_dashboard__pb2.Metrics.SerializeToString), 'CreateAPIKey': grpc.unary_unary_rpc_method_handler(servicer.CreateAPIKey, request_deserializer=gooseai_dot_dashboard__pb2.APIKeyRequest.FromString, response_serializer=gooseai_dot_dashboard__pb2.APIKey.SerializeToString), 'DeleteAPIKey': grpc.unary_unary_rpc_method_handler(servicer.DeleteAPIKey, request_deserializer=gooseai_dot_dashboard__pb2.APIKeyFindRequest.FromString, response_serializer=gooseai_dot_dashboard__pb2.APIKey.SerializeToString), 'UpdateDefaultOrganization': grpc.unary_unary_rpc_method_handler(servicer.UpdateDefaultOrganization, request_deserializer=gooseai_dot_dashboard__pb2.UpdateDefaultOrganizationRequest.FromString, response_serializer=gooseai_dot_dashboard__pb2.User.SerializeToString), 'GetClientSettings': grpc.unary_unary_rpc_method_handler(servicer.GetClientSettings, request_deserializer=gooseai_dot_dashboard__pb2.EmptyRequest.FromString, response_serializer=gooseai_dot_dashboard__pb2.ClientSettings.SerializeToString), 'SetClientSettings': grpc.unary_unary_rpc_method_handler(servicer.SetClientSettings, request_deserializer=gooseai_dot_dashboard__pb2.ClientSettings.FromString, response_serializer=gooseai_dot_dashboard__pb2.ClientSettings.SerializeToString), 'UpdateUserInfo': grpc.unary_unary_rpc_method_handler(servicer.UpdateUserInfo, request_deserializer=gooseai_dot_dashboard__pb2.UpdateUserInfoRequest.FromString, response_serializer=gooseai_dot_dashboard__pb2.User.SerializeToString), 'CreatePasswordChangeTicket': grpc.unary_unary_rpc_method_handler(servicer.CreatePasswordChangeTicket, request_deserializer=gooseai_dot_dashboard__pb2.EmptyRequest.FromString, response_serializer=gooseai_dot_dashboard__pb2.UserPasswordChangeTicket.SerializeToString), 'DeleteAccount': grpc.unary_unary_rpc_method_handler(servicer.DeleteAccount, request_deserializer=gooseai_dot_dashboard__pb2.EmptyRequest.FromString, response_serializer=gooseai_dot_dashboard__pb2.User.SerializeToString), 'CreateCharge': grpc.unary_unary_rpc_method_handler(servicer.CreateCharge, request_deserializer=gooseai_dot_dashboard__pb2.CreateChargeRequest.FromString, response_serializer=gooseai_dot_dashboard__pb2.Charge.SerializeToString), 'GetCharges': grpc.unary_unary_rpc_method_handler(servicer.GetCharges, request_deserializer=gooseai_dot_dashboard__pb2.GetChargesRequest.FromString, response_serializer=gooseai_dot_dashboard__pb2.Charges.SerializeToString), 'CreateAutoChargeIntent': grpc.unary_unary_rpc_method_handler(servicer.CreateAutoChargeIntent, request_deserializer=gooseai_dot_dashboard__pb2.CreateAutoChargeIntentRequest.FromString, response_serializer=gooseai_dot_dashboard__pb2.AutoChargeIntent.SerializeToString), 'UpdateAutoChargeIntent': grpc.unary_unary_rpc_method_handler(servicer.UpdateAutoChargeIntent, request_deserializer=gooseai_dot_dashboard__pb2.CreateAutoChargeIntentRequest.FromString, response_serializer=gooseai_dot_dashboard__pb2.AutoChargeIntent.SerializeToString), 'GetAutoChargeIntent': grpc.unary_unary_rpc_method_handler(servicer.GetAutoChargeIntent, request_deserializer=gooseai_dot_dashboard__pb2.GetAutoChargeRequest.FromString, response_serializer=gooseai_dot_dashboard__pb2.AutoChargeIntent.SerializeToString)} + generic_handler = grpc.method_handlers_generic_handler('gooseai.DashboardService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + +class DashboardService(object): + 'Missing associated documentation comment in .proto file.' + + @staticmethod + def GetMe(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/GetMe', gooseai_dot_dashboard__pb2.EmptyRequest.SerializeToString, gooseai_dot_dashboard__pb2.User.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetOrganization(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/GetOrganization', gooseai_dot_dashboard__pb2.GetOrganizationRequest.SerializeToString, gooseai_dot_dashboard__pb2.Organization.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetMetrics(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/GetMetrics', gooseai_dot_dashboard__pb2.GetMetricsRequest.SerializeToString, gooseai_dot_dashboard__pb2.Metrics.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def CreateAPIKey(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/CreateAPIKey', gooseai_dot_dashboard__pb2.APIKeyRequest.SerializeToString, gooseai_dot_dashboard__pb2.APIKey.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DeleteAPIKey(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/DeleteAPIKey', gooseai_dot_dashboard__pb2.APIKeyFindRequest.SerializeToString, gooseai_dot_dashboard__pb2.APIKey.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def UpdateDefaultOrganization(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/UpdateDefaultOrganization', gooseai_dot_dashboard__pb2.UpdateDefaultOrganizationRequest.SerializeToString, gooseai_dot_dashboard__pb2.User.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetClientSettings(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/GetClientSettings', gooseai_dot_dashboard__pb2.EmptyRequest.SerializeToString, gooseai_dot_dashboard__pb2.ClientSettings.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def SetClientSettings(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/SetClientSettings', gooseai_dot_dashboard__pb2.ClientSettings.SerializeToString, gooseai_dot_dashboard__pb2.ClientSettings.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def UpdateUserInfo(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/UpdateUserInfo', gooseai_dot_dashboard__pb2.UpdateUserInfoRequest.SerializeToString, gooseai_dot_dashboard__pb2.User.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def CreatePasswordChangeTicket(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/CreatePasswordChangeTicket', gooseai_dot_dashboard__pb2.EmptyRequest.SerializeToString, gooseai_dot_dashboard__pb2.UserPasswordChangeTicket.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DeleteAccount(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/DeleteAccount', gooseai_dot_dashboard__pb2.EmptyRequest.SerializeToString, gooseai_dot_dashboard__pb2.User.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def CreateCharge(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/CreateCharge', gooseai_dot_dashboard__pb2.CreateChargeRequest.SerializeToString, gooseai_dot_dashboard__pb2.Charge.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetCharges(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/GetCharges', gooseai_dot_dashboard__pb2.GetChargesRequest.SerializeToString, gooseai_dot_dashboard__pb2.Charges.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def CreateAutoChargeIntent(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/CreateAutoChargeIntent', gooseai_dot_dashboard__pb2.CreateAutoChargeIntentRequest.SerializeToString, gooseai_dot_dashboard__pb2.AutoChargeIntent.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def UpdateAutoChargeIntent(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/UpdateAutoChargeIntent', gooseai_dot_dashboard__pb2.CreateAutoChargeIntentRequest.SerializeToString, gooseai_dot_dashboard__pb2.AutoChargeIntent.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetAutoChargeIntent(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/GetAutoChargeIntent', gooseai_dot_dashboard__pb2.GetAutoChargeRequest.SerializeToString, gooseai_dot_dashboard__pb2.AutoChargeIntent.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/gen/proto/python/stability_api_interfaces/gooseai/engines_pb2.py b/gen/proto/python/stability_api_interfaces/gooseai/engines_pb2.py new file mode 100644 index 0000000..b88de13 --- /dev/null +++ b/gen/proto/python/stability_api_interfaces/gooseai/engines_pb2.py @@ -0,0 +1,25 @@ + +'Generated protocol buffer code.' +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +_sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15gooseai/engines.proto\x12\x07gooseai"\xdf\x01\n\nEngineInfo\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05owner\x18\x02 \x01(\tR\x05owner\x12\x14\n\x05ready\x18\x03 \x01(\x08R\x05ready\x12\'\n\x04type\x18\x04 \x01(\x0e2\x13.gooseai.EngineTypeR\x04type\x126\n\ttokenizer\x18\x05 \x01(\x0e2\x18.gooseai.EngineTokenizerR\ttokenizer\x12\x12\n\x04name\x18\x06 \x01(\tR\x04name\x12 \n\x0bdescription\x18\x07 \x01(\tR\x0bdescription"\x14\n\x12ListEnginesRequest"6\n\x07Engines\x12+\n\x06engine\x18\x01 \x03(\x0b2\x13.gooseai.EngineInfoR\x06engine*Z\n\nEngineType\x12\x08\n\x04TEXT\x10\x00\x12\x0b\n\x07PICTURE\x10\x01\x12\t\n\x05AUDIO\x10\x02\x12\t\n\x05VIDEO\x10\x03\x12\x12\n\x0eCLASSIFICATION\x10\x04\x12\x0b\n\x07STORAGE\x10\x05*%\n\x0fEngineTokenizer\x12\x08\n\x04GPT2\x10\x00\x12\x08\n\x04PILE\x10\x012P\n\x0eEnginesService\x12>\n\x0bListEngines\x12\x1b.gooseai.ListEnginesRequest\x1a\x10.gooseai.Engines"\x00B\x94\x01\n\x0bcom.gooseaiB\x0cEnginesProtoP\x01Z;github.com/stability-ai/api-interfaces/gen/proto/go/gooseai\xa2\x02\x03GXX\xaa\x02\x07Gooseai\xca\x02\x07Gooseai\xe2\x02\x13Gooseai\\GPBMetadata\xea\x02\x07Gooseaib\x06proto3') +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'gooseai.engines_pb2', globals()) +if (_descriptor._USE_C_DESCRIPTORS == False): + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\x0bcom.gooseaiB\x0cEnginesProtoP\x01Z;github.com/stability-ai/api-interfaces/gen/proto/go/gooseai\xa2\x02\x03GXX\xaa\x02\x07Gooseai\xca\x02\x07Gooseai\xe2\x02\x13Gooseai\\GPBMetadata\xea\x02\x07Gooseai' + _ENGINETYPE._serialized_start = 338 + _ENGINETYPE._serialized_end = 428 + _ENGINETOKENIZER._serialized_start = 430 + _ENGINETOKENIZER._serialized_end = 467 + _ENGINEINFO._serialized_start = 35 + _ENGINEINFO._serialized_end = 258 + _LISTENGINESREQUEST._serialized_start = 260 + _LISTENGINESREQUEST._serialized_end = 280 + _ENGINES._serialized_start = 282 + _ENGINES._serialized_end = 336 + _ENGINESSERVICE._serialized_start = 469 + _ENGINESSERVICE._serialized_end = 549 diff --git a/gen/proto/python/stability_api_interfaces/gooseai/engines_pb2_grpc.py b/gen/proto/python/stability_api_interfaces/gooseai/engines_pb2_grpc.py new file mode 100644 index 0000000..59fd69d --- /dev/null +++ b/gen/proto/python/stability_api_interfaces/gooseai/engines_pb2_grpc.py @@ -0,0 +1,32 @@ + +'Client and server classes corresponding to protobuf-defined services.' +import grpc +from ..gooseai import engines_pb2 as gooseai_dot_engines__pb2 + +class EnginesServiceStub(object): + 'Missing associated documentation comment in .proto file.' + + def __init__(self, channel): + 'Constructor.\n\n Args:\n channel: A grpc.Channel.\n ' + self.ListEngines = channel.unary_unary('/gooseai.EnginesService/ListEngines', request_serializer=gooseai_dot_engines__pb2.ListEnginesRequest.SerializeToString, response_deserializer=gooseai_dot_engines__pb2.Engines.FromString) + +class EnginesServiceServicer(object): + 'Missing associated documentation comment in .proto file.' + + def ListEngines(self, request, context): + 'Missing associated documentation comment in .proto file.' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + +def add_EnginesServiceServicer_to_server(servicer, server): + rpc_method_handlers = {'ListEngines': grpc.unary_unary_rpc_method_handler(servicer.ListEngines, request_deserializer=gooseai_dot_engines__pb2.ListEnginesRequest.FromString, response_serializer=gooseai_dot_engines__pb2.Engines.SerializeToString)} + generic_handler = grpc.method_handlers_generic_handler('gooseai.EnginesService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + +class EnginesService(object): + 'Missing associated documentation comment in .proto file.' + + @staticmethod + def ListEngines(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.EnginesService/ListEngines', gooseai_dot_engines__pb2.ListEnginesRequest.SerializeToString, gooseai_dot_engines__pb2.Engines.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/gen/proto/python/stability_api_interfaces/gooseai/generation_pb2.py b/gen/proto/python/stability_api_interfaces/gooseai/generation_pb2.py new file mode 100644 index 0000000..8428d69 --- /dev/null +++ b/gen/proto/python/stability_api_interfaces/gooseai/generation_pb2.py @@ -0,0 +1,94 @@ + +'Generated protocol buffer code.' +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +_sym_db = _symbol_database.Default() +from ..tensorizer.proto import tensors_pb2 as tensorizer_dot_proto_dot_tensors__pb2 +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18gooseai/generation.proto\x12\x07gooseai\x1a\x1etensorizer/proto/tensors.proto"9\n\x05Token\x12\x17\n\x04text\x18\x01 \x01(\tH\x00R\x04text\x88\x01\x01\x12\x0e\n\x02id\x18\x02 \x01(\rR\x02idB\x07\n\x05_text"i\n\x06Tokens\x12&\n\x06tokens\x18\x01 \x03(\x0b2\x0e.gooseai.TokenR\x06tokens\x12&\n\x0ctokenizer_id\x18\x02 \x01(\tH\x00R\x0btokenizerId\x88\x01\x01B\x0f\n\r_tokenizer_id"\xdb\x03\n\x08Artifact\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12)\n\x04type\x18\x02 \x01(\x0e2\x15.gooseai.ArtifactTypeR\x04type\x12\x12\n\x04mime\x18\x03 \x01(\tR\x04mime\x12\x19\n\x05magic\x18\x04 \x01(\tH\x01R\x05magic\x88\x01\x01\x12\x18\n\x06binary\x18\x05 \x01(\x0cH\x00R\x06binary\x12\x14\n\x04text\x18\x06 \x01(\tH\x00R\x04text\x12)\n\x06tokens\x18\x07 \x01(\x0b2\x0f.gooseai.TokensH\x00R\x06tokens\x12?\n\nclassifier\x18\x0b \x01(\x0b2\x1d.gooseai.ClassifierParametersH\x00R\nclassifier\x12)\n\x06tensor\x18\x0e \x01(\x0b2\x0f.tensors.TensorH\x00R\x06tensor\x12\x14\n\x05index\x18\x08 \x01(\rR\x05index\x12:\n\rfinish_reason\x18\t \x01(\x0e2\x15.gooseai.FinishReasonR\x0cfinishReason\x12\x12\n\x04seed\x18\n \x01(\rR\x04seed\x12\x12\n\x04uuid\x18\x0c \x01(\tR\x04uuid\x12\x12\n\x04size\x18\r \x01(\x04R\x04sizeB\x06\n\x04dataB\x08\n\x06_magic"\\\n\x10PromptParameters\x12\x17\n\x04init\x18\x01 \x01(\x08H\x00R\x04init\x88\x01\x01\x12\x1b\n\x06weight\x18\x02 \x01(\x02H\x01R\x06weight\x88\x01\x01B\x07\n\x05_initB\t\n\x07_weight"\xd3\x01\n\x06Prompt\x12>\n\nparameters\x18\x01 \x01(\x0b2\x19.gooseai.PromptParametersH\x01R\nparameters\x88\x01\x01\x12\x14\n\x04text\x18\x02 \x01(\tH\x00R\x04text\x12)\n\x06tokens\x18\x03 \x01(\x0b2\x0f.gooseai.TokensH\x00R\x06tokens\x12/\n\x08artifact\x18\x04 \x01(\x0b2\x11.gooseai.ArtifactH\x00R\x08artifactB\x08\n\x06promptB\r\n\x0b_parameters"\xf5\x02\n\x11SamplerParameters\x12\x15\n\x03eta\x18\x01 \x01(\x02H\x00R\x03eta\x88\x01\x01\x12*\n\x0esampling_steps\x18\x02 \x01(\x04H\x01R\rsamplingSteps\x88\x01\x01\x12,\n\x0flatent_channels\x18\x03 \x01(\x04H\x02R\x0elatentChannels\x88\x01\x01\x124\n\x13downsampling_factor\x18\x04 \x01(\x04H\x03R\x12downsamplingFactor\x88\x01\x01\x12 \n\tcfg_scale\x18\x05 \x01(\x02H\x04R\x08cfgScale\x88\x01\x01\x12-\n\x10init_noise_scale\x18\x06 \x01(\x02H\x05R\x0einitNoiseScale\x88\x01\x01B\x06\n\x04_etaB\x11\n\x0f_sampling_stepsB\x12\n\x10_latent_channelsB\x16\n\x14_downsampling_factorB\x0c\n\n_cfg_scaleB\x13\n\x11_init_noise_scale"\xab\x01\n\x15ConditionerParameters\x123\n\x13vector_adjust_prior\x18\x01 \x01(\tH\x00R\x11vectorAdjustPrior\x88\x01\x01\x125\n\x0bconditioner\x18\x02 \x01(\x0b2\x0e.gooseai.ModelH\x01R\x0bconditioner\x88\x01\x01B\x16\n\x14_vector_adjust_priorB\x0e\n\x0c_conditioner"}\n\x12ScheduleParameters\x12\x19\n\x05start\x18\x01 \x01(\x02H\x00R\x05start\x88\x01\x01\x12\x15\n\x03end\x18\x02 \x01(\x02H\x01R\x03end\x88\x01\x01\x12\x19\n\x05value\x18\x03 \x01(\x02H\x02R\x05value\x88\x01\x01B\x08\n\x06_startB\x06\n\x04_endB\x08\n\x06_value"\x8d\x02\n\rStepParameter\x12\x1f\n\x0bscaled_step\x18\x01 \x01(\x02R\nscaledStep\x129\n\x07sampler\x18\x02 \x01(\x0b2\x1a.gooseai.SamplerParametersH\x00R\x07sampler\x88\x01\x01\x12<\n\x08schedule\x18\x03 \x01(\x0b2\x1b.gooseai.ScheduleParametersH\x01R\x08schedule\x88\x01\x01\x12<\n\x08guidance\x18\x04 \x01(\x0b2\x1b.gooseai.GuidanceParametersH\x02R\x08guidance\x88\x01\x01B\n\n\x08_samplerB\x0b\n\t_scheduleB\x0b\n\t_guidance"\xda\x01\n\x05Model\x12>\n\x0carchitecture\x18\x01 \x01(\x0e2\x1a.gooseai.ModelArchitectureR\x0carchitecture\x12\x1c\n\tpublisher\x18\x02 \x01(\tR\tpublisher\x12\x18\n\x07dataset\x18\x03 \x01(\tR\x07dataset\x12\x18\n\x07version\x18\x04 \x01(\x02R\x07version\x12)\n\x10semantic_version\x18\x05 \x01(\tR\x0fsemanticVersion\x12\x14\n\x05alias\x18\x06 \x01(\tR\x05alias"\xe3\x01\n\x10CutoutParameters\x123\n\x07cutouts\x18\x01 \x03(\x0b2\x19.gooseai.CutoutParametersR\x07cutouts\x12\x19\n\x05count\x18\x02 \x01(\rH\x00R\x05count\x88\x01\x01\x12\x17\n\x04gray\x18\x03 \x01(\x02H\x01R\x04gray\x88\x01\x01\x12\x17\n\x04blur\x18\x04 \x01(\x02H\x02R\x04blur\x88\x01\x01\x12"\n\nsize_power\x18\x05 \x01(\x02H\x03R\tsizePower\x88\x01\x01B\x08\n\x06_countB\x07\n\x05_grayB\x07\n\x05_blurB\r\n\x0b_size_power"N\n\x1aGuidanceScheduleParameters\x12\x1a\n\x08duration\x18\x01 \x01(\x02R\x08duration\x12\x14\n\x05value\x18\x02 \x01(\x02R\x05value"\xcc\x02\n\x1aGuidanceInstanceParameters\x12&\n\x06models\x18\x02 \x03(\x0b2\x0e.gooseai.ModelR\x06models\x120\n\x11guidance_strength\x18\x03 \x01(\x02H\x00R\x10guidanceStrength\x88\x01\x01\x12?\n\x08schedule\x18\x04 \x03(\x0b2#.gooseai.GuidanceScheduleParametersR\x08schedule\x128\n\x07cutouts\x18\x05 \x01(\x0b2\x19.gooseai.CutoutParametersH\x01R\x07cutouts\x88\x01\x01\x12,\n\x06prompt\x18\x06 \x01(\x0b2\x0f.gooseai.PromptH\x02R\x06prompt\x88\x01\x01B\x14\n\x12_guidance_strengthB\n\n\x08_cutoutsB\t\n\x07_prompt"\x99\x01\n\x12GuidanceParameters\x12@\n\x0fguidance_preset\x18\x01 \x01(\x0e2\x17.gooseai.GuidancePresetR\x0eguidancePreset\x12A\n\tinstances\x18\x02 \x03(\x0b2#.gooseai.GuidanceInstanceParametersR\tinstances"\x83\x01\n\rTransformType\x129\n\tdiffusion\x18\x01 \x01(\x0e2\x19.gooseai.DiffusionSamplerH\x00R\tdiffusion\x12/\n\x08upscaler\x18\x02 \x01(\x0e2\x11.gooseai.UpscalerH\x00R\x08upscalerB\x06\n\x04type"\xf3\x03\n\x0fImageParameters\x12\x1b\n\x06height\x18\x01 \x01(\x04H\x00R\x06height\x88\x01\x01\x12\x19\n\x05width\x18\x02 \x01(\x04H\x01R\x05width\x88\x01\x01\x12\x12\n\x04seed\x18\x03 \x03(\rR\x04seed\x12\x1d\n\x07samples\x18\x04 \x01(\x04H\x02R\x07samples\x88\x01\x01\x12\x19\n\x05steps\x18\x05 \x01(\x04H\x03R\x05steps\x88\x01\x01\x129\n\ttransform\x18\x06 \x01(\x0b2\x16.gooseai.TransformTypeH\x04R\ttransform\x88\x01\x01\x126\n\nparameters\x18\x07 \x03(\x0b2\x16.gooseai.StepParameterR\nparameters\x12F\n\x10masked_area_init\x18\x08 \x01(\x0e2\x17.gooseai.MaskedAreaInitH\x05R\x0emaskedAreaInit\x88\x01\x01\x12?\n\rweight_method\x18\t \x01(\x0e2\x15.gooseai.WeightMethodH\x06R\x0cweightMethod\x88\x01\x01B\t\n\x07_heightB\x08\n\x06_widthB\n\n\x08_samplesB\x08\n\x06_stepsB\x0c\n\n_transformB\x13\n\x11_masked_area_initB\x10\n\x0e_weight_method"^\n\x11ClassifierConcept\x12\x18\n\x07concept\x18\x01 \x01(\tR\x07concept\x12!\n\tthreshold\x18\x02 \x01(\x02H\x00R\tthreshold\x88\x01\x01B\x0c\n\n_threshold"\xa8\x02\n\x12ClassifierCategory\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x126\n\x08concepts\x18\x02 \x03(\x0b2\x1a.gooseai.ClassifierConceptR\x08concepts\x12#\n\nadjustment\x18\x03 \x01(\x02H\x00R\nadjustment\x88\x01\x01\x12,\n\x06action\x18\x04 \x01(\x0e2\x0f.gooseai.ActionH\x01R\x06action\x88\x01\x01\x12E\n\x0fclassifier_mode\x18\x05 \x01(\x0e2\x17.gooseai.ClassifierModeH\x02R\x0eclassifierMode\x88\x01\x01B\r\n\x0b_adjustmentB\t\n\x07_actionB\x12\n\x10_classifier_mode"\xdd\x01\n\x14ClassifierParameters\x12;\n\ncategories\x18\x01 \x03(\x0b2\x1b.gooseai.ClassifierCategoryR\ncategories\x125\n\x07exceeds\x18\x02 \x03(\x0b2\x1b.gooseai.ClassifierCategoryR\x07exceeds\x12=\n\x0frealized_action\x18\x03 \x01(\x0e2\x0f.gooseai.ActionH\x00R\x0erealizedAction\x88\x01\x01B\x12\n\x10_realized_action"\x83\x01\n\x0fAssetParameters\x12,\n\x06action\x18\x01 \x01(\x0e2\x14.gooseai.AssetActionR\x06action\x12\x1d\n\nproject_id\x18\x02 \x01(\tR\tprojectId\x12#\n\x03use\x18\x03 \x01(\x0e2\x11.gooseai.AssetUseR\x03use"\xb4\x01\n\nAnswerMeta\x12\x1a\n\x06gpu_id\x18\x01 \x01(\tH\x00R\x05gpuId\x88\x01\x01\x12\x1a\n\x06cpu_id\x18\x02 \x01(\tH\x01R\x05cpuId\x88\x01\x01\x12\x1c\n\x07node_id\x18\x03 \x01(\tH\x02R\x06nodeId\x88\x01\x01\x12 \n\tengine_id\x18\x04 \x01(\tH\x03R\x08engineId\x88\x01\x01B\t\n\x07_gpu_idB\t\n\x07_cpu_idB\n\n\x08_node_idB\x0c\n\n_engine_id"\xe2\x01\n\x06Answer\x12\x1b\n\tanswer_id\x18\x01 \x01(\tR\x08answerId\x12\x1d\n\nrequest_id\x18\x02 \x01(\tR\trequestId\x12\x1a\n\x08received\x18\x03 \x01(\x04R\x08received\x12\x18\n\x07created\x18\x04 \x01(\x04R\x07created\x12,\n\x04meta\x18\x06 \x01(\x0b2\x13.gooseai.AnswerMetaH\x00R\x04meta\x88\x01\x01\x12/\n\tartifacts\x18\x07 \x03(\x0b2\x11.gooseai.ArtifactR\tartifactsB\x07\n\x05_meta"\xbe\x03\n\x07Request\x12\x1b\n\tengine_id\x18\x01 \x01(\tR\x08engineId\x12\x1d\n\nrequest_id\x18\x02 \x01(\tR\trequestId\x12<\n\x0erequested_type\x18\x03 \x01(\x0e2\x15.gooseai.ArtifactTypeR\rrequestedType\x12\'\n\x06prompt\x18\x04 \x03(\x0b2\x0f.gooseai.PromptR\x06prompt\x120\n\x05image\x18\x05 \x01(\x0b2\x18.gooseai.ImageParametersH\x00R\x05image\x12?\n\nclassifier\x18\x07 \x01(\x0b2\x1d.gooseai.ClassifierParametersH\x00R\nclassifier\x120\n\x05asset\x18\x08 \x01(\x0b2\x18.gooseai.AssetParametersH\x00R\x05asset\x12E\n\x0bconditioner\x18\x06 \x01(\x0b2\x1e.gooseai.ConditionerParametersH\x01R\x0bconditioner\x88\x01\x01B\x08\n\x06paramsB\x0e\n\x0c_conditionerJ\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b"\x8f\x01\n\x08OnStatus\x12-\n\x06reason\x18\x01 \x03(\x0e2\x15.gooseai.FinishReasonR\x06reason\x12\x1b\n\x06target\x18\x02 \x01(\tH\x00R\x06target\x88\x01\x01\x12,\n\x06action\x18\x03 \x03(\x0e2\x14.gooseai.StageActionR\x06actionB\t\n\x07_target"s\n\x05Stage\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12*\n\x07request\x18\x02 \x01(\x0b2\x10.gooseai.RequestR\x07request\x12.\n\ton_status\x18\x03 \x03(\x0b2\x11.gooseai.OnStatusR\x08onStatus"S\n\x0cChainRequest\x12\x1d\n\nrequest_id\x18\x01 \x01(\tR\trequestId\x12$\n\x05stage\x18\x02 \x03(\x0b2\x0e.gooseai.StageR\x05stage*E\n\x0cFinishReason\x12\x08\n\x04NULL\x10\x00\x12\n\n\x06LENGTH\x10\x01\x12\x08\n\x04STOP\x10\x02\x12\t\n\x05ERROR\x10\x03\x12\n\n\x06FILTER\x10\x04*\xe4\x01\n\x0cArtifactType\x12\x11\n\rARTIFACT_NONE\x10\x00\x12\x12\n\x0eARTIFACT_IMAGE\x10\x01\x12\x12\n\x0eARTIFACT_VIDEO\x10\x02\x12\x11\n\rARTIFACT_TEXT\x10\x03\x12\x13\n\x0fARTIFACT_TOKENS\x10\x04\x12\x16\n\x12ARTIFACT_EMBEDDING\x10\x05\x12\x1c\n\x18ARTIFACT_CLASSIFICATIONS\x10\x06\x12\x11\n\rARTIFACT_MASK\x10\x07\x12\x13\n\x0fARTIFACT_LATENT\x10\x08\x12\x13\n\x0fARTIFACT_TENSOR\x10\t*g\n\x0eMaskedAreaInit\x12\x19\n\x15MASKED_AREA_INIT_ZERO\x10\x00\x12\x1b\n\x17MASKED_AREA_INIT_RANDOM\x10\x01\x12\x1d\n\x19MASKED_AREA_INIT_ORIGINAL\x10\x02*5\n\x0cWeightMethod\x12\x10\n\x0cTEXT_ENCODER\x10\x00\x12\x13\n\x0fCROSS_ATTENTION\x10\x01*\xff\x01\n\x10DiffusionSampler\x12\x10\n\x0cSAMPLER_DDIM\x10\x00\x12\x10\n\x0cSAMPLER_DDPM\x10\x01\x12\x13\n\x0fSAMPLER_K_EULER\x10\x02\x12\x1d\n\x19SAMPLER_K_EULER_ANCESTRAL\x10\x03\x12\x12\n\x0eSAMPLER_K_HEUN\x10\x04\x12\x13\n\x0fSAMPLER_K_DPM_2\x10\x05\x12\x1d\n\x19SAMPLER_K_DPM_2_ANCESTRAL\x10\x06\x12\x11\n\rSAMPLER_K_LMS\x10\x07\x12 \n\x1cSAMPLER_K_DPMPP_2S_ANCESTRAL\x10\x08\x12\x16\n\x12SAMPLER_K_DPMPP_2M\x10\t*F\n\x08Upscaler\x12\x10\n\x0cUPSCALER_RGB\x10\x00\x12\x13\n\x0fUPSCALER_GFPGAN\x10\x01\x12\x13\n\x0fUPSCALER_ESRGAN\x10\x02*\xd8\x01\n\x0eGuidancePreset\x12\x18\n\x14GUIDANCE_PRESET_NONE\x10\x00\x12\x1a\n\x16GUIDANCE_PRESET_SIMPLE\x10\x01\x12\x1d\n\x19GUIDANCE_PRESET_FAST_BLUE\x10\x02\x12\x1e\n\x1aGUIDANCE_PRESET_FAST_GREEN\x10\x03\x12\x18\n\x14GUIDANCE_PRESET_SLOW\x10\x04\x12\x1a\n\x16GUIDANCE_PRESET_SLOWER\x10\x05\x12\x1b\n\x17GUIDANCE_PRESET_SLOWEST\x10\x06*\x91\x01\n\x11ModelArchitecture\x12\x1b\n\x17MODEL_ARCHITECTURE_NONE\x10\x00\x12\x1f\n\x1bMODEL_ARCHITECTURE_CLIP_VIT\x10\x01\x12"\n\x1eMODEL_ARCHITECTURE_CLIP_RESNET\x10\x02\x12\x1a\n\x16MODEL_ARCHITECTURE_LDM\x10\x03*\xa2\x01\n\x06Action\x12\x16\n\x12ACTION_PASSTHROUGH\x10\x00\x12\x1f\n\x1bACTION_REGENERATE_DUPLICATE\x10\x01\x12\x15\n\x11ACTION_REGENERATE\x10\x02\x12\x1e\n\x1aACTION_OBFUSCATE_DUPLICATE\x10\x03\x12\x14\n\x10ACTION_OBFUSCATE\x10\x04\x12\x12\n\x0eACTION_DISCARD\x10\x05*D\n\x0eClassifierMode\x12\x17\n\x13CLSFR_MODE_ZEROSHOT\x10\x00\x12\x19\n\x15CLSFR_MODE_MULTICLASS\x10\x01*=\n\x0bAssetAction\x12\r\n\tASSET_PUT\x10\x00\x12\r\n\tASSET_GET\x10\x01\x12\x10\n\x0cASSET_DELETE\x10\x02*\x81\x01\n\x08AssetUse\x12\x17\n\x13ASSET_USE_UNDEFINED\x10\x00\x12\x13\n\x0fASSET_USE_INPUT\x10\x01\x12\x14\n\x10ASSET_USE_OUTPUT\x10\x02\x12\x1a\n\x16ASSET_USE_INTERMEDIATE\x10\x03\x12\x15\n\x11ASSET_USE_PROJECT\x10\x04*W\n\x0bStageAction\x12\x15\n\x11STAGE_ACTION_PASS\x10\x00\x12\x18\n\x14STAGE_ACTION_DISCARD\x10\x01\x12\x17\n\x13STAGE_ACTION_RETURN\x10\x022\x83\x01\n\x11GenerationService\x121\n\x08Generate\x12\x10.gooseai.Request\x1a\x0f.gooseai.Answer"\x000\x01\x12;\n\rChainGenerate\x12\x15.gooseai.ChainRequest\x1a\x0f.gooseai.Answer"\x000\x01B\x97\x01\n\x0bcom.gooseaiB\x0fGenerationProtoP\x01Z;github.com/stability-ai/api-interfaces/gen/proto/go/gooseai\xa2\x02\x03GXX\xaa\x02\x07Gooseai\xca\x02\x07Gooseai\xe2\x02\x13Gooseai\\GPBMetadata\xea\x02\x07Gooseaib\x06proto3') +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'gooseai.generation_pb2', globals()) +if (_descriptor._USE_C_DESCRIPTORS == False): + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\x0bcom.gooseaiB\x0fGenerationProtoP\x01Z;github.com/stability-ai/api-interfaces/gen/proto/go/gooseai\xa2\x02\x03GXX\xaa\x02\x07Gooseai\xca\x02\x07Gooseai\xe2\x02\x13Gooseai\\GPBMetadata\xea\x02\x07Gooseai' + _FINISHREASON._serialized_start = 5590 + _FINISHREASON._serialized_end = 5659 + _ARTIFACTTYPE._serialized_start = 5662 + _ARTIFACTTYPE._serialized_end = 5890 + _MASKEDAREAINIT._serialized_start = 5892 + _MASKEDAREAINIT._serialized_end = 5995 + _WEIGHTMETHOD._serialized_start = 5997 + _WEIGHTMETHOD._serialized_end = 6050 + _DIFFUSIONSAMPLER._serialized_start = 6053 + _DIFFUSIONSAMPLER._serialized_end = 6308 + _UPSCALER._serialized_start = 6310 + _UPSCALER._serialized_end = 6380 + _GUIDANCEPRESET._serialized_start = 6383 + _GUIDANCEPRESET._serialized_end = 6599 + _MODELARCHITECTURE._serialized_start = 6602 + _MODELARCHITECTURE._serialized_end = 6747 + _ACTION._serialized_start = 6750 + _ACTION._serialized_end = 6912 + _CLASSIFIERMODE._serialized_start = 6914 + _CLASSIFIERMODE._serialized_end = 6982 + _ASSETACTION._serialized_start = 6984 + _ASSETACTION._serialized_end = 7045 + _ASSETUSE._serialized_start = 7048 + _ASSETUSE._serialized_end = 7177 + _STAGEACTION._serialized_start = 7179 + _STAGEACTION._serialized_end = 7266 + _TOKEN._serialized_start = 69 + _TOKEN._serialized_end = 126 + _TOKENS._serialized_start = 128 + _TOKENS._serialized_end = 233 + _ARTIFACT._serialized_start = 236 + _ARTIFACT._serialized_end = 711 + _PROMPTPARAMETERS._serialized_start = 713 + _PROMPTPARAMETERS._serialized_end = 805 + _PROMPT._serialized_start = 808 + _PROMPT._serialized_end = 1019 + _SAMPLERPARAMETERS._serialized_start = 1022 + _SAMPLERPARAMETERS._serialized_end = 1395 + _CONDITIONERPARAMETERS._serialized_start = 1398 + _CONDITIONERPARAMETERS._serialized_end = 1569 + _SCHEDULEPARAMETERS._serialized_start = 1571 + _SCHEDULEPARAMETERS._serialized_end = 1696 + _STEPPARAMETER._serialized_start = 1699 + _STEPPARAMETER._serialized_end = 1968 + _MODEL._serialized_start = 1971 + _MODEL._serialized_end = 2189 + _CUTOUTPARAMETERS._serialized_start = 2192 + _CUTOUTPARAMETERS._serialized_end = 2419 + _GUIDANCESCHEDULEPARAMETERS._serialized_start = 2421 + _GUIDANCESCHEDULEPARAMETERS._serialized_end = 2499 + _GUIDANCEINSTANCEPARAMETERS._serialized_start = 2502 + _GUIDANCEINSTANCEPARAMETERS._serialized_end = 2834 + _GUIDANCEPARAMETERS._serialized_start = 2837 + _GUIDANCEPARAMETERS._serialized_end = 2990 + _TRANSFORMTYPE._serialized_start = 2993 + _TRANSFORMTYPE._serialized_end = 3124 + _IMAGEPARAMETERS._serialized_start = 3127 + _IMAGEPARAMETERS._serialized_end = 3626 + _CLASSIFIERCONCEPT._serialized_start = 3628 + _CLASSIFIERCONCEPT._serialized_end = 3722 + _CLASSIFIERCATEGORY._serialized_start = 3725 + _CLASSIFIERCATEGORY._serialized_end = 4021 + _CLASSIFIERPARAMETERS._serialized_start = 4024 + _CLASSIFIERPARAMETERS._serialized_end = 4245 + _ASSETPARAMETERS._serialized_start = 4248 + _ASSETPARAMETERS._serialized_end = 4379 + _ANSWERMETA._serialized_start = 4382 + _ANSWERMETA._serialized_end = 4562 + _ANSWER._serialized_start = 4565 + _ANSWER._serialized_end = 4791 + _REQUEST._serialized_start = 4794 + _REQUEST._serialized_end = 5240 + _ONSTATUS._serialized_start = 5243 + _ONSTATUS._serialized_end = 5386 + _STAGE._serialized_start = 5388 + _STAGE._serialized_end = 5503 + _CHAINREQUEST._serialized_start = 5505 + _CHAINREQUEST._serialized_end = 5588 + _GENERATIONSERVICE._serialized_start = 7269 + _GENERATIONSERVICE._serialized_end = 7400 diff --git a/gen/proto/python/stability_api_interfaces/gooseai/generation_pb2_grpc.py b/gen/proto/python/stability_api_interfaces/gooseai/generation_pb2_grpc.py new file mode 100644 index 0000000..9604ecd --- /dev/null +++ b/gen/proto/python/stability_api_interfaces/gooseai/generation_pb2_grpc.py @@ -0,0 +1,43 @@ + +'Client and server classes corresponding to protobuf-defined services.' +import grpc +from ..gooseai import generation_pb2 as gooseai_dot_generation__pb2 + +class GenerationServiceStub(object): + '\n gRPC services\n\n ' + + def __init__(self, channel): + 'Constructor.\n\n Args:\n channel: A grpc.Channel.\n ' + self.Generate = channel.unary_stream('/gooseai.GenerationService/Generate', request_serializer=gooseai_dot_generation__pb2.Request.SerializeToString, response_deserializer=gooseai_dot_generation__pb2.Answer.FromString) + self.ChainGenerate = channel.unary_stream('/gooseai.GenerationService/ChainGenerate', request_serializer=gooseai_dot_generation__pb2.ChainRequest.SerializeToString, response_deserializer=gooseai_dot_generation__pb2.Answer.FromString) + +class GenerationServiceServicer(object): + '\n gRPC services\n\n ' + + def Generate(self, request, context): + 'Missing associated documentation comment in .proto file.' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ChainGenerate(self, request, context): + 'Missing associated documentation comment in .proto file.' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + +def add_GenerationServiceServicer_to_server(servicer, server): + rpc_method_handlers = {'Generate': grpc.unary_stream_rpc_method_handler(servicer.Generate, request_deserializer=gooseai_dot_generation__pb2.Request.FromString, response_serializer=gooseai_dot_generation__pb2.Answer.SerializeToString), 'ChainGenerate': grpc.unary_stream_rpc_method_handler(servicer.ChainGenerate, request_deserializer=gooseai_dot_generation__pb2.ChainRequest.FromString, response_serializer=gooseai_dot_generation__pb2.Answer.SerializeToString)} + generic_handler = grpc.method_handlers_generic_handler('gooseai.GenerationService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + +class GenerationService(object): + '\n gRPC services\n\n ' + + @staticmethod + def Generate(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_stream(request, target, '/gooseai.GenerationService/Generate', gooseai_dot_generation__pb2.Request.SerializeToString, gooseai_dot_generation__pb2.Answer.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ChainGenerate(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_stream(request, target, '/gooseai.GenerationService/ChainGenerate', gooseai_dot_generation__pb2.ChainRequest.SerializeToString, gooseai_dot_generation__pb2.Answer.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/gen/proto/python/stability_api_interfaces/gooseai/project_pb2.py b/gen/proto/python/stability_api_interfaces/gooseai/project_pb2.py new file mode 100644 index 0000000..85f9b3d --- /dev/null +++ b/gen/proto/python/stability_api_interfaces/gooseai/project_pb2.py @@ -0,0 +1,35 @@ + +'Generated protocol buffer code.' +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +_sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15gooseai/project.proto\x12\x07gooseai"\\\n\x0cProjectAsset\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x10\n\x03uri\x18\x02 \x01(\tR\x03uri\x12*\n\x03use\x18\x03 \x01(\x0e2\x18.gooseai.ProjectAssetUseR\x03use"\xd6\x02\n\x07Project\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12\x19\n\x08owner_id\x18\x03 \x01(\tR\x07ownerId\x12.\n\x06access\x18\x04 \x01(\x0e2\x16.gooseai.ProjectAccessR\x06access\x12.\n\x06status\x18\x05 \x01(\x0e2\x16.gooseai.ProjectStatusR\x06status\x12\x12\n\x04size\x18\x06 \x01(\x04R\x04size\x12)\n\x04file\x18\x07 \x01(\x0b2\x15.gooseai.ProjectAssetR\x04file\x12\x1d\n\ncreated_at\x18\x08 \x01(\x04R\tcreatedAt\x12\x1d\n\nupdated_at\x18\t \x01(\x04R\tupdatedAt\x12-\n\x06assets\x18\n \x03(\x0b2\x15.gooseai.ProjectAssetR\x06assets"\xf2\x01\n\x14CreateProjectRequest\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12\x1e\n\x08owner_id\x18\x02 \x01(\tH\x00R\x07ownerId\x88\x01\x01\x12.\n\x06access\x18\x03 \x01(\x0e2\x16.gooseai.ProjectAccessR\x06access\x12.\n\x06status\x18\x04 \x01(\x0e2\x16.gooseai.ProjectStatusR\x06status\x12.\n\x04file\x18\x05 \x01(\x0b2\x15.gooseai.ProjectAssetH\x01R\x04file\x88\x01\x01B\x0b\n\t_owner_idB\x07\n\x05_file"\xb1\x02\n\x14UpdateProjectRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1e\n\x08owner_id\x18\x02 \x01(\tH\x00R\x07ownerId\x88\x01\x01\x12\x19\n\x05title\x18\x03 \x01(\tH\x01R\x05title\x88\x01\x01\x123\n\x06access\x18\x04 \x01(\x0e2\x16.gooseai.ProjectAccessH\x02R\x06access\x88\x01\x01\x123\n\x06status\x18\x05 \x01(\x0e2\x16.gooseai.ProjectStatusH\x03R\x06status\x88\x01\x01\x12.\n\x04file\x18\x06 \x01(\x0b2\x15.gooseai.ProjectAssetH\x04R\x04file\x88\x01\x01B\x0b\n\t_owner_idB\x08\n\x06_titleB\t\n\x07_accessB\t\n\x07_statusB\x07\n\x05_file"A\n\x12ListProjectRequest\x12\x1e\n\x08owner_id\x18\x01 \x01(\tH\x00R\x07ownerId\x88\x01\x01B\x0b\n\t_owner_id"P\n\x11GetProjectRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1e\n\x08owner_id\x18\x02 \x01(\tH\x00R\x07ownerId\x88\x01\x01B\x0b\n\t_owner_id"S\n\x14DeleteProjectRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1e\n\x08owner_id\x18\x02 \x01(\tH\x00R\x07ownerId\x88\x01\x01B\x0b\n\t_owner_id*F\n\rProjectAccess\x12\x1a\n\x16PROJECT_ACCESS_PRIVATE\x10\x00\x12\x19\n\x15PROJECT_ACCESS_PUBLIC\x10\x01*c\n\rProjectStatus\x12\x1b\n\x17PROJECT_STATUS_INACTIVE\x10\x00\x12\x19\n\x15PROJECT_STATUS_ACTIVE\x10\x01\x12\x1a\n\x16PROJECT_STATUS_DELETED\x10\x02*\xb0\x01\n\x0fProjectAssetUse\x12\x1f\n\x1bPROJECT_ASSET_USE_UNDEFINED\x10\x00\x12\x1b\n\x17PROJECT_ASSET_USE_INPUT\x10\x01\x12\x1c\n\x18PROJECT_ASSET_USE_OUTPUT\x10\x02\x12"\n\x1ePROJECT_ASSET_USE_INTERMEDIATE\x10\x03\x12\x1d\n\x19PROJECT_ASSET_USE_PROJECT\x10\x042\xb9\x02\n\x0eProjectService\x12;\n\x06Create\x12\x1d.gooseai.CreateProjectRequest\x1a\x10.gooseai.Project"\x00\x12;\n\x06Update\x12\x1d.gooseai.UpdateProjectRequest\x1a\x10.gooseai.Project"\x00\x129\n\x04List\x12\x1b.gooseai.ListProjectRequest\x1a\x10.gooseai.Project"\x000\x01\x125\n\x03Get\x12\x1a.gooseai.GetProjectRequest\x1a\x10.gooseai.Project"\x00\x12;\n\x06Delete\x12\x1d.gooseai.DeleteProjectRequest\x1a\x10.gooseai.Project"\x00B\x94\x01\n\x0bcom.gooseaiB\x0cProjectProtoP\x01Z;github.com/stability-ai/api-interfaces/gen/proto/go/gooseai\xa2\x02\x03GXX\xaa\x02\x07Gooseai\xca\x02\x07Gooseai\xe2\x02\x13Gooseai\\GPBMetadata\xea\x02\x07Gooseaib\x06proto3') +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'gooseai.project_pb2', globals()) +if (_descriptor._USE_C_DESCRIPTORS == False): + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\x0bcom.gooseaiB\x0cProjectProtoP\x01Z;github.com/stability-ai/api-interfaces/gen/proto/go/gooseai\xa2\x02\x03GXX\xaa\x02\x07Gooseai\xca\x02\x07Gooseai\xe2\x02\x13Gooseai\\GPBMetadata\xea\x02\x07Gooseai' + _PROJECTACCESS._serialized_start = 1260 + _PROJECTACCESS._serialized_end = 1330 + _PROJECTSTATUS._serialized_start = 1332 + _PROJECTSTATUS._serialized_end = 1431 + _PROJECTASSETUSE._serialized_start = 1434 + _PROJECTASSETUSE._serialized_end = 1610 + _PROJECTASSET._serialized_start = 34 + _PROJECTASSET._serialized_end = 126 + _PROJECT._serialized_start = 129 + _PROJECT._serialized_end = 471 + _CREATEPROJECTREQUEST._serialized_start = 474 + _CREATEPROJECTREQUEST._serialized_end = 716 + _UPDATEPROJECTREQUEST._serialized_start = 719 + _UPDATEPROJECTREQUEST._serialized_end = 1024 + _LISTPROJECTREQUEST._serialized_start = 1026 + _LISTPROJECTREQUEST._serialized_end = 1091 + _GETPROJECTREQUEST._serialized_start = 1093 + _GETPROJECTREQUEST._serialized_end = 1173 + _DELETEPROJECTREQUEST._serialized_start = 1175 + _DELETEPROJECTREQUEST._serialized_end = 1258 + _PROJECTSERVICE._serialized_start = 1613 + _PROJECTSERVICE._serialized_end = 1926 diff --git a/gen/proto/python/stability_api_interfaces/gooseai/project_pb2_grpc.py b/gen/proto/python/stability_api_interfaces/gooseai/project_pb2_grpc.py new file mode 100644 index 0000000..a9d1602 --- /dev/null +++ b/gen/proto/python/stability_api_interfaces/gooseai/project_pb2_grpc.py @@ -0,0 +1,76 @@ + +'Client and server classes corresponding to protobuf-defined services.' +import grpc +from ..gooseai import project_pb2 as gooseai_dot_project__pb2 + +class ProjectServiceStub(object): + '\n gRPC services\n\n ' + + def __init__(self, channel): + 'Constructor.\n\n Args:\n channel: A grpc.Channel.\n ' + self.Create = channel.unary_unary('/gooseai.ProjectService/Create', request_serializer=gooseai_dot_project__pb2.CreateProjectRequest.SerializeToString, response_deserializer=gooseai_dot_project__pb2.Project.FromString) + self.Update = channel.unary_unary('/gooseai.ProjectService/Update', request_serializer=gooseai_dot_project__pb2.UpdateProjectRequest.SerializeToString, response_deserializer=gooseai_dot_project__pb2.Project.FromString) + self.List = channel.unary_stream('/gooseai.ProjectService/List', request_serializer=gooseai_dot_project__pb2.ListProjectRequest.SerializeToString, response_deserializer=gooseai_dot_project__pb2.Project.FromString) + self.Get = channel.unary_unary('/gooseai.ProjectService/Get', request_serializer=gooseai_dot_project__pb2.GetProjectRequest.SerializeToString, response_deserializer=gooseai_dot_project__pb2.Project.FromString) + self.Delete = channel.unary_unary('/gooseai.ProjectService/Delete', request_serializer=gooseai_dot_project__pb2.DeleteProjectRequest.SerializeToString, response_deserializer=gooseai_dot_project__pb2.Project.FromString) + +class ProjectServiceServicer(object): + '\n gRPC services\n\n ' + + def Create(self, request, context): + 'Create a new project if it does not exist\n ' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Update(self, request, context): + 'Update an existing project\n ' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def List(self, request, context): + 'List all the projects for an organization\n ' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Get(self, request, context): + 'Get a project\n ' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Delete(self, request, context): + 'Delete a project\n ' + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + +def add_ProjectServiceServicer_to_server(servicer, server): + rpc_method_handlers = {'Create': grpc.unary_unary_rpc_method_handler(servicer.Create, request_deserializer=gooseai_dot_project__pb2.CreateProjectRequest.FromString, response_serializer=gooseai_dot_project__pb2.Project.SerializeToString), 'Update': grpc.unary_unary_rpc_method_handler(servicer.Update, request_deserializer=gooseai_dot_project__pb2.UpdateProjectRequest.FromString, response_serializer=gooseai_dot_project__pb2.Project.SerializeToString), 'List': grpc.unary_stream_rpc_method_handler(servicer.List, request_deserializer=gooseai_dot_project__pb2.ListProjectRequest.FromString, response_serializer=gooseai_dot_project__pb2.Project.SerializeToString), 'Get': grpc.unary_unary_rpc_method_handler(servicer.Get, request_deserializer=gooseai_dot_project__pb2.GetProjectRequest.FromString, response_serializer=gooseai_dot_project__pb2.Project.SerializeToString), 'Delete': grpc.unary_unary_rpc_method_handler(servicer.Delete, request_deserializer=gooseai_dot_project__pb2.DeleteProjectRequest.FromString, response_serializer=gooseai_dot_project__pb2.Project.SerializeToString)} + generic_handler = grpc.method_handlers_generic_handler('gooseai.ProjectService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + +class ProjectService(object): + '\n gRPC services\n\n ' + + @staticmethod + def Create(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.ProjectService/Create', gooseai_dot_project__pb2.CreateProjectRequest.SerializeToString, gooseai_dot_project__pb2.Project.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def Update(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.ProjectService/Update', gooseai_dot_project__pb2.UpdateProjectRequest.SerializeToString, gooseai_dot_project__pb2.Project.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def List(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_stream(request, target, '/gooseai.ProjectService/List', gooseai_dot_project__pb2.ListProjectRequest.SerializeToString, gooseai_dot_project__pb2.Project.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def Get(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.ProjectService/Get', gooseai_dot_project__pb2.GetProjectRequest.SerializeToString, gooseai_dot_project__pb2.Project.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def Delete(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.ProjectService/Delete', gooseai_dot_project__pb2.DeleteProjectRequest.SerializeToString, gooseai_dot_project__pb2.Project.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/cmake/.gitkeep b/gen/proto/python/stability_api_interfaces/tensorizer/__init__.py similarity index 100% rename from cmake/.gitkeep rename to gen/proto/python/stability_api_interfaces/tensorizer/__init__.py diff --git a/gen/proto/python/stability_api_interfaces/tensorizer/proto/__init__.py b/gen/proto/python/stability_api_interfaces/tensorizer/proto/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/gen/proto/python/stability_api_interfaces/tensorizer/proto/tensors_pb2.py b/gen/proto/python/stability_api_interfaces/tensorizer/proto/tensors_pb2.py new file mode 100644 index 0000000..c0fbc4b --- /dev/null +++ b/gen/proto/python/stability_api_interfaces/tensorizer/proto/tensors_pb2.py @@ -0,0 +1,23 @@ + +'Generated protocol buffer code.' +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +_sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1etensorizer/proto/tensors.proto\x12\x07tensors"\xa0\x01\n\x06Tensor\x12$\n\x05dtype\x18\x01 \x01(\x0e2\x0e.tensors.DtypeR\x05dtype\x12\x14\n\x05shape\x18\x02 \x03(\x03R\x05shape\x12\x12\n\x04data\x18\x03 \x01(\x0cR\x04data\x128\n\tattr_type\x18\x04 \x01(\x0e2\x16.tensors.AttributeTypeH\x00R\x08attrType\x88\x01\x01B\x0c\n\n_attr_type"\xde\x01\n\tAttribute\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12)\n\x06module\x18\x03 \x01(\x0b2\x0f.tensors.ModuleH\x00R\x06module\x12)\n\x06tensor\x18\x04 \x01(\x0b2\x0f.tensors.TensorH\x00R\x06tensor\x12\x18\n\x06string\x18\x05 \x01(\tH\x00R\x06string\x12\x16\n\x05int64\x18\x06 \x01(\x03H\x00R\x05int64\x12\x16\n\x05float\x18\x07 \x01(\x02H\x00R\x05float\x12\x14\n\x04bool\x18\x08 \x01(\x08H\x00R\x04boolB\x07\n\x05value"f\n\x06Module\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n\x05names\x18\x02 \x03(\tR\x05names\x122\n\nattributes\x18\x03 \x03(\x0b2\x12.tensors.AttributeR\nattributes*\x9e\x02\n\x05Dtype\x12\x0e\n\nDT_INVALID\x10\x00\x12\x0e\n\nDT_FLOAT32\x10\x01\x12\x0e\n\nDT_FLOAT64\x10\x02\x12\x0e\n\nDT_FLOAT16\x10\x03\x12\x0f\n\x0bDT_BFLOAT16\x10\x04\x12\x10\n\x0cDT_COMPLEX32\x10\x05\x12\x10\n\x0cDT_COMPLEX64\x10\x06\x12\x11\n\rDT_COMPLEX128\x10\x07\x12\x0c\n\x08DT_UINT8\x10\x08\x12\x0b\n\x07DT_INT8\x10\t\x12\x0c\n\x08DT_INT16\x10\n\x12\x0c\n\x08DT_INT32\x10\x0b\x12\x0c\n\x08DT_INT64\x10\x0c\x12\x0b\n\x07DT_BOOL\x10\r\x12\r\n\tDT_QUINT8\x10\x0e\x12\x0c\n\x08DT_QINT8\x10\x0f\x12\r\n\tDT_QINT32\x10\x10\x12\x0f\n\x0bDT_QUINT4_2\x10\x11*0\n\rAttributeType\x12\x10\n\x0cAT_PARAMETER\x10\x00\x12\r\n\tAT_BUFFER\x10\x01B\x9d\x01\n\x0bcom.tensorsB\x0cTensorsProtoP\x01ZDgithub.com/stability-ai/api-interfaces/gen/proto/go/tensorizer/proto\xa2\x02\x03TXX\xaa\x02\x07Tensors\xca\x02\x07Tensors\xe2\x02\x13Tensors\\GPBMetadata\xea\x02\x07Tensorsb\x06proto3') +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorizer.proto.tensors_pb2', globals()) +if (_descriptor._USE_C_DESCRIPTORS == False): + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\x0bcom.tensorsB\x0cTensorsProtoP\x01ZDgithub.com/stability-ai/api-interfaces/gen/proto/go/tensorizer/proto\xa2\x02\x03TXX\xaa\x02\x07Tensors\xca\x02\x07Tensors\xe2\x02\x13Tensors\\GPBMetadata\xea\x02\x07Tensors' + _DTYPE._serialized_start = 536 + _DTYPE._serialized_end = 822 + _ATTRIBUTETYPE._serialized_start = 824 + _ATTRIBUTETYPE._serialized_end = 872 + _TENSOR._serialized_start = 44 + _TENSOR._serialized_end = 204 + _ATTRIBUTE._serialized_start = 207 + _ATTRIBUTE._serialized_end = 429 + _MODULE._serialized_start = 431 + _MODULE._serialized_end = 533 diff --git a/gen/proto/python/stability_api_interfaces/tensorizer/proto/tensors_pb2_grpc.py b/gen/proto/python/stability_api_interfaces/tensorizer/proto/tensors_pb2_grpc.py new file mode 100644 index 0000000..db49a3f --- /dev/null +++ b/gen/proto/python/stability_api_interfaces/tensorizer/proto/tensors_pb2_grpc.py @@ -0,0 +1,3 @@ + +'Client and server classes corresponding to protobuf-defined services.' +import grpc diff --git a/gooseai/dashboard/dashboard_pb.d.ts b/gen/proto/typescript-web/lib/gooseai/dashboard_pb.d.ts similarity index 99% rename from gooseai/dashboard/dashboard_pb.d.ts rename to gen/proto/typescript-web/lib/gooseai/dashboard_pb.d.ts index 841060f..6eea69f 100644 --- a/gooseai/dashboard/dashboard_pb.d.ts +++ b/gen/proto/typescript-web/lib/gooseai/dashboard_pb.d.ts @@ -1,5 +1,5 @@ // package: gooseai -// file: dashboard.proto +// file: gooseai/dashboard.proto import * as jspb from "google-protobuf"; diff --git a/gooseai/dashboard/dashboard_pb.js b/gen/proto/typescript-web/lib/gooseai/dashboard_pb.js similarity index 99% rename from gooseai/dashboard/dashboard_pb.js rename to gen/proto/typescript-web/lib/gooseai/dashboard_pb.js index 7ff5c23..f11f530 100644 --- a/gooseai/dashboard/dashboard_pb.js +++ b/gen/proto/typescript-web/lib/gooseai/dashboard_pb.js @@ -1,4 +1,4 @@ -// source: dashboard.proto +// source: gooseai/dashboard.proto /** * @fileoverview * @enhanceable diff --git a/gen/proto/typescript-web/lib/gooseai/dashboard_pb_service.d.ts b/gen/proto/typescript-web/lib/gooseai/dashboard_pb_service.d.ts new file mode 100644 index 0000000..371dd61 --- /dev/null +++ b/gen/proto/typescript-web/lib/gooseai/dashboard_pb_service.d.ts @@ -0,0 +1,348 @@ +// package: gooseai +// file: gooseai/dashboard.proto + +import * as gooseai_dashboard_pb from "../gooseai/dashboard_pb"; +import {grpc} from "@improbable-eng/grpc-web"; + +type DashboardServiceGetMe = { + readonly methodName: string; + readonly service: typeof DashboardService; + readonly requestStream: false; + readonly responseStream: false; + readonly requestType: typeof gooseai_dashboard_pb.EmptyRequest; + readonly responseType: typeof gooseai_dashboard_pb.User; +}; + +type DashboardServiceGetOrganization = { + readonly methodName: string; + readonly service: typeof DashboardService; + readonly requestStream: false; + readonly responseStream: false; + readonly requestType: typeof gooseai_dashboard_pb.GetOrganizationRequest; + readonly responseType: typeof gooseai_dashboard_pb.Organization; +}; + +type DashboardServiceGetMetrics = { + readonly methodName: string; + readonly service: typeof DashboardService; + readonly requestStream: false; + readonly responseStream: false; + readonly requestType: typeof gooseai_dashboard_pb.GetMetricsRequest; + readonly responseType: typeof gooseai_dashboard_pb.Metrics; +}; + +type DashboardServiceCreateAPIKey = { + readonly methodName: string; + readonly service: typeof DashboardService; + readonly requestStream: false; + readonly responseStream: false; + readonly requestType: typeof gooseai_dashboard_pb.APIKeyRequest; + readonly responseType: typeof gooseai_dashboard_pb.APIKey; +}; + +type DashboardServiceDeleteAPIKey = { + readonly methodName: string; + readonly service: typeof DashboardService; + readonly requestStream: false; + readonly responseStream: false; + readonly requestType: typeof gooseai_dashboard_pb.APIKeyFindRequest; + readonly responseType: typeof gooseai_dashboard_pb.APIKey; +}; + +type DashboardServiceUpdateDefaultOrganization = { + readonly methodName: string; + readonly service: typeof DashboardService; + readonly requestStream: false; + readonly responseStream: false; + readonly requestType: typeof gooseai_dashboard_pb.UpdateDefaultOrganizationRequest; + readonly responseType: typeof gooseai_dashboard_pb.User; +}; + +type DashboardServiceGetClientSettings = { + readonly methodName: string; + readonly service: typeof DashboardService; + readonly requestStream: false; + readonly responseStream: false; + readonly requestType: typeof gooseai_dashboard_pb.EmptyRequest; + readonly responseType: typeof gooseai_dashboard_pb.ClientSettings; +}; + +type DashboardServiceSetClientSettings = { + readonly methodName: string; + readonly service: typeof DashboardService; + readonly requestStream: false; + readonly responseStream: false; + readonly requestType: typeof gooseai_dashboard_pb.ClientSettings; + readonly responseType: typeof gooseai_dashboard_pb.ClientSettings; +}; + +type DashboardServiceUpdateUserInfo = { + readonly methodName: string; + readonly service: typeof DashboardService; + readonly requestStream: false; + readonly responseStream: false; + readonly requestType: typeof gooseai_dashboard_pb.UpdateUserInfoRequest; + readonly responseType: typeof gooseai_dashboard_pb.User; +}; + +type DashboardServiceCreatePasswordChangeTicket = { + readonly methodName: string; + readonly service: typeof DashboardService; + readonly requestStream: false; + readonly responseStream: false; + readonly requestType: typeof gooseai_dashboard_pb.EmptyRequest; + readonly responseType: typeof gooseai_dashboard_pb.UserPasswordChangeTicket; +}; + +type DashboardServiceDeleteAccount = { + readonly methodName: string; + readonly service: typeof DashboardService; + readonly requestStream: false; + readonly responseStream: false; + readonly requestType: typeof gooseai_dashboard_pb.EmptyRequest; + readonly responseType: typeof gooseai_dashboard_pb.User; +}; + +type DashboardServiceCreateCharge = { + readonly methodName: string; + readonly service: typeof DashboardService; + readonly requestStream: false; + readonly responseStream: false; + readonly requestType: typeof gooseai_dashboard_pb.CreateChargeRequest; + readonly responseType: typeof gooseai_dashboard_pb.Charge; +}; + +type DashboardServiceGetCharges = { + readonly methodName: string; + readonly service: typeof DashboardService; + readonly requestStream: false; + readonly responseStream: false; + readonly requestType: typeof gooseai_dashboard_pb.GetChargesRequest; + readonly responseType: typeof gooseai_dashboard_pb.Charges; +}; + +type DashboardServiceCreateAutoChargeIntent = { + readonly methodName: string; + readonly service: typeof DashboardService; + readonly requestStream: false; + readonly responseStream: false; + readonly requestType: typeof gooseai_dashboard_pb.CreateAutoChargeIntentRequest; + readonly responseType: typeof gooseai_dashboard_pb.AutoChargeIntent; +}; + +type DashboardServiceUpdateAutoChargeIntent = { + readonly methodName: string; + readonly service: typeof DashboardService; + readonly requestStream: false; + readonly responseStream: false; + readonly requestType: typeof gooseai_dashboard_pb.CreateAutoChargeIntentRequest; + readonly responseType: typeof gooseai_dashboard_pb.AutoChargeIntent; +}; + +type DashboardServiceGetAutoChargeIntent = { + readonly methodName: string; + readonly service: typeof DashboardService; + readonly requestStream: false; + readonly responseStream: false; + readonly requestType: typeof gooseai_dashboard_pb.GetAutoChargeRequest; + readonly responseType: typeof gooseai_dashboard_pb.AutoChargeIntent; +}; + +export class DashboardService { + static readonly serviceName: string; + static readonly GetMe: DashboardServiceGetMe; + static readonly GetOrganization: DashboardServiceGetOrganization; + static readonly GetMetrics: DashboardServiceGetMetrics; + static readonly CreateAPIKey: DashboardServiceCreateAPIKey; + static readonly DeleteAPIKey: DashboardServiceDeleteAPIKey; + static readonly UpdateDefaultOrganization: DashboardServiceUpdateDefaultOrganization; + static readonly GetClientSettings: DashboardServiceGetClientSettings; + static readonly SetClientSettings: DashboardServiceSetClientSettings; + static readonly UpdateUserInfo: DashboardServiceUpdateUserInfo; + static readonly CreatePasswordChangeTicket: DashboardServiceCreatePasswordChangeTicket; + static readonly DeleteAccount: DashboardServiceDeleteAccount; + static readonly CreateCharge: DashboardServiceCreateCharge; + static readonly GetCharges: DashboardServiceGetCharges; + static readonly CreateAutoChargeIntent: DashboardServiceCreateAutoChargeIntent; + static readonly UpdateAutoChargeIntent: DashboardServiceUpdateAutoChargeIntent; + static readonly GetAutoChargeIntent: DashboardServiceGetAutoChargeIntent; +} + +export type ServiceError = { message: string, code: number; metadata: grpc.Metadata } +export type Status = { details: string, code: number; metadata: grpc.Metadata } + +interface UnaryResponse { + cancel(): void; +} +interface ResponseStream { + cancel(): void; + on(type: 'data', handler: (message: T) => void): ResponseStream; + on(type: 'end', handler: (status?: Status) => void): ResponseStream; + on(type: 'status', handler: (status: Status) => void): ResponseStream; +} +interface RequestStream { + write(message: T): RequestStream; + end(): void; + cancel(): void; + on(type: 'end', handler: (status?: Status) => void): RequestStream; + on(type: 'status', handler: (status: Status) => void): RequestStream; +} +interface BidirectionalStream { + write(message: ReqT): BidirectionalStream; + end(): void; + cancel(): void; + on(type: 'data', handler: (message: ResT) => void): BidirectionalStream; + on(type: 'end', handler: (status?: Status) => void): BidirectionalStream; + on(type: 'status', handler: (status: Status) => void): BidirectionalStream; +} + +export class DashboardServiceClient { + readonly serviceHost: string; + + constructor(serviceHost: string, options?: grpc.RpcOptions); + getMe( + requestMessage: gooseai_dashboard_pb.EmptyRequest, + metadata: grpc.Metadata, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.User|null) => void + ): UnaryResponse; + getMe( + requestMessage: gooseai_dashboard_pb.EmptyRequest, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.User|null) => void + ): UnaryResponse; + getOrganization( + requestMessage: gooseai_dashboard_pb.GetOrganizationRequest, + metadata: grpc.Metadata, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.Organization|null) => void + ): UnaryResponse; + getOrganization( + requestMessage: gooseai_dashboard_pb.GetOrganizationRequest, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.Organization|null) => void + ): UnaryResponse; + getMetrics( + requestMessage: gooseai_dashboard_pb.GetMetricsRequest, + metadata: grpc.Metadata, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.Metrics|null) => void + ): UnaryResponse; + getMetrics( + requestMessage: gooseai_dashboard_pb.GetMetricsRequest, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.Metrics|null) => void + ): UnaryResponse; + createAPIKey( + requestMessage: gooseai_dashboard_pb.APIKeyRequest, + metadata: grpc.Metadata, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.APIKey|null) => void + ): UnaryResponse; + createAPIKey( + requestMessage: gooseai_dashboard_pb.APIKeyRequest, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.APIKey|null) => void + ): UnaryResponse; + deleteAPIKey( + requestMessage: gooseai_dashboard_pb.APIKeyFindRequest, + metadata: grpc.Metadata, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.APIKey|null) => void + ): UnaryResponse; + deleteAPIKey( + requestMessage: gooseai_dashboard_pb.APIKeyFindRequest, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.APIKey|null) => void + ): UnaryResponse; + updateDefaultOrganization( + requestMessage: gooseai_dashboard_pb.UpdateDefaultOrganizationRequest, + metadata: grpc.Metadata, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.User|null) => void + ): UnaryResponse; + updateDefaultOrganization( + requestMessage: gooseai_dashboard_pb.UpdateDefaultOrganizationRequest, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.User|null) => void + ): UnaryResponse; + getClientSettings( + requestMessage: gooseai_dashboard_pb.EmptyRequest, + metadata: grpc.Metadata, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.ClientSettings|null) => void + ): UnaryResponse; + getClientSettings( + requestMessage: gooseai_dashboard_pb.EmptyRequest, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.ClientSettings|null) => void + ): UnaryResponse; + setClientSettings( + requestMessage: gooseai_dashboard_pb.ClientSettings, + metadata: grpc.Metadata, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.ClientSettings|null) => void + ): UnaryResponse; + setClientSettings( + requestMessage: gooseai_dashboard_pb.ClientSettings, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.ClientSettings|null) => void + ): UnaryResponse; + updateUserInfo( + requestMessage: gooseai_dashboard_pb.UpdateUserInfoRequest, + metadata: grpc.Metadata, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.User|null) => void + ): UnaryResponse; + updateUserInfo( + requestMessage: gooseai_dashboard_pb.UpdateUserInfoRequest, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.User|null) => void + ): UnaryResponse; + createPasswordChangeTicket( + requestMessage: gooseai_dashboard_pb.EmptyRequest, + metadata: grpc.Metadata, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.UserPasswordChangeTicket|null) => void + ): UnaryResponse; + createPasswordChangeTicket( + requestMessage: gooseai_dashboard_pb.EmptyRequest, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.UserPasswordChangeTicket|null) => void + ): UnaryResponse; + deleteAccount( + requestMessage: gooseai_dashboard_pb.EmptyRequest, + metadata: grpc.Metadata, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.User|null) => void + ): UnaryResponse; + deleteAccount( + requestMessage: gooseai_dashboard_pb.EmptyRequest, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.User|null) => void + ): UnaryResponse; + createCharge( + requestMessage: gooseai_dashboard_pb.CreateChargeRequest, + metadata: grpc.Metadata, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.Charge|null) => void + ): UnaryResponse; + createCharge( + requestMessage: gooseai_dashboard_pb.CreateChargeRequest, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.Charge|null) => void + ): UnaryResponse; + getCharges( + requestMessage: gooseai_dashboard_pb.GetChargesRequest, + metadata: grpc.Metadata, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.Charges|null) => void + ): UnaryResponse; + getCharges( + requestMessage: gooseai_dashboard_pb.GetChargesRequest, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.Charges|null) => void + ): UnaryResponse; + createAutoChargeIntent( + requestMessage: gooseai_dashboard_pb.CreateAutoChargeIntentRequest, + metadata: grpc.Metadata, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.AutoChargeIntent|null) => void + ): UnaryResponse; + createAutoChargeIntent( + requestMessage: gooseai_dashboard_pb.CreateAutoChargeIntentRequest, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.AutoChargeIntent|null) => void + ): UnaryResponse; + updateAutoChargeIntent( + requestMessage: gooseai_dashboard_pb.CreateAutoChargeIntentRequest, + metadata: grpc.Metadata, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.AutoChargeIntent|null) => void + ): UnaryResponse; + updateAutoChargeIntent( + requestMessage: gooseai_dashboard_pb.CreateAutoChargeIntentRequest, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.AutoChargeIntent|null) => void + ): UnaryResponse; + getAutoChargeIntent( + requestMessage: gooseai_dashboard_pb.GetAutoChargeRequest, + metadata: grpc.Metadata, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.AutoChargeIntent|null) => void + ): UnaryResponse; + getAutoChargeIntent( + requestMessage: gooseai_dashboard_pb.GetAutoChargeRequest, + callback: (error: ServiceError|null, responseMessage: gooseai_dashboard_pb.AutoChargeIntent|null) => void + ): UnaryResponse; +} + diff --git a/gooseai/dashboard/dashboard_pb_service.js b/gen/proto/typescript-web/lib/gooseai/dashboard_pb_service.js similarity index 90% rename from gooseai/dashboard/dashboard_pb_service.js rename to gen/proto/typescript-web/lib/gooseai/dashboard_pb_service.js index 35284af..546831a 100644 --- a/gooseai/dashboard/dashboard_pb_service.js +++ b/gen/proto/typescript-web/lib/gooseai/dashboard_pb_service.js @@ -1,7 +1,7 @@ // package: gooseai -// file: dashboard.proto +// file: gooseai/dashboard.proto -var dashboard_pb = require("./dashboard_pb"); +var gooseai_dashboard_pb = require("../gooseai/dashboard_pb"); var grpc = require("@improbable-eng/grpc-web").grpc; var DashboardService = (function () { @@ -15,8 +15,8 @@ DashboardService.GetMe = { service: DashboardService, requestStream: false, responseStream: false, - requestType: dashboard_pb.EmptyRequest, - responseType: dashboard_pb.User + requestType: gooseai_dashboard_pb.EmptyRequest, + responseType: gooseai_dashboard_pb.User }; DashboardService.GetOrganization = { @@ -24,8 +24,8 @@ DashboardService.GetOrganization = { service: DashboardService, requestStream: false, responseStream: false, - requestType: dashboard_pb.GetOrganizationRequest, - responseType: dashboard_pb.Organization + requestType: gooseai_dashboard_pb.GetOrganizationRequest, + responseType: gooseai_dashboard_pb.Organization }; DashboardService.GetMetrics = { @@ -33,8 +33,8 @@ DashboardService.GetMetrics = { service: DashboardService, requestStream: false, responseStream: false, - requestType: dashboard_pb.GetMetricsRequest, - responseType: dashboard_pb.Metrics + requestType: gooseai_dashboard_pb.GetMetricsRequest, + responseType: gooseai_dashboard_pb.Metrics }; DashboardService.CreateAPIKey = { @@ -42,8 +42,8 @@ DashboardService.CreateAPIKey = { service: DashboardService, requestStream: false, responseStream: false, - requestType: dashboard_pb.APIKeyRequest, - responseType: dashboard_pb.APIKey + requestType: gooseai_dashboard_pb.APIKeyRequest, + responseType: gooseai_dashboard_pb.APIKey }; DashboardService.DeleteAPIKey = { @@ -51,8 +51,8 @@ DashboardService.DeleteAPIKey = { service: DashboardService, requestStream: false, responseStream: false, - requestType: dashboard_pb.APIKeyFindRequest, - responseType: dashboard_pb.APIKey + requestType: gooseai_dashboard_pb.APIKeyFindRequest, + responseType: gooseai_dashboard_pb.APIKey }; DashboardService.UpdateDefaultOrganization = { @@ -60,8 +60,8 @@ DashboardService.UpdateDefaultOrganization = { service: DashboardService, requestStream: false, responseStream: false, - requestType: dashboard_pb.UpdateDefaultOrganizationRequest, - responseType: dashboard_pb.User + requestType: gooseai_dashboard_pb.UpdateDefaultOrganizationRequest, + responseType: gooseai_dashboard_pb.User }; DashboardService.GetClientSettings = { @@ -69,8 +69,8 @@ DashboardService.GetClientSettings = { service: DashboardService, requestStream: false, responseStream: false, - requestType: dashboard_pb.EmptyRequest, - responseType: dashboard_pb.ClientSettings + requestType: gooseai_dashboard_pb.EmptyRequest, + responseType: gooseai_dashboard_pb.ClientSettings }; DashboardService.SetClientSettings = { @@ -78,8 +78,8 @@ DashboardService.SetClientSettings = { service: DashboardService, requestStream: false, responseStream: false, - requestType: dashboard_pb.ClientSettings, - responseType: dashboard_pb.ClientSettings + requestType: gooseai_dashboard_pb.ClientSettings, + responseType: gooseai_dashboard_pb.ClientSettings }; DashboardService.UpdateUserInfo = { @@ -87,8 +87,8 @@ DashboardService.UpdateUserInfo = { service: DashboardService, requestStream: false, responseStream: false, - requestType: dashboard_pb.UpdateUserInfoRequest, - responseType: dashboard_pb.User + requestType: gooseai_dashboard_pb.UpdateUserInfoRequest, + responseType: gooseai_dashboard_pb.User }; DashboardService.CreatePasswordChangeTicket = { @@ -96,8 +96,8 @@ DashboardService.CreatePasswordChangeTicket = { service: DashboardService, requestStream: false, responseStream: false, - requestType: dashboard_pb.EmptyRequest, - responseType: dashboard_pb.UserPasswordChangeTicket + requestType: gooseai_dashboard_pb.EmptyRequest, + responseType: gooseai_dashboard_pb.UserPasswordChangeTicket }; DashboardService.DeleteAccount = { @@ -105,8 +105,8 @@ DashboardService.DeleteAccount = { service: DashboardService, requestStream: false, responseStream: false, - requestType: dashboard_pb.EmptyRequest, - responseType: dashboard_pb.User + requestType: gooseai_dashboard_pb.EmptyRequest, + responseType: gooseai_dashboard_pb.User }; DashboardService.CreateCharge = { @@ -114,8 +114,8 @@ DashboardService.CreateCharge = { service: DashboardService, requestStream: false, responseStream: false, - requestType: dashboard_pb.CreateChargeRequest, - responseType: dashboard_pb.Charge + requestType: gooseai_dashboard_pb.CreateChargeRequest, + responseType: gooseai_dashboard_pb.Charge }; DashboardService.GetCharges = { @@ -123,8 +123,8 @@ DashboardService.GetCharges = { service: DashboardService, requestStream: false, responseStream: false, - requestType: dashboard_pb.GetChargesRequest, - responseType: dashboard_pb.Charges + requestType: gooseai_dashboard_pb.GetChargesRequest, + responseType: gooseai_dashboard_pb.Charges }; DashboardService.CreateAutoChargeIntent = { @@ -132,8 +132,8 @@ DashboardService.CreateAutoChargeIntent = { service: DashboardService, requestStream: false, responseStream: false, - requestType: dashboard_pb.CreateAutoChargeIntentRequest, - responseType: dashboard_pb.AutoChargeIntent + requestType: gooseai_dashboard_pb.CreateAutoChargeIntentRequest, + responseType: gooseai_dashboard_pb.AutoChargeIntent }; DashboardService.UpdateAutoChargeIntent = { @@ -141,8 +141,8 @@ DashboardService.UpdateAutoChargeIntent = { service: DashboardService, requestStream: false, responseStream: false, - requestType: dashboard_pb.CreateAutoChargeIntentRequest, - responseType: dashboard_pb.AutoChargeIntent + requestType: gooseai_dashboard_pb.CreateAutoChargeIntentRequest, + responseType: gooseai_dashboard_pb.AutoChargeIntent }; DashboardService.GetAutoChargeIntent = { @@ -150,8 +150,8 @@ DashboardService.GetAutoChargeIntent = { service: DashboardService, requestStream: false, responseStream: false, - requestType: dashboard_pb.GetAutoChargeRequest, - responseType: dashboard_pb.AutoChargeIntent + requestType: gooseai_dashboard_pb.GetAutoChargeRequest, + responseType: gooseai_dashboard_pb.AutoChargeIntent }; exports.DashboardService = DashboardService; diff --git a/gooseai/engines/engines_pb.d.ts b/gen/proto/typescript-web/lib/gooseai/engines_pb.d.ts similarity index 99% rename from gooseai/engines/engines_pb.d.ts rename to gen/proto/typescript-web/lib/gooseai/engines_pb.d.ts index 771173e..3dfa248 100644 --- a/gooseai/engines/engines_pb.d.ts +++ b/gen/proto/typescript-web/lib/gooseai/engines_pb.d.ts @@ -1,5 +1,5 @@ // package: gooseai -// file: engines.proto +// file: gooseai/engines.proto import * as jspb from "google-protobuf"; diff --git a/gooseai/engines/engines_pb.js b/gen/proto/typescript-web/lib/gooseai/engines_pb.js similarity index 99% rename from gooseai/engines/engines_pb.js rename to gen/proto/typescript-web/lib/gooseai/engines_pb.js index b1f17d8..2445f8e 100644 --- a/gooseai/engines/engines_pb.js +++ b/gen/proto/typescript-web/lib/gooseai/engines_pb.js @@ -1,4 +1,4 @@ -// source: engines.proto +// source: gooseai/engines.proto /** * @fileoverview * @enhanceable diff --git a/gooseai/engines/engines_pb_service.d.ts b/gen/proto/typescript-web/lib/gooseai/engines_pb_service.d.ts similarity index 76% rename from gooseai/engines/engines_pb_service.d.ts rename to gen/proto/typescript-web/lib/gooseai/engines_pb_service.d.ts index ed0d7a2..657fd3d 100644 --- a/gooseai/engines/engines_pb_service.d.ts +++ b/gen/proto/typescript-web/lib/gooseai/engines_pb_service.d.ts @@ -1,7 +1,7 @@ // package: gooseai -// file: engines.proto +// file: gooseai/engines.proto -import * as engines_pb from "./engines_pb"; +import * as gooseai_engines_pb from "../gooseai/engines_pb"; import {grpc} from "@improbable-eng/grpc-web"; type EnginesServiceListEngines = { @@ -9,8 +9,8 @@ type EnginesServiceListEngines = { readonly service: typeof EnginesService; readonly requestStream: false; readonly responseStream: false; - readonly requestType: typeof engines_pb.ListEnginesRequest; - readonly responseType: typeof engines_pb.Engines; + readonly requestType: typeof gooseai_engines_pb.ListEnginesRequest; + readonly responseType: typeof gooseai_engines_pb.Engines; }; export class EnginesService { @@ -51,13 +51,13 @@ export class EnginesServiceClient { constructor(serviceHost: string, options?: grpc.RpcOptions); listEngines( - requestMessage: engines_pb.ListEnginesRequest, + requestMessage: gooseai_engines_pb.ListEnginesRequest, metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: engines_pb.Engines|null) => void + callback: (error: ServiceError|null, responseMessage: gooseai_engines_pb.Engines|null) => void ): UnaryResponse; listEngines( - requestMessage: engines_pb.ListEnginesRequest, - callback: (error: ServiceError|null, responseMessage: engines_pb.Engines|null) => void + requestMessage: gooseai_engines_pb.ListEnginesRequest, + callback: (error: ServiceError|null, responseMessage: gooseai_engines_pb.Engines|null) => void ): UnaryResponse; } diff --git a/gooseai/engines/engines_pb_service.js b/gen/proto/typescript-web/lib/gooseai/engines_pb_service.js similarity index 88% rename from gooseai/engines/engines_pb_service.js rename to gen/proto/typescript-web/lib/gooseai/engines_pb_service.js index 2fe62ec..c6e2ce2 100644 --- a/gooseai/engines/engines_pb_service.js +++ b/gen/proto/typescript-web/lib/gooseai/engines_pb_service.js @@ -1,7 +1,7 @@ // package: gooseai -// file: engines.proto +// file: gooseai/engines.proto -var engines_pb = require("./engines_pb"); +var gooseai_engines_pb = require("../gooseai/engines_pb"); var grpc = require("@improbable-eng/grpc-web").grpc; var EnginesService = (function () { @@ -15,8 +15,8 @@ EnginesService.ListEngines = { service: EnginesService, requestStream: false, responseStream: false, - requestType: engines_pb.ListEnginesRequest, - responseType: engines_pb.Engines + requestType: gooseai_engines_pb.ListEnginesRequest, + responseType: gooseai_engines_pb.Engines }; exports.EnginesService = EnginesService; diff --git a/gooseai/generation/generation_pb.d.ts b/gen/proto/typescript-web/lib/gooseai/generation_pb.d.ts similarity index 99% rename from gooseai/generation/generation_pb.d.ts rename to gen/proto/typescript-web/lib/gooseai/generation_pb.d.ts index b243a9f..500242f 100644 --- a/gooseai/generation/generation_pb.d.ts +++ b/gen/proto/typescript-web/lib/gooseai/generation_pb.d.ts @@ -1,8 +1,8 @@ // package: gooseai -// file: generation.proto +// file: gooseai/generation.proto import * as jspb from "google-protobuf"; -import * as tensors_pb from "./tensors_pb"; +import * as tensorizer_proto_tensors_pb from "../tensorizer/proto/tensors_pb"; export class Token extends jspb.Message { hasText(): boolean; @@ -97,8 +97,8 @@ export class Artifact extends jspb.Message { hasTensor(): boolean; clearTensor(): void; - getTensor(): tensors_pb.Tensor | undefined; - setTensor(value?: tensors_pb.Tensor): void; + getTensor(): tensorizer_proto_tensors_pb.Tensor | undefined; + setTensor(value?: tensorizer_proto_tensors_pb.Tensor): void; getIndex(): number; setIndex(value: number): void; @@ -136,7 +136,7 @@ export namespace Artifact { text: string, tokens?: Tokens.AsObject, classifier?: ClassifierParameters.AsObject, - tensor?: tensors_pb.Tensor.AsObject, + tensor?: tensorizer_proto_tensors_pb.Tensor.AsObject, index: number, finishReason: FinishReasonMap[keyof FinishReasonMap], seed: number, diff --git a/gooseai/generation/generation_pb.js b/gen/proto/typescript-web/lib/gooseai/generation_pb.js similarity index 99% rename from gooseai/generation/generation_pb.js rename to gen/proto/typescript-web/lib/gooseai/generation_pb.js index 6b4635b..eb59da2 100644 --- a/gooseai/generation/generation_pb.js +++ b/gen/proto/typescript-web/lib/gooseai/generation_pb.js @@ -1,4 +1,4 @@ -// source: generation.proto +// source: gooseai/generation.proto /** * @fileoverview * @enhanceable @@ -21,8 +21,8 @@ var global = (function() { return Function('return this')(); }.call(null)); -var tensors_pb = require('./tensors_pb.js'); -goog.object.extend(proto, tensors_pb); +var tensorizer_proto_tensors_pb = require('../tensorizer/proto/tensors_pb.js'); +goog.object.extend(proto, tensorizer_proto_tensors_pb); goog.exportSymbol('proto.gooseai.Action', null, global); goog.exportSymbol('proto.gooseai.Answer', null, global); goog.exportSymbol('proto.gooseai.AnswerMeta', null, global); @@ -1067,7 +1067,7 @@ proto.gooseai.Artifact.toObject = function(includeInstance, msg) { text: jspb.Message.getFieldWithDefault(msg, 6, ""), tokens: (f = msg.getTokens()) && proto.gooseai.Tokens.toObject(includeInstance, f), classifier: (f = msg.getClassifier()) && proto.gooseai.ClassifierParameters.toObject(includeInstance, f), - tensor: (f = msg.getTensor()) && tensors_pb.Tensor.toObject(includeInstance, f), + tensor: (f = msg.getTensor()) && tensorizer_proto_tensors_pb.Tensor.toObject(includeInstance, f), index: jspb.Message.getFieldWithDefault(msg, 8, 0), finishReason: jspb.Message.getFieldWithDefault(msg, 9, 0), seed: jspb.Message.getFieldWithDefault(msg, 10, 0), @@ -1144,8 +1144,8 @@ proto.gooseai.Artifact.deserializeBinaryFromReader = function(msg, reader) { msg.setClassifier(value); break; case 14: - var value = new tensors_pb.Tensor; - reader.readMessage(value,tensors_pb.Tensor.deserializeBinaryFromReader); + var value = new tensorizer_proto_tensors_pb.Tensor; + reader.readMessage(value,tensorizer_proto_tensors_pb.Tensor.deserializeBinaryFromReader); msg.setTensor(value); break; case 8: @@ -1260,7 +1260,7 @@ proto.gooseai.Artifact.serializeBinaryToWriter = function(message, writer) { writer.writeMessage( 14, f, - tensors_pb.Tensor.serializeBinaryToWriter + tensorizer_proto_tensors_pb.Tensor.serializeBinaryToWriter ); } f = message.getIndex(); @@ -1567,7 +1567,7 @@ proto.gooseai.Artifact.prototype.hasClassifier = function() { */ proto.gooseai.Artifact.prototype.getTensor = function() { return /** @type{?proto.tensors.Tensor} */ ( - jspb.Message.getWrapperField(this, tensors_pb.Tensor, 14)); + jspb.Message.getWrapperField(this, tensorizer_proto_tensors_pb.Tensor, 14)); }; diff --git a/gooseai/generation/generation_pb_service.d.ts b/gen/proto/typescript-web/lib/gooseai/generation_pb_service.d.ts similarity index 75% rename from gooseai/generation/generation_pb_service.d.ts rename to gen/proto/typescript-web/lib/gooseai/generation_pb_service.d.ts index ae4428a..7638f28 100644 --- a/gooseai/generation/generation_pb_service.d.ts +++ b/gen/proto/typescript-web/lib/gooseai/generation_pb_service.d.ts @@ -1,7 +1,7 @@ // package: gooseai -// file: generation.proto +// file: gooseai/generation.proto -import * as generation_pb from "./generation_pb"; +import * as gooseai_generation_pb from "../gooseai/generation_pb"; import {grpc} from "@improbable-eng/grpc-web"; type GenerationServiceGenerate = { @@ -9,8 +9,8 @@ type GenerationServiceGenerate = { readonly service: typeof GenerationService; readonly requestStream: false; readonly responseStream: true; - readonly requestType: typeof generation_pb.Request; - readonly responseType: typeof generation_pb.Answer; + readonly requestType: typeof gooseai_generation_pb.Request; + readonly responseType: typeof gooseai_generation_pb.Answer; }; type GenerationServiceChainGenerate = { @@ -18,8 +18,8 @@ type GenerationServiceChainGenerate = { readonly service: typeof GenerationService; readonly requestStream: false; readonly responseStream: true; - readonly requestType: typeof generation_pb.ChainRequest; - readonly responseType: typeof generation_pb.Answer; + readonly requestType: typeof gooseai_generation_pb.ChainRequest; + readonly responseType: typeof gooseai_generation_pb.Answer; }; export class GenerationService { @@ -60,7 +60,7 @@ export class GenerationServiceClient { readonly serviceHost: string; constructor(serviceHost: string, options?: grpc.RpcOptions); - generate(requestMessage: generation_pb.Request, metadata?: grpc.Metadata): ResponseStream; - chainGenerate(requestMessage: generation_pb.ChainRequest, metadata?: grpc.Metadata): ResponseStream; + generate(requestMessage: gooseai_generation_pb.Request, metadata?: grpc.Metadata): ResponseStream; + chainGenerate(requestMessage: gooseai_generation_pb.ChainRequest, metadata?: grpc.Metadata): ResponseStream; } diff --git a/gooseai/generation/generation_pb_service.js b/gen/proto/typescript-web/lib/gooseai/generation_pb_service.js similarity index 91% rename from gooseai/generation/generation_pb_service.js rename to gen/proto/typescript-web/lib/gooseai/generation_pb_service.js index a03f594..9585d78 100644 --- a/gooseai/generation/generation_pb_service.js +++ b/gen/proto/typescript-web/lib/gooseai/generation_pb_service.js @@ -1,7 +1,7 @@ // package: gooseai -// file: generation.proto +// file: gooseai/generation.proto -var generation_pb = require("./generation_pb"); +var gooseai_generation_pb = require("../gooseai/generation_pb"); var grpc = require("@improbable-eng/grpc-web").grpc; var GenerationService = (function () { @@ -15,8 +15,8 @@ GenerationService.Generate = { service: GenerationService, requestStream: false, responseStream: true, - requestType: generation_pb.Request, - responseType: generation_pb.Answer + requestType: gooseai_generation_pb.Request, + responseType: gooseai_generation_pb.Answer }; GenerationService.ChainGenerate = { @@ -24,8 +24,8 @@ GenerationService.ChainGenerate = { service: GenerationService, requestStream: false, responseStream: true, - requestType: generation_pb.ChainRequest, - responseType: generation_pb.Answer + requestType: gooseai_generation_pb.ChainRequest, + responseType: gooseai_generation_pb.Answer }; exports.GenerationService = GenerationService; diff --git a/gooseai/project/project_pb.d.ts b/gen/proto/typescript-web/lib/gooseai/project_pb.d.ts similarity index 99% rename from gooseai/project/project_pb.d.ts rename to gen/proto/typescript-web/lib/gooseai/project_pb.d.ts index b6982ce..6a1f387 100644 --- a/gooseai/project/project_pb.d.ts +++ b/gen/proto/typescript-web/lib/gooseai/project_pb.d.ts @@ -1,5 +1,5 @@ // package: gooseai -// file: project.proto +// file: gooseai/project.proto import * as jspb from "google-protobuf"; diff --git a/gooseai/project/project_pb.js b/gen/proto/typescript-web/lib/gooseai/project_pb.js similarity index 99% rename from gooseai/project/project_pb.js rename to gen/proto/typescript-web/lib/gooseai/project_pb.js index 5605d72..db229b2 100644 --- a/gooseai/project/project_pb.js +++ b/gen/proto/typescript-web/lib/gooseai/project_pb.js @@ -1,4 +1,4 @@ -// source: project.proto +// source: gooseai/project.proto /** * @fileoverview * @enhanceable diff --git a/gooseai/project/project_pb_service.d.ts b/gen/proto/typescript-web/lib/gooseai/project_pb_service.d.ts similarity index 57% rename from gooseai/project/project_pb_service.d.ts rename to gen/proto/typescript-web/lib/gooseai/project_pb_service.d.ts index 1ab89a3..2d03f11 100644 --- a/gooseai/project/project_pb_service.d.ts +++ b/gen/proto/typescript-web/lib/gooseai/project_pb_service.d.ts @@ -1,7 +1,7 @@ // package: gooseai -// file: project.proto +// file: gooseai/project.proto -import * as project_pb from "./project_pb"; +import * as gooseai_project_pb from "../gooseai/project_pb"; import {grpc} from "@improbable-eng/grpc-web"; type ProjectServiceCreate = { @@ -9,8 +9,8 @@ type ProjectServiceCreate = { readonly service: typeof ProjectService; readonly requestStream: false; readonly responseStream: false; - readonly requestType: typeof project_pb.CreateProjectRequest; - readonly responseType: typeof project_pb.Project; + readonly requestType: typeof gooseai_project_pb.CreateProjectRequest; + readonly responseType: typeof gooseai_project_pb.Project; }; type ProjectServiceUpdate = { @@ -18,8 +18,8 @@ type ProjectServiceUpdate = { readonly service: typeof ProjectService; readonly requestStream: false; readonly responseStream: false; - readonly requestType: typeof project_pb.UpdateProjectRequest; - readonly responseType: typeof project_pb.Project; + readonly requestType: typeof gooseai_project_pb.UpdateProjectRequest; + readonly responseType: typeof gooseai_project_pb.Project; }; type ProjectServiceList = { @@ -27,8 +27,8 @@ type ProjectServiceList = { readonly service: typeof ProjectService; readonly requestStream: false; readonly responseStream: true; - readonly requestType: typeof project_pb.ListProjectRequest; - readonly responseType: typeof project_pb.Project; + readonly requestType: typeof gooseai_project_pb.ListProjectRequest; + readonly responseType: typeof gooseai_project_pb.Project; }; type ProjectServiceGet = { @@ -36,8 +36,8 @@ type ProjectServiceGet = { readonly service: typeof ProjectService; readonly requestStream: false; readonly responseStream: false; - readonly requestType: typeof project_pb.GetProjectRequest; - readonly responseType: typeof project_pb.Project; + readonly requestType: typeof gooseai_project_pb.GetProjectRequest; + readonly responseType: typeof gooseai_project_pb.Project; }; type ProjectServiceDelete = { @@ -45,8 +45,8 @@ type ProjectServiceDelete = { readonly service: typeof ProjectService; readonly requestStream: false; readonly responseStream: false; - readonly requestType: typeof project_pb.DeleteProjectRequest; - readonly responseType: typeof project_pb.Project; + readonly requestType: typeof gooseai_project_pb.DeleteProjectRequest; + readonly responseType: typeof gooseai_project_pb.Project; }; export class ProjectService { @@ -91,41 +91,41 @@ export class ProjectServiceClient { constructor(serviceHost: string, options?: grpc.RpcOptions); create( - requestMessage: project_pb.CreateProjectRequest, + requestMessage: gooseai_project_pb.CreateProjectRequest, metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: project_pb.Project|null) => void + callback: (error: ServiceError|null, responseMessage: gooseai_project_pb.Project|null) => void ): UnaryResponse; create( - requestMessage: project_pb.CreateProjectRequest, - callback: (error: ServiceError|null, responseMessage: project_pb.Project|null) => void + requestMessage: gooseai_project_pb.CreateProjectRequest, + callback: (error: ServiceError|null, responseMessage: gooseai_project_pb.Project|null) => void ): UnaryResponse; update( - requestMessage: project_pb.UpdateProjectRequest, + requestMessage: gooseai_project_pb.UpdateProjectRequest, metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: project_pb.Project|null) => void + callback: (error: ServiceError|null, responseMessage: gooseai_project_pb.Project|null) => void ): UnaryResponse; update( - requestMessage: project_pb.UpdateProjectRequest, - callback: (error: ServiceError|null, responseMessage: project_pb.Project|null) => void + requestMessage: gooseai_project_pb.UpdateProjectRequest, + callback: (error: ServiceError|null, responseMessage: gooseai_project_pb.Project|null) => void ): UnaryResponse; - list(requestMessage: project_pb.ListProjectRequest, metadata?: grpc.Metadata): ResponseStream; + list(requestMessage: gooseai_project_pb.ListProjectRequest, metadata?: grpc.Metadata): ResponseStream; get( - requestMessage: project_pb.GetProjectRequest, + requestMessage: gooseai_project_pb.GetProjectRequest, metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: project_pb.Project|null) => void + callback: (error: ServiceError|null, responseMessage: gooseai_project_pb.Project|null) => void ): UnaryResponse; get( - requestMessage: project_pb.GetProjectRequest, - callback: (error: ServiceError|null, responseMessage: project_pb.Project|null) => void + requestMessage: gooseai_project_pb.GetProjectRequest, + callback: (error: ServiceError|null, responseMessage: gooseai_project_pb.Project|null) => void ): UnaryResponse; delete( - requestMessage: project_pb.DeleteProjectRequest, + requestMessage: gooseai_project_pb.DeleteProjectRequest, metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: project_pb.Project|null) => void + callback: (error: ServiceError|null, responseMessage: gooseai_project_pb.Project|null) => void ): UnaryResponse; delete( - requestMessage: project_pb.DeleteProjectRequest, - callback: (error: ServiceError|null, responseMessage: project_pb.Project|null) => void + requestMessage: gooseai_project_pb.DeleteProjectRequest, + callback: (error: ServiceError|null, responseMessage: gooseai_project_pb.Project|null) => void ): UnaryResponse; } diff --git a/gooseai/project/project_pb_service.js b/gen/proto/typescript-web/lib/gooseai/project_pb_service.js similarity index 90% rename from gooseai/project/project_pb_service.js rename to gen/proto/typescript-web/lib/gooseai/project_pb_service.js index 19452c4..a7b1af6 100644 --- a/gooseai/project/project_pb_service.js +++ b/gen/proto/typescript-web/lib/gooseai/project_pb_service.js @@ -1,7 +1,7 @@ // package: gooseai -// file: project.proto +// file: gooseai/project.proto -var project_pb = require("./project_pb"); +var gooseai_project_pb = require("../gooseai/project_pb"); var grpc = require("@improbable-eng/grpc-web").grpc; var ProjectService = (function () { @@ -15,8 +15,8 @@ ProjectService.Create = { service: ProjectService, requestStream: false, responseStream: false, - requestType: project_pb.CreateProjectRequest, - responseType: project_pb.Project + requestType: gooseai_project_pb.CreateProjectRequest, + responseType: gooseai_project_pb.Project }; ProjectService.Update = { @@ -24,8 +24,8 @@ ProjectService.Update = { service: ProjectService, requestStream: false, responseStream: false, - requestType: project_pb.UpdateProjectRequest, - responseType: project_pb.Project + requestType: gooseai_project_pb.UpdateProjectRequest, + responseType: gooseai_project_pb.Project }; ProjectService.List = { @@ -33,8 +33,8 @@ ProjectService.List = { service: ProjectService, requestStream: false, responseStream: true, - requestType: project_pb.ListProjectRequest, - responseType: project_pb.Project + requestType: gooseai_project_pb.ListProjectRequest, + responseType: gooseai_project_pb.Project }; ProjectService.Get = { @@ -42,8 +42,8 @@ ProjectService.Get = { service: ProjectService, requestStream: false, responseStream: false, - requestType: project_pb.GetProjectRequest, - responseType: project_pb.Project + requestType: gooseai_project_pb.GetProjectRequest, + responseType: gooseai_project_pb.Project }; ProjectService.Delete = { @@ -51,8 +51,8 @@ ProjectService.Delete = { service: ProjectService, requestStream: false, responseStream: false, - requestType: project_pb.DeleteProjectRequest, - responseType: project_pb.Project + requestType: gooseai_project_pb.DeleteProjectRequest, + responseType: gooseai_project_pb.Project }; exports.ProjectService = ProjectService; diff --git a/gooseai/generation/tensors_pb.d.ts b/gen/proto/typescript-web/lib/tensorizer/proto/tensors_pb.d.ts similarity index 99% rename from gooseai/generation/tensors_pb.d.ts rename to gen/proto/typescript-web/lib/tensorizer/proto/tensors_pb.d.ts index 83ebf14..8e5c2c8 100644 --- a/gooseai/generation/tensors_pb.d.ts +++ b/gen/proto/typescript-web/lib/tensorizer/proto/tensors_pb.d.ts @@ -1,5 +1,5 @@ // package: tensors -// file: tensors.proto +// file: tensorizer/proto/tensors.proto import * as jspb from "google-protobuf"; diff --git a/gooseai/generation/tensors_pb.js b/gen/proto/typescript-web/lib/tensorizer/proto/tensors_pb.js similarity index 99% rename from gooseai/generation/tensors_pb.js rename to gen/proto/typescript-web/lib/tensorizer/proto/tensors_pb.js index 1054c12..ebbdbba 100644 --- a/gooseai/generation/tensors_pb.js +++ b/gen/proto/typescript-web/lib/tensorizer/proto/tensors_pb.js @@ -1,4 +1,4 @@ -// source: tensors.proto +// source: tensorizer/proto/tensors.proto /** * @fileoverview * @enhanceable diff --git a/gen/proto/typescript-web/lib/tensorizer/proto/tensors_pb_service.d.ts b/gen/proto/typescript-web/lib/tensorizer/proto/tensors_pb_service.d.ts new file mode 100644 index 0000000..e6447e7 --- /dev/null +++ b/gen/proto/typescript-web/lib/tensorizer/proto/tensors_pb_service.d.ts @@ -0,0 +1,3 @@ +// package: tensors +// file: tensorizer/proto/tensors.proto + diff --git a/gen/proto/typescript-web/lib/tensorizer/proto/tensors_pb_service.js b/gen/proto/typescript-web/lib/tensorizer/proto/tensors_pb_service.js new file mode 100644 index 0000000..e6447e7 --- /dev/null +++ b/gen/proto/typescript-web/lib/tensorizer/proto/tensors_pb_service.js @@ -0,0 +1,3 @@ +// package: tensors +// file: tensorizer/proto/tensors.proto + diff --git a/gen/proto/typescript-web/package.json b/gen/proto/typescript-web/package.json new file mode 100644 index 0000000..5c6325e --- /dev/null +++ b/gen/proto/typescript-web/package.json @@ -0,0 +1,18 @@ +{ + "name": "@stability/api-interfaces-web", + "version": "0.15.0", + "description": "Stability API Interfaces for use with gRPC-Web and JS/TS", + "files": [ + "lib" + ], + "license": "MIT", + "repository": { + "url": "https://github.com/Stability-AI/api-interfaces" + }, + "publishConfig": { + "registry": "https://npm.pkg.github.com" + }, + "dependencies": { + "@improbable-eng/grpc-web": "^0.15.0" + } +} diff --git a/gen/proto/typescript-web/yarn.lock b/gen/proto/typescript-web/yarn.lock new file mode 100644 index 0000000..3557055 --- /dev/null +++ b/gen/proto/typescript-web/yarn.lock @@ -0,0 +1,15 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@improbable-eng/grpc-web@^0.15.0": + version "0.15.0" + resolved "https://registry.yarnpkg.com/@improbable-eng/grpc-web/-/grpc-web-0.15.0.tgz#3e47e9fdd90381a74abd4b7d26e67422a2a04bef" + integrity sha512-ERft9/0/8CmYalqOVnJnpdDry28q+j+nAlFFARdjyxXDJ+Mhgv9+F600QC8BR9ygOfrXRlAk6CvST2j+JCpQPg== + dependencies: + browser-headers "^0.4.1" + +browser-headers@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/browser-headers/-/browser-headers-0.4.1.tgz#4308a7ad3b240f4203dbb45acedb38dc2d65dd02" + integrity sha512-CA9hsySZVo9371qEHjHZtYxV2cFtVj5Wj/ZHi8ooEsrtm4vOnl9Y9HmyYWk9q+05d7K3rdoAE0j3MVEFVvtQtg== diff --git a/gooseai/dashboard/dashboard_grpc_pb.d.ts b/gooseai/dashboard/dashboard_grpc_pb.d.ts deleted file mode 100644 index c297878..0000000 --- a/gooseai/dashboard/dashboard_grpc_pb.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -// GENERATED CODE -- DO NOT EDIT! - -// package: gooseai -// file: dashboard.proto - -import * as dashboard_pb from "./dashboard_pb"; -import * as grpc from "grpc"; - -interface IDashboardServiceService extends grpc.ServiceDefinition { - getMe: grpc.MethodDefinition; - getOrganization: grpc.MethodDefinition; - getMetrics: grpc.MethodDefinition; - createAPIKey: grpc.MethodDefinition; - deleteAPIKey: grpc.MethodDefinition; - updateDefaultOrganization: grpc.MethodDefinition; - getClientSettings: grpc.MethodDefinition; - setClientSettings: grpc.MethodDefinition; - updateUserInfo: grpc.MethodDefinition; - createPasswordChangeTicket: grpc.MethodDefinition; - deleteAccount: grpc.MethodDefinition; - createCharge: grpc.MethodDefinition; - getCharges: grpc.MethodDefinition; - createAutoChargeIntent: grpc.MethodDefinition; - updateAutoChargeIntent: grpc.MethodDefinition; - getAutoChargeIntent: grpc.MethodDefinition; -} - -export const DashboardServiceService: IDashboardServiceService; - -export interface IDashboardServiceServer extends grpc.UntypedServiceImplementation { - getMe: grpc.handleUnaryCall; - getOrganization: grpc.handleUnaryCall; - getMetrics: grpc.handleUnaryCall; - createAPIKey: grpc.handleUnaryCall; - deleteAPIKey: grpc.handleUnaryCall; - updateDefaultOrganization: grpc.handleUnaryCall; - getClientSettings: grpc.handleUnaryCall; - setClientSettings: grpc.handleUnaryCall; - updateUserInfo: grpc.handleUnaryCall; - createPasswordChangeTicket: grpc.handleUnaryCall; - deleteAccount: grpc.handleUnaryCall; - createCharge: grpc.handleUnaryCall; - getCharges: grpc.handleUnaryCall; - createAutoChargeIntent: grpc.handleUnaryCall; - updateAutoChargeIntent: grpc.handleUnaryCall; - getAutoChargeIntent: grpc.handleUnaryCall; -} - -export class DashboardServiceClient extends grpc.Client { - constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); - getMe(argument: dashboard_pb.EmptyRequest, callback: grpc.requestCallback): grpc.ClientUnaryCall; - getMe(argument: dashboard_pb.EmptyRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - getMe(argument: dashboard_pb.EmptyRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - getOrganization(argument: dashboard_pb.GetOrganizationRequest, callback: grpc.requestCallback): grpc.ClientUnaryCall; - getOrganization(argument: dashboard_pb.GetOrganizationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - getOrganization(argument: dashboard_pb.GetOrganizationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - getMetrics(argument: dashboard_pb.GetMetricsRequest, callback: grpc.requestCallback): grpc.ClientUnaryCall; - getMetrics(argument: dashboard_pb.GetMetricsRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - getMetrics(argument: dashboard_pb.GetMetricsRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - createAPIKey(argument: dashboard_pb.APIKeyRequest, callback: grpc.requestCallback): grpc.ClientUnaryCall; - createAPIKey(argument: dashboard_pb.APIKeyRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - createAPIKey(argument: dashboard_pb.APIKeyRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - deleteAPIKey(argument: dashboard_pb.APIKeyFindRequest, callback: grpc.requestCallback): grpc.ClientUnaryCall; - deleteAPIKey(argument: dashboard_pb.APIKeyFindRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - deleteAPIKey(argument: dashboard_pb.APIKeyFindRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - updateDefaultOrganization(argument: dashboard_pb.UpdateDefaultOrganizationRequest, callback: grpc.requestCallback): grpc.ClientUnaryCall; - updateDefaultOrganization(argument: dashboard_pb.UpdateDefaultOrganizationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - updateDefaultOrganization(argument: dashboard_pb.UpdateDefaultOrganizationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - getClientSettings(argument: dashboard_pb.EmptyRequest, callback: grpc.requestCallback): grpc.ClientUnaryCall; - getClientSettings(argument: dashboard_pb.EmptyRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - getClientSettings(argument: dashboard_pb.EmptyRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - setClientSettings(argument: dashboard_pb.ClientSettings, callback: grpc.requestCallback): grpc.ClientUnaryCall; - setClientSettings(argument: dashboard_pb.ClientSettings, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - setClientSettings(argument: dashboard_pb.ClientSettings, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - updateUserInfo(argument: dashboard_pb.UpdateUserInfoRequest, callback: grpc.requestCallback): grpc.ClientUnaryCall; - updateUserInfo(argument: dashboard_pb.UpdateUserInfoRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - updateUserInfo(argument: dashboard_pb.UpdateUserInfoRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - createPasswordChangeTicket(argument: dashboard_pb.EmptyRequest, callback: grpc.requestCallback): grpc.ClientUnaryCall; - createPasswordChangeTicket(argument: dashboard_pb.EmptyRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - createPasswordChangeTicket(argument: dashboard_pb.EmptyRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - deleteAccount(argument: dashboard_pb.EmptyRequest, callback: grpc.requestCallback): grpc.ClientUnaryCall; - deleteAccount(argument: dashboard_pb.EmptyRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - deleteAccount(argument: dashboard_pb.EmptyRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - createCharge(argument: dashboard_pb.CreateChargeRequest, callback: grpc.requestCallback): grpc.ClientUnaryCall; - createCharge(argument: dashboard_pb.CreateChargeRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - createCharge(argument: dashboard_pb.CreateChargeRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - getCharges(argument: dashboard_pb.GetChargesRequest, callback: grpc.requestCallback): grpc.ClientUnaryCall; - getCharges(argument: dashboard_pb.GetChargesRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - getCharges(argument: dashboard_pb.GetChargesRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - createAutoChargeIntent(argument: dashboard_pb.CreateAutoChargeIntentRequest, callback: grpc.requestCallback): grpc.ClientUnaryCall; - createAutoChargeIntent(argument: dashboard_pb.CreateAutoChargeIntentRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - createAutoChargeIntent(argument: dashboard_pb.CreateAutoChargeIntentRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - updateAutoChargeIntent(argument: dashboard_pb.CreateAutoChargeIntentRequest, callback: grpc.requestCallback): grpc.ClientUnaryCall; - updateAutoChargeIntent(argument: dashboard_pb.CreateAutoChargeIntentRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - updateAutoChargeIntent(argument: dashboard_pb.CreateAutoChargeIntentRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - getAutoChargeIntent(argument: dashboard_pb.GetAutoChargeRequest, callback: grpc.requestCallback): grpc.ClientUnaryCall; - getAutoChargeIntent(argument: dashboard_pb.GetAutoChargeRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - getAutoChargeIntent(argument: dashboard_pb.GetAutoChargeRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; -} diff --git a/gooseai/dashboard/dashboard_grpc_pb.js b/gooseai/dashboard/dashboard_grpc_pb.js deleted file mode 100644 index 25b9c76..0000000 --- a/gooseai/dashboard/dashboard_grpc_pb.js +++ /dev/null @@ -1,411 +0,0 @@ -// GENERATED CODE -- DO NOT EDIT! - -'use strict'; -var grpc = require('grpc'); -var dashboard_pb = require('./dashboard_pb.js'); - -function serialize_gooseai_APIKey(arg) { - if (!(arg instanceof dashboard_pb.APIKey)) { - throw new Error('Expected argument of type gooseai.APIKey'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_APIKey(buffer_arg) { - return dashboard_pb.APIKey.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_APIKeyFindRequest(arg) { - if (!(arg instanceof dashboard_pb.APIKeyFindRequest)) { - throw new Error('Expected argument of type gooseai.APIKeyFindRequest'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_APIKeyFindRequest(buffer_arg) { - return dashboard_pb.APIKeyFindRequest.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_APIKeyRequest(arg) { - if (!(arg instanceof dashboard_pb.APIKeyRequest)) { - throw new Error('Expected argument of type gooseai.APIKeyRequest'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_APIKeyRequest(buffer_arg) { - return dashboard_pb.APIKeyRequest.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_AutoChargeIntent(arg) { - if (!(arg instanceof dashboard_pb.AutoChargeIntent)) { - throw new Error('Expected argument of type gooseai.AutoChargeIntent'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_AutoChargeIntent(buffer_arg) { - return dashboard_pb.AutoChargeIntent.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_Charge(arg) { - if (!(arg instanceof dashboard_pb.Charge)) { - throw new Error('Expected argument of type gooseai.Charge'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_Charge(buffer_arg) { - return dashboard_pb.Charge.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_Charges(arg) { - if (!(arg instanceof dashboard_pb.Charges)) { - throw new Error('Expected argument of type gooseai.Charges'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_Charges(buffer_arg) { - return dashboard_pb.Charges.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_ClientSettings(arg) { - if (!(arg instanceof dashboard_pb.ClientSettings)) { - throw new Error('Expected argument of type gooseai.ClientSettings'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_ClientSettings(buffer_arg) { - return dashboard_pb.ClientSettings.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_CreateAutoChargeIntentRequest(arg) { - if (!(arg instanceof dashboard_pb.CreateAutoChargeIntentRequest)) { - throw new Error('Expected argument of type gooseai.CreateAutoChargeIntentRequest'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_CreateAutoChargeIntentRequest(buffer_arg) { - return dashboard_pb.CreateAutoChargeIntentRequest.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_CreateChargeRequest(arg) { - if (!(arg instanceof dashboard_pb.CreateChargeRequest)) { - throw new Error('Expected argument of type gooseai.CreateChargeRequest'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_CreateChargeRequest(buffer_arg) { - return dashboard_pb.CreateChargeRequest.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_EmptyRequest(arg) { - if (!(arg instanceof dashboard_pb.EmptyRequest)) { - throw new Error('Expected argument of type gooseai.EmptyRequest'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_EmptyRequest(buffer_arg) { - return dashboard_pb.EmptyRequest.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_GetAutoChargeRequest(arg) { - if (!(arg instanceof dashboard_pb.GetAutoChargeRequest)) { - throw new Error('Expected argument of type gooseai.GetAutoChargeRequest'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_GetAutoChargeRequest(buffer_arg) { - return dashboard_pb.GetAutoChargeRequest.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_GetChargesRequest(arg) { - if (!(arg instanceof dashboard_pb.GetChargesRequest)) { - throw new Error('Expected argument of type gooseai.GetChargesRequest'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_GetChargesRequest(buffer_arg) { - return dashboard_pb.GetChargesRequest.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_GetMetricsRequest(arg) { - if (!(arg instanceof dashboard_pb.GetMetricsRequest)) { - throw new Error('Expected argument of type gooseai.GetMetricsRequest'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_GetMetricsRequest(buffer_arg) { - return dashboard_pb.GetMetricsRequest.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_GetOrganizationRequest(arg) { - if (!(arg instanceof dashboard_pb.GetOrganizationRequest)) { - throw new Error('Expected argument of type gooseai.GetOrganizationRequest'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_GetOrganizationRequest(buffer_arg) { - return dashboard_pb.GetOrganizationRequest.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_Metrics(arg) { - if (!(arg instanceof dashboard_pb.Metrics)) { - throw new Error('Expected argument of type gooseai.Metrics'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_Metrics(buffer_arg) { - return dashboard_pb.Metrics.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_Organization(arg) { - if (!(arg instanceof dashboard_pb.Organization)) { - throw new Error('Expected argument of type gooseai.Organization'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_Organization(buffer_arg) { - return dashboard_pb.Organization.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_UpdateDefaultOrganizationRequest(arg) { - if (!(arg instanceof dashboard_pb.UpdateDefaultOrganizationRequest)) { - throw new Error('Expected argument of type gooseai.UpdateDefaultOrganizationRequest'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_UpdateDefaultOrganizationRequest(buffer_arg) { - return dashboard_pb.UpdateDefaultOrganizationRequest.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_UpdateUserInfoRequest(arg) { - if (!(arg instanceof dashboard_pb.UpdateUserInfoRequest)) { - throw new Error('Expected argument of type gooseai.UpdateUserInfoRequest'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_UpdateUserInfoRequest(buffer_arg) { - return dashboard_pb.UpdateUserInfoRequest.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_User(arg) { - if (!(arg instanceof dashboard_pb.User)) { - throw new Error('Expected argument of type gooseai.User'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_User(buffer_arg) { - return dashboard_pb.User.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_UserPasswordChangeTicket(arg) { - if (!(arg instanceof dashboard_pb.UserPasswordChangeTicket)) { - throw new Error('Expected argument of type gooseai.UserPasswordChangeTicket'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_UserPasswordChangeTicket(buffer_arg) { - return dashboard_pb.UserPasswordChangeTicket.deserializeBinary(new Uint8Array(buffer_arg)); -} - - -var DashboardServiceService = exports.DashboardServiceService = { - // Get info -getMe: { - path: '/gooseai.DashboardService/GetMe', - requestStream: false, - responseStream: false, - requestType: dashboard_pb.EmptyRequest, - responseType: dashboard_pb.User, - requestSerialize: serialize_gooseai_EmptyRequest, - requestDeserialize: deserialize_gooseai_EmptyRequest, - responseSerialize: serialize_gooseai_User, - responseDeserialize: deserialize_gooseai_User, - }, - getOrganization: { - path: '/gooseai.DashboardService/GetOrganization', - requestStream: false, - responseStream: false, - requestType: dashboard_pb.GetOrganizationRequest, - responseType: dashboard_pb.Organization, - requestSerialize: serialize_gooseai_GetOrganizationRequest, - requestDeserialize: deserialize_gooseai_GetOrganizationRequest, - responseSerialize: serialize_gooseai_Organization, - responseDeserialize: deserialize_gooseai_Organization, - }, - getMetrics: { - path: '/gooseai.DashboardService/GetMetrics', - requestStream: false, - responseStream: false, - requestType: dashboard_pb.GetMetricsRequest, - responseType: dashboard_pb.Metrics, - requestSerialize: serialize_gooseai_GetMetricsRequest, - requestDeserialize: deserialize_gooseai_GetMetricsRequest, - responseSerialize: serialize_gooseai_Metrics, - responseDeserialize: deserialize_gooseai_Metrics, - }, - // API key management -createAPIKey: { - path: '/gooseai.DashboardService/CreateAPIKey', - requestStream: false, - responseStream: false, - requestType: dashboard_pb.APIKeyRequest, - responseType: dashboard_pb.APIKey, - requestSerialize: serialize_gooseai_APIKeyRequest, - requestDeserialize: deserialize_gooseai_APIKeyRequest, - responseSerialize: serialize_gooseai_APIKey, - responseDeserialize: deserialize_gooseai_APIKey, - }, - deleteAPIKey: { - path: '/gooseai.DashboardService/DeleteAPIKey', - requestStream: false, - responseStream: false, - requestType: dashboard_pb.APIKeyFindRequest, - responseType: dashboard_pb.APIKey, - requestSerialize: serialize_gooseai_APIKeyFindRequest, - requestDeserialize: deserialize_gooseai_APIKeyFindRequest, - responseSerialize: serialize_gooseai_APIKey, - responseDeserialize: deserialize_gooseai_APIKey, - }, - // User settings -updateDefaultOrganization: { - path: '/gooseai.DashboardService/UpdateDefaultOrganization', - requestStream: false, - responseStream: false, - requestType: dashboard_pb.UpdateDefaultOrganizationRequest, - responseType: dashboard_pb.User, - requestSerialize: serialize_gooseai_UpdateDefaultOrganizationRequest, - requestDeserialize: deserialize_gooseai_UpdateDefaultOrganizationRequest, - responseSerialize: serialize_gooseai_User, - responseDeserialize: deserialize_gooseai_User, - }, - getClientSettings: { - path: '/gooseai.DashboardService/GetClientSettings', - requestStream: false, - responseStream: false, - requestType: dashboard_pb.EmptyRequest, - responseType: dashboard_pb.ClientSettings, - requestSerialize: serialize_gooseai_EmptyRequest, - requestDeserialize: deserialize_gooseai_EmptyRequest, - responseSerialize: serialize_gooseai_ClientSettings, - responseDeserialize: deserialize_gooseai_ClientSettings, - }, - setClientSettings: { - path: '/gooseai.DashboardService/SetClientSettings', - requestStream: false, - responseStream: false, - requestType: dashboard_pb.ClientSettings, - responseType: dashboard_pb.ClientSettings, - requestSerialize: serialize_gooseai_ClientSettings, - requestDeserialize: deserialize_gooseai_ClientSettings, - responseSerialize: serialize_gooseai_ClientSettings, - responseDeserialize: deserialize_gooseai_ClientSettings, - }, - updateUserInfo: { - path: '/gooseai.DashboardService/UpdateUserInfo', - requestStream: false, - responseStream: false, - requestType: dashboard_pb.UpdateUserInfoRequest, - responseType: dashboard_pb.User, - requestSerialize: serialize_gooseai_UpdateUserInfoRequest, - requestDeserialize: deserialize_gooseai_UpdateUserInfoRequest, - responseSerialize: serialize_gooseai_User, - responseDeserialize: deserialize_gooseai_User, - }, - createPasswordChangeTicket: { - path: '/gooseai.DashboardService/CreatePasswordChangeTicket', - requestStream: false, - responseStream: false, - requestType: dashboard_pb.EmptyRequest, - responseType: dashboard_pb.UserPasswordChangeTicket, - requestSerialize: serialize_gooseai_EmptyRequest, - requestDeserialize: deserialize_gooseai_EmptyRequest, - responseSerialize: serialize_gooseai_UserPasswordChangeTicket, - responseDeserialize: deserialize_gooseai_UserPasswordChangeTicket, - }, - deleteAccount: { - path: '/gooseai.DashboardService/DeleteAccount', - requestStream: false, - responseStream: false, - requestType: dashboard_pb.EmptyRequest, - responseType: dashboard_pb.User, - requestSerialize: serialize_gooseai_EmptyRequest, - requestDeserialize: deserialize_gooseai_EmptyRequest, - responseSerialize: serialize_gooseai_User, - responseDeserialize: deserialize_gooseai_User, - }, - // Payment functions -createCharge: { - path: '/gooseai.DashboardService/CreateCharge', - requestStream: false, - responseStream: false, - requestType: dashboard_pb.CreateChargeRequest, - responseType: dashboard_pb.Charge, - requestSerialize: serialize_gooseai_CreateChargeRequest, - requestDeserialize: deserialize_gooseai_CreateChargeRequest, - responseSerialize: serialize_gooseai_Charge, - responseDeserialize: deserialize_gooseai_Charge, - }, - getCharges: { - path: '/gooseai.DashboardService/GetCharges', - requestStream: false, - responseStream: false, - requestType: dashboard_pb.GetChargesRequest, - responseType: dashboard_pb.Charges, - requestSerialize: serialize_gooseai_GetChargesRequest, - requestDeserialize: deserialize_gooseai_GetChargesRequest, - responseSerialize: serialize_gooseai_Charges, - responseDeserialize: deserialize_gooseai_Charges, - }, - createAutoChargeIntent: { - path: '/gooseai.DashboardService/CreateAutoChargeIntent', - requestStream: false, - responseStream: false, - requestType: dashboard_pb.CreateAutoChargeIntentRequest, - responseType: dashboard_pb.AutoChargeIntent, - requestSerialize: serialize_gooseai_CreateAutoChargeIntentRequest, - requestDeserialize: deserialize_gooseai_CreateAutoChargeIntentRequest, - responseSerialize: serialize_gooseai_AutoChargeIntent, - responseDeserialize: deserialize_gooseai_AutoChargeIntent, - }, - updateAutoChargeIntent: { - path: '/gooseai.DashboardService/UpdateAutoChargeIntent', - requestStream: false, - responseStream: false, - requestType: dashboard_pb.CreateAutoChargeIntentRequest, - responseType: dashboard_pb.AutoChargeIntent, - requestSerialize: serialize_gooseai_CreateAutoChargeIntentRequest, - requestDeserialize: deserialize_gooseai_CreateAutoChargeIntentRequest, - responseSerialize: serialize_gooseai_AutoChargeIntent, - responseDeserialize: deserialize_gooseai_AutoChargeIntent, - }, - getAutoChargeIntent: { - path: '/gooseai.DashboardService/GetAutoChargeIntent', - requestStream: false, - responseStream: false, - requestType: dashboard_pb.GetAutoChargeRequest, - responseType: dashboard_pb.AutoChargeIntent, - requestSerialize: serialize_gooseai_GetAutoChargeRequest, - requestDeserialize: deserialize_gooseai_GetAutoChargeRequest, - responseSerialize: serialize_gooseai_AutoChargeIntent, - responseDeserialize: deserialize_gooseai_AutoChargeIntent, - }, -}; - -exports.DashboardServiceClient = grpc.makeGenericClientConstructor(DashboardServiceService); diff --git a/gooseai/dashboard/dashboard_pb2.py b/gooseai/dashboard/dashboard_pb2.py deleted file mode 100644 index e387af3..0000000 --- a/gooseai/dashboard/dashboard_pb2.py +++ /dev/null @@ -1,316 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: dashboard.proto -"""Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0f\x64\x61shboard.proto\x12\x07gooseai\"\xa9\x01\n\x12OrganizationMember\x12+\n\x0corganization\x18\x01 \x01(\x0b\x32\x15.gooseai.Organization\x12 \n\x04user\x18\x02 \x01(\x0b\x32\r.gooseai.UserH\x00\x88\x01\x01\x12\'\n\x04role\x18\x03 \x01(\x0e\x32\x19.gooseai.OrganizationRole\x12\x12\n\nis_default\x18\x04 \x01(\x08\x42\x07\n\x05_user\"h\n\x11OrganizationGrant\x12\x16\n\x0e\x61mount_granted\x18\x01 \x01(\x01\x12\x13\n\x0b\x61mount_used\x18\x02 \x01(\x01\x12\x12\n\nexpires_at\x18\x03 \x01(\x04\x12\x12\n\ngranted_at\x18\x04 \x01(\x04\"V\n\x17OrganizationPaymentInfo\x12\x0f\n\x07\x62\x61lance\x18\x01 \x01(\x01\x12*\n\x06grants\x18\x02 \x03(\x0b\x32\x1a.gooseai.OrganizationGrant\"I\n\x16OrganizationAutoCharge\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\n\n\x02id\x18\x02 \x01(\t\x12\x12\n\ncreated_at\x18\x03 \x01(\x04\"\xbc\x02\n\x0cOrganization\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12,\n\x07members\x18\x04 \x03(\x0b\x32\x1b.gooseai.OrganizationMember\x12;\n\x0cpayment_info\x18\x05 \x01(\x0b\x32 .gooseai.OrganizationPaymentInfoH\x00\x88\x01\x01\x12\x1f\n\x12stripe_customer_id\x18\x06 \x01(\tH\x01\x88\x01\x01\x12\x39\n\x0b\x61uto_charge\x18\x07 \x01(\x0b\x32\x1f.gooseai.OrganizationAutoChargeH\x02\x88\x01\x01\x42\x0f\n\r_payment_infoB\x15\n\x13_stripe_customer_idB\x0e\n\x0c_auto_charge\"<\n\x06\x41PIKey\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x11\n\tis_secret\x18\x02 \x01(\x08\x12\x12\n\ncreated_at\x18\x03 \x01(\x04\"\xf7\x01\n\x04User\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x07\x61uth_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x17\n\x0fprofile_picture\x18\x03 \x01(\t\x12\r\n\x05\x65mail\x18\x04 \x01(\t\x12\x32\n\rorganizations\x18\x05 \x03(\x0b\x32\x1b.gooseai.OrganizationMember\x12!\n\x08\x61pi_keys\x18\x07 \x03(\x0b\x32\x0f.gooseai.APIKey\x12\x12\n\ncreated_at\x18\x08 \x01(\x04\x12\x1b\n\x0e\x65mail_verified\x18\t \x01(\x08H\x01\x88\x01\x01\x42\n\n\x08_auth_idB\x11\n\x0f_email_verified\"9\n\x08\x43ostData\x12\x15\n\ramount_tokens\x18\x01 \x01(\r\x12\x16\n\x0e\x61mount_credits\x18\x02 \x01(\x01\"\xba\x01\n\x0bUsageMetric\x12\x11\n\toperation\x18\x01 \x01(\t\x12\x0e\n\x06\x65ngine\x18\x02 \x01(\t\x12%\n\ninput_cost\x18\x03 \x01(\x0b\x32\x11.gooseai.CostData\x12&\n\x0boutput_cost\x18\x04 \x01(\x0b\x32\x11.gooseai.CostData\x12\x11\n\x04user\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x1d\n\x15\x61ggregation_timestamp\x18\x06 \x01(\x04\x42\x07\n\x05_user\":\n\tCostTotal\x12\x15\n\ramount_tokens\x18\x01 \x01(\r\x12\x16\n\x0e\x61mount_credits\x18\x02 \x01(\x01\"e\n\x10TotalMetricsData\x12\'\n\x0binput_total\x18\x01 \x01(\x0b\x32\x12.gooseai.CostTotal\x12(\n\x0coutput_total\x18\x02 \x01(\x0b\x32\x12.gooseai.CostTotal\"Z\n\x07Metrics\x12%\n\x07metrics\x18\x01 \x03(\x0b\x32\x14.gooseai.UsageMetric\x12(\n\x05total\x18\x02 \x01(\x0b\x32\x19.gooseai.TotalMetricsData\"\x0e\n\x0c\x45mptyRequest\"$\n\x16GetOrganizationRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\x99\x01\n\x11GetMetricsRequest\x12\x17\n\x0forganization_id\x18\x01 \x01(\t\x12\x14\n\x07user_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x12\n\nrange_from\x18\x03 \x01(\x04\x12\x10\n\x08range_to\x18\x04 \x01(\x04\x12#\n\x1binclude_per_request_metrics\x18\x05 \x01(\x08\x42\n\n\x08_user_id\"\"\n\rAPIKeyRequest\x12\x11\n\tis_secret\x18\x01 \x01(\x08\"\x1f\n\x11\x41PIKeyFindRequest\x12\n\n\x02id\x18\x01 \x01(\t\";\n UpdateDefaultOrganizationRequest\x12\x17\n\x0forganization_id\x18\x01 \x01(\t\"\"\n\x0e\x43lientSettings\x12\x10\n\x08settings\x18\x01 \x01(\x0c\"\x80\x01\n\x1d\x43reateAutoChargeIntentRequest\x12\x17\n\x0forganization_id\x18\x01 \x01(\t\x12\x17\n\x0fmonthly_maximum\x18\x02 \x01(\x04\x12\x15\n\rminimum_value\x18\x03 \x01(\x04\x12\x16\n\x0e\x61mount_credits\x18\x04 \x01(\x04\">\n\x13\x43reateChargeRequest\x12\x0e\n\x06\x61mount\x18\x01 \x01(\x04\x12\x17\n\x0forganization_id\x18\x02 \x01(\t\"R\n\x11GetChargesRequest\x12\x17\n\x0forganization_id\x18\x01 \x01(\t\x12\x12\n\nrange_from\x18\x02 \x01(\x04\x12\x10\n\x08range_to\x18\x03 \x01(\x04\"z\n\x06\x43harge\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04paid\x18\x02 \x01(\x08\x12\x14\n\x0creceipt_link\x18\x03 \x01(\t\x12\x14\n\x0cpayment_link\x18\x04 \x01(\t\x12\x12\n\ncreated_at\x18\x05 \x01(\x04\x12\x16\n\x0e\x61mount_credits\x18\x06 \x01(\x04\"+\n\x07\x43harges\x12 \n\x07\x63harges\x18\x01 \x03(\x0b\x32\x0f.gooseai.Charge\"/\n\x14GetAutoChargeRequest\x12\x17\n\x0forganization_id\x18\x01 \x01(\t\"\x90\x01\n\x10\x41utoChargeIntent\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0cpayment_link\x18\x02 \x01(\t\x12\x12\n\ncreated_at\x18\x03 \x01(\x04\x12\x17\n\x0fmonthly_maximum\x18\x04 \x01(\x04\x12\x15\n\rminimum_value\x18\x05 \x01(\x04\x12\x16\n\x0e\x61mount_credits\x18\x06 \x01(\x04\"5\n\x15UpdateUserInfoRequest\x12\x12\n\x05\x65mail\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_email\"*\n\x18UserPasswordChangeTicket\x12\x0e\n\x06ticket\x18\x01 \x01(\t*9\n\x10OrganizationRole\x12\n\n\x06MEMBER\x10\x00\x12\x0e\n\nACCOUNTANT\x10\x01\x12\t\n\x05OWNER\x10\x02\x32\xf7\x08\n\x10\x44\x61shboardService\x12-\n\x05GetMe\x12\x15.gooseai.EmptyRequest\x1a\r.gooseai.User\x12I\n\x0fGetOrganization\x12\x1f.gooseai.GetOrganizationRequest\x1a\x15.gooseai.Organization\x12:\n\nGetMetrics\x12\x1a.gooseai.GetMetricsRequest\x1a\x10.gooseai.Metrics\x12\x37\n\x0c\x43reateAPIKey\x12\x16.gooseai.APIKeyRequest\x1a\x0f.gooseai.APIKey\x12;\n\x0c\x44\x65leteAPIKey\x12\x1a.gooseai.APIKeyFindRequest\x1a\x0f.gooseai.APIKey\x12U\n\x19UpdateDefaultOrganization\x12).gooseai.UpdateDefaultOrganizationRequest\x1a\r.gooseai.User\x12\x43\n\x11GetClientSettings\x12\x15.gooseai.EmptyRequest\x1a\x17.gooseai.ClientSettings\x12\x45\n\x11SetClientSettings\x12\x17.gooseai.ClientSettings\x1a\x17.gooseai.ClientSettings\x12?\n\x0eUpdateUserInfo\x12\x1e.gooseai.UpdateUserInfoRequest\x1a\r.gooseai.User\x12V\n\x1a\x43reatePasswordChangeTicket\x12\x15.gooseai.EmptyRequest\x1a!.gooseai.UserPasswordChangeTicket\x12\x35\n\rDeleteAccount\x12\x15.gooseai.EmptyRequest\x1a\r.gooseai.User\x12=\n\x0c\x43reateCharge\x12\x1c.gooseai.CreateChargeRequest\x1a\x0f.gooseai.Charge\x12:\n\nGetCharges\x12\x1a.gooseai.GetChargesRequest\x1a\x10.gooseai.Charges\x12[\n\x16\x43reateAutoChargeIntent\x12&.gooseai.CreateAutoChargeIntentRequest\x1a\x19.gooseai.AutoChargeIntent\x12[\n\x16UpdateAutoChargeIntent\x12&.gooseai.CreateAutoChargeIntentRequest\x1a\x19.gooseai.AutoChargeIntent\x12O\n\x13GetAutoChargeIntent\x12\x1d.gooseai.GetAutoChargeRequest\x1a\x19.gooseai.AutoChargeIntentB\x0eZ\x0c./;dashboardb\x06proto3') - -_ORGANIZATIONROLE = DESCRIPTOR.enum_types_by_name['OrganizationRole'] -OrganizationRole = enum_type_wrapper.EnumTypeWrapper(_ORGANIZATIONROLE) -MEMBER = 0 -ACCOUNTANT = 1 -OWNER = 2 - - -_ORGANIZATIONMEMBER = DESCRIPTOR.message_types_by_name['OrganizationMember'] -_ORGANIZATIONGRANT = DESCRIPTOR.message_types_by_name['OrganizationGrant'] -_ORGANIZATIONPAYMENTINFO = DESCRIPTOR.message_types_by_name['OrganizationPaymentInfo'] -_ORGANIZATIONAUTOCHARGE = DESCRIPTOR.message_types_by_name['OrganizationAutoCharge'] -_ORGANIZATION = DESCRIPTOR.message_types_by_name['Organization'] -_APIKEY = DESCRIPTOR.message_types_by_name['APIKey'] -_USER = DESCRIPTOR.message_types_by_name['User'] -_COSTDATA = DESCRIPTOR.message_types_by_name['CostData'] -_USAGEMETRIC = DESCRIPTOR.message_types_by_name['UsageMetric'] -_COSTTOTAL = DESCRIPTOR.message_types_by_name['CostTotal'] -_TOTALMETRICSDATA = DESCRIPTOR.message_types_by_name['TotalMetricsData'] -_METRICS = DESCRIPTOR.message_types_by_name['Metrics'] -_EMPTYREQUEST = DESCRIPTOR.message_types_by_name['EmptyRequest'] -_GETORGANIZATIONREQUEST = DESCRIPTOR.message_types_by_name['GetOrganizationRequest'] -_GETMETRICSREQUEST = DESCRIPTOR.message_types_by_name['GetMetricsRequest'] -_APIKEYREQUEST = DESCRIPTOR.message_types_by_name['APIKeyRequest'] -_APIKEYFINDREQUEST = DESCRIPTOR.message_types_by_name['APIKeyFindRequest'] -_UPDATEDEFAULTORGANIZATIONREQUEST = DESCRIPTOR.message_types_by_name['UpdateDefaultOrganizationRequest'] -_CLIENTSETTINGS = DESCRIPTOR.message_types_by_name['ClientSettings'] -_CREATEAUTOCHARGEINTENTREQUEST = DESCRIPTOR.message_types_by_name['CreateAutoChargeIntentRequest'] -_CREATECHARGEREQUEST = DESCRIPTOR.message_types_by_name['CreateChargeRequest'] -_GETCHARGESREQUEST = DESCRIPTOR.message_types_by_name['GetChargesRequest'] -_CHARGE = DESCRIPTOR.message_types_by_name['Charge'] -_CHARGES = DESCRIPTOR.message_types_by_name['Charges'] -_GETAUTOCHARGEREQUEST = DESCRIPTOR.message_types_by_name['GetAutoChargeRequest'] -_AUTOCHARGEINTENT = DESCRIPTOR.message_types_by_name['AutoChargeIntent'] -_UPDATEUSERINFOREQUEST = DESCRIPTOR.message_types_by_name['UpdateUserInfoRequest'] -_USERPASSWORDCHANGETICKET = DESCRIPTOR.message_types_by_name['UserPasswordChangeTicket'] -OrganizationMember = _reflection.GeneratedProtocolMessageType('OrganizationMember', (_message.Message,), { - 'DESCRIPTOR' : _ORGANIZATIONMEMBER, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.OrganizationMember) - }) -_sym_db.RegisterMessage(OrganizationMember) - -OrganizationGrant = _reflection.GeneratedProtocolMessageType('OrganizationGrant', (_message.Message,), { - 'DESCRIPTOR' : _ORGANIZATIONGRANT, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.OrganizationGrant) - }) -_sym_db.RegisterMessage(OrganizationGrant) - -OrganizationPaymentInfo = _reflection.GeneratedProtocolMessageType('OrganizationPaymentInfo', (_message.Message,), { - 'DESCRIPTOR' : _ORGANIZATIONPAYMENTINFO, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.OrganizationPaymentInfo) - }) -_sym_db.RegisterMessage(OrganizationPaymentInfo) - -OrganizationAutoCharge = _reflection.GeneratedProtocolMessageType('OrganizationAutoCharge', (_message.Message,), { - 'DESCRIPTOR' : _ORGANIZATIONAUTOCHARGE, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.OrganizationAutoCharge) - }) -_sym_db.RegisterMessage(OrganizationAutoCharge) - -Organization = _reflection.GeneratedProtocolMessageType('Organization', (_message.Message,), { - 'DESCRIPTOR' : _ORGANIZATION, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.Organization) - }) -_sym_db.RegisterMessage(Organization) - -APIKey = _reflection.GeneratedProtocolMessageType('APIKey', (_message.Message,), { - 'DESCRIPTOR' : _APIKEY, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.APIKey) - }) -_sym_db.RegisterMessage(APIKey) - -User = _reflection.GeneratedProtocolMessageType('User', (_message.Message,), { - 'DESCRIPTOR' : _USER, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.User) - }) -_sym_db.RegisterMessage(User) - -CostData = _reflection.GeneratedProtocolMessageType('CostData', (_message.Message,), { - 'DESCRIPTOR' : _COSTDATA, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.CostData) - }) -_sym_db.RegisterMessage(CostData) - -UsageMetric = _reflection.GeneratedProtocolMessageType('UsageMetric', (_message.Message,), { - 'DESCRIPTOR' : _USAGEMETRIC, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.UsageMetric) - }) -_sym_db.RegisterMessage(UsageMetric) - -CostTotal = _reflection.GeneratedProtocolMessageType('CostTotal', (_message.Message,), { - 'DESCRIPTOR' : _COSTTOTAL, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.CostTotal) - }) -_sym_db.RegisterMessage(CostTotal) - -TotalMetricsData = _reflection.GeneratedProtocolMessageType('TotalMetricsData', (_message.Message,), { - 'DESCRIPTOR' : _TOTALMETRICSDATA, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.TotalMetricsData) - }) -_sym_db.RegisterMessage(TotalMetricsData) - -Metrics = _reflection.GeneratedProtocolMessageType('Metrics', (_message.Message,), { - 'DESCRIPTOR' : _METRICS, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.Metrics) - }) -_sym_db.RegisterMessage(Metrics) - -EmptyRequest = _reflection.GeneratedProtocolMessageType('EmptyRequest', (_message.Message,), { - 'DESCRIPTOR' : _EMPTYREQUEST, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.EmptyRequest) - }) -_sym_db.RegisterMessage(EmptyRequest) - -GetOrganizationRequest = _reflection.GeneratedProtocolMessageType('GetOrganizationRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETORGANIZATIONREQUEST, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.GetOrganizationRequest) - }) -_sym_db.RegisterMessage(GetOrganizationRequest) - -GetMetricsRequest = _reflection.GeneratedProtocolMessageType('GetMetricsRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETMETRICSREQUEST, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.GetMetricsRequest) - }) -_sym_db.RegisterMessage(GetMetricsRequest) - -APIKeyRequest = _reflection.GeneratedProtocolMessageType('APIKeyRequest', (_message.Message,), { - 'DESCRIPTOR' : _APIKEYREQUEST, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.APIKeyRequest) - }) -_sym_db.RegisterMessage(APIKeyRequest) - -APIKeyFindRequest = _reflection.GeneratedProtocolMessageType('APIKeyFindRequest', (_message.Message,), { - 'DESCRIPTOR' : _APIKEYFINDREQUEST, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.APIKeyFindRequest) - }) -_sym_db.RegisterMessage(APIKeyFindRequest) - -UpdateDefaultOrganizationRequest = _reflection.GeneratedProtocolMessageType('UpdateDefaultOrganizationRequest', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEDEFAULTORGANIZATIONREQUEST, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.UpdateDefaultOrganizationRequest) - }) -_sym_db.RegisterMessage(UpdateDefaultOrganizationRequest) - -ClientSettings = _reflection.GeneratedProtocolMessageType('ClientSettings', (_message.Message,), { - 'DESCRIPTOR' : _CLIENTSETTINGS, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.ClientSettings) - }) -_sym_db.RegisterMessage(ClientSettings) - -CreateAutoChargeIntentRequest = _reflection.GeneratedProtocolMessageType('CreateAutoChargeIntentRequest', (_message.Message,), { - 'DESCRIPTOR' : _CREATEAUTOCHARGEINTENTREQUEST, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.CreateAutoChargeIntentRequest) - }) -_sym_db.RegisterMessage(CreateAutoChargeIntentRequest) - -CreateChargeRequest = _reflection.GeneratedProtocolMessageType('CreateChargeRequest', (_message.Message,), { - 'DESCRIPTOR' : _CREATECHARGEREQUEST, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.CreateChargeRequest) - }) -_sym_db.RegisterMessage(CreateChargeRequest) - -GetChargesRequest = _reflection.GeneratedProtocolMessageType('GetChargesRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETCHARGESREQUEST, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.GetChargesRequest) - }) -_sym_db.RegisterMessage(GetChargesRequest) - -Charge = _reflection.GeneratedProtocolMessageType('Charge', (_message.Message,), { - 'DESCRIPTOR' : _CHARGE, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.Charge) - }) -_sym_db.RegisterMessage(Charge) - -Charges = _reflection.GeneratedProtocolMessageType('Charges', (_message.Message,), { - 'DESCRIPTOR' : _CHARGES, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.Charges) - }) -_sym_db.RegisterMessage(Charges) - -GetAutoChargeRequest = _reflection.GeneratedProtocolMessageType('GetAutoChargeRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETAUTOCHARGEREQUEST, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.GetAutoChargeRequest) - }) -_sym_db.RegisterMessage(GetAutoChargeRequest) - -AutoChargeIntent = _reflection.GeneratedProtocolMessageType('AutoChargeIntent', (_message.Message,), { - 'DESCRIPTOR' : _AUTOCHARGEINTENT, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.AutoChargeIntent) - }) -_sym_db.RegisterMessage(AutoChargeIntent) - -UpdateUserInfoRequest = _reflection.GeneratedProtocolMessageType('UpdateUserInfoRequest', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEUSERINFOREQUEST, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.UpdateUserInfoRequest) - }) -_sym_db.RegisterMessage(UpdateUserInfoRequest) - -UserPasswordChangeTicket = _reflection.GeneratedProtocolMessageType('UserPasswordChangeTicket', (_message.Message,), { - 'DESCRIPTOR' : _USERPASSWORDCHANGETICKET, - '__module__' : 'dashboard_pb2' - # @@protoc_insertion_point(class_scope:gooseai.UserPasswordChangeTicket) - }) -_sym_db.RegisterMessage(UserPasswordChangeTicket) - -_DASHBOARDSERVICE = DESCRIPTOR.services_by_name['DashboardService'] -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z\014./;dashboard' - _ORGANIZATIONROLE._serialized_start=2722 - _ORGANIZATIONROLE._serialized_end=2779 - _ORGANIZATIONMEMBER._serialized_start=29 - _ORGANIZATIONMEMBER._serialized_end=198 - _ORGANIZATIONGRANT._serialized_start=200 - _ORGANIZATIONGRANT._serialized_end=304 - _ORGANIZATIONPAYMENTINFO._serialized_start=306 - _ORGANIZATIONPAYMENTINFO._serialized_end=392 - _ORGANIZATIONAUTOCHARGE._serialized_start=394 - _ORGANIZATIONAUTOCHARGE._serialized_end=467 - _ORGANIZATION._serialized_start=470 - _ORGANIZATION._serialized_end=786 - _APIKEY._serialized_start=788 - _APIKEY._serialized_end=848 - _USER._serialized_start=851 - _USER._serialized_end=1098 - _COSTDATA._serialized_start=1100 - _COSTDATA._serialized_end=1157 - _USAGEMETRIC._serialized_start=1160 - _USAGEMETRIC._serialized_end=1346 - _COSTTOTAL._serialized_start=1348 - _COSTTOTAL._serialized_end=1406 - _TOTALMETRICSDATA._serialized_start=1408 - _TOTALMETRICSDATA._serialized_end=1509 - _METRICS._serialized_start=1511 - _METRICS._serialized_end=1601 - _EMPTYREQUEST._serialized_start=1603 - _EMPTYREQUEST._serialized_end=1617 - _GETORGANIZATIONREQUEST._serialized_start=1619 - _GETORGANIZATIONREQUEST._serialized_end=1655 - _GETMETRICSREQUEST._serialized_start=1658 - _GETMETRICSREQUEST._serialized_end=1811 - _APIKEYREQUEST._serialized_start=1813 - _APIKEYREQUEST._serialized_end=1847 - _APIKEYFINDREQUEST._serialized_start=1849 - _APIKEYFINDREQUEST._serialized_end=1880 - _UPDATEDEFAULTORGANIZATIONREQUEST._serialized_start=1882 - _UPDATEDEFAULTORGANIZATIONREQUEST._serialized_end=1941 - _CLIENTSETTINGS._serialized_start=1943 - _CLIENTSETTINGS._serialized_end=1977 - _CREATEAUTOCHARGEINTENTREQUEST._serialized_start=1980 - _CREATEAUTOCHARGEINTENTREQUEST._serialized_end=2108 - _CREATECHARGEREQUEST._serialized_start=2110 - _CREATECHARGEREQUEST._serialized_end=2172 - _GETCHARGESREQUEST._serialized_start=2174 - _GETCHARGESREQUEST._serialized_end=2256 - _CHARGE._serialized_start=2258 - _CHARGE._serialized_end=2380 - _CHARGES._serialized_start=2382 - _CHARGES._serialized_end=2425 - _GETAUTOCHARGEREQUEST._serialized_start=2427 - _GETAUTOCHARGEREQUEST._serialized_end=2474 - _AUTOCHARGEINTENT._serialized_start=2477 - _AUTOCHARGEINTENT._serialized_end=2621 - _UPDATEUSERINFOREQUEST._serialized_start=2623 - _UPDATEUSERINFOREQUEST._serialized_end=2676 - _USERPASSWORDCHANGETICKET._serialized_start=2678 - _USERPASSWORDCHANGETICKET._serialized_end=2720 - _DASHBOARDSERVICE._serialized_start=2782 - _DASHBOARDSERVICE._serialized_end=3925 -# @@protoc_insertion_point(module_scope) diff --git a/gooseai/dashboard/dashboard_pb2_grpc.py b/gooseai/dashboard/dashboard_pb2_grpc.py deleted file mode 100644 index 6dda49c..0000000 --- a/gooseai/dashboard/dashboard_pb2_grpc.py +++ /dev/null @@ -1,565 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -import dashboard_pb2 as dashboard__pb2 - - -class DashboardServiceStub(object): - """Missing associated documentation comment in .proto file.""" - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetMe = channel.unary_unary( - '/gooseai.DashboardService/GetMe', - request_serializer=dashboard__pb2.EmptyRequest.SerializeToString, - response_deserializer=dashboard__pb2.User.FromString, - ) - self.GetOrganization = channel.unary_unary( - '/gooseai.DashboardService/GetOrganization', - request_serializer=dashboard__pb2.GetOrganizationRequest.SerializeToString, - response_deserializer=dashboard__pb2.Organization.FromString, - ) - self.GetMetrics = channel.unary_unary( - '/gooseai.DashboardService/GetMetrics', - request_serializer=dashboard__pb2.GetMetricsRequest.SerializeToString, - response_deserializer=dashboard__pb2.Metrics.FromString, - ) - self.CreateAPIKey = channel.unary_unary( - '/gooseai.DashboardService/CreateAPIKey', - request_serializer=dashboard__pb2.APIKeyRequest.SerializeToString, - response_deserializer=dashboard__pb2.APIKey.FromString, - ) - self.DeleteAPIKey = channel.unary_unary( - '/gooseai.DashboardService/DeleteAPIKey', - request_serializer=dashboard__pb2.APIKeyFindRequest.SerializeToString, - response_deserializer=dashboard__pb2.APIKey.FromString, - ) - self.UpdateDefaultOrganization = channel.unary_unary( - '/gooseai.DashboardService/UpdateDefaultOrganization', - request_serializer=dashboard__pb2.UpdateDefaultOrganizationRequest.SerializeToString, - response_deserializer=dashboard__pb2.User.FromString, - ) - self.GetClientSettings = channel.unary_unary( - '/gooseai.DashboardService/GetClientSettings', - request_serializer=dashboard__pb2.EmptyRequest.SerializeToString, - response_deserializer=dashboard__pb2.ClientSettings.FromString, - ) - self.SetClientSettings = channel.unary_unary( - '/gooseai.DashboardService/SetClientSettings', - request_serializer=dashboard__pb2.ClientSettings.SerializeToString, - response_deserializer=dashboard__pb2.ClientSettings.FromString, - ) - self.UpdateUserInfo = channel.unary_unary( - '/gooseai.DashboardService/UpdateUserInfo', - request_serializer=dashboard__pb2.UpdateUserInfoRequest.SerializeToString, - response_deserializer=dashboard__pb2.User.FromString, - ) - self.CreatePasswordChangeTicket = channel.unary_unary( - '/gooseai.DashboardService/CreatePasswordChangeTicket', - request_serializer=dashboard__pb2.EmptyRequest.SerializeToString, - response_deserializer=dashboard__pb2.UserPasswordChangeTicket.FromString, - ) - self.DeleteAccount = channel.unary_unary( - '/gooseai.DashboardService/DeleteAccount', - request_serializer=dashboard__pb2.EmptyRequest.SerializeToString, - response_deserializer=dashboard__pb2.User.FromString, - ) - self.CreateCharge = channel.unary_unary( - '/gooseai.DashboardService/CreateCharge', - request_serializer=dashboard__pb2.CreateChargeRequest.SerializeToString, - response_deserializer=dashboard__pb2.Charge.FromString, - ) - self.GetCharges = channel.unary_unary( - '/gooseai.DashboardService/GetCharges', - request_serializer=dashboard__pb2.GetChargesRequest.SerializeToString, - response_deserializer=dashboard__pb2.Charges.FromString, - ) - self.CreateAutoChargeIntent = channel.unary_unary( - '/gooseai.DashboardService/CreateAutoChargeIntent', - request_serializer=dashboard__pb2.CreateAutoChargeIntentRequest.SerializeToString, - response_deserializer=dashboard__pb2.AutoChargeIntent.FromString, - ) - self.UpdateAutoChargeIntent = channel.unary_unary( - '/gooseai.DashboardService/UpdateAutoChargeIntent', - request_serializer=dashboard__pb2.CreateAutoChargeIntentRequest.SerializeToString, - response_deserializer=dashboard__pb2.AutoChargeIntent.FromString, - ) - self.GetAutoChargeIntent = channel.unary_unary( - '/gooseai.DashboardService/GetAutoChargeIntent', - request_serializer=dashboard__pb2.GetAutoChargeRequest.SerializeToString, - response_deserializer=dashboard__pb2.AutoChargeIntent.FromString, - ) - - -class DashboardServiceServicer(object): - """Missing associated documentation comment in .proto file.""" - - def GetMe(self, request, context): - """Get info - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetOrganization(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetMetrics(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreateAPIKey(self, request, context): - """API key management - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeleteAPIKey(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateDefaultOrganization(self, request, context): - """User settings - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetClientSettings(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SetClientSettings(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateUserInfo(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreatePasswordChangeTicket(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeleteAccount(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreateCharge(self, request, context): - """Payment functions - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetCharges(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreateAutoChargeIntent(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateAutoChargeIntent(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetAutoChargeIntent(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_DashboardServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'GetMe': grpc.unary_unary_rpc_method_handler( - servicer.GetMe, - request_deserializer=dashboard__pb2.EmptyRequest.FromString, - response_serializer=dashboard__pb2.User.SerializeToString, - ), - 'GetOrganization': grpc.unary_unary_rpc_method_handler( - servicer.GetOrganization, - request_deserializer=dashboard__pb2.GetOrganizationRequest.FromString, - response_serializer=dashboard__pb2.Organization.SerializeToString, - ), - 'GetMetrics': grpc.unary_unary_rpc_method_handler( - servicer.GetMetrics, - request_deserializer=dashboard__pb2.GetMetricsRequest.FromString, - response_serializer=dashboard__pb2.Metrics.SerializeToString, - ), - 'CreateAPIKey': grpc.unary_unary_rpc_method_handler( - servicer.CreateAPIKey, - request_deserializer=dashboard__pb2.APIKeyRequest.FromString, - response_serializer=dashboard__pb2.APIKey.SerializeToString, - ), - 'DeleteAPIKey': grpc.unary_unary_rpc_method_handler( - servicer.DeleteAPIKey, - request_deserializer=dashboard__pb2.APIKeyFindRequest.FromString, - response_serializer=dashboard__pb2.APIKey.SerializeToString, - ), - 'UpdateDefaultOrganization': grpc.unary_unary_rpc_method_handler( - servicer.UpdateDefaultOrganization, - request_deserializer=dashboard__pb2.UpdateDefaultOrganizationRequest.FromString, - response_serializer=dashboard__pb2.User.SerializeToString, - ), - 'GetClientSettings': grpc.unary_unary_rpc_method_handler( - servicer.GetClientSettings, - request_deserializer=dashboard__pb2.EmptyRequest.FromString, - response_serializer=dashboard__pb2.ClientSettings.SerializeToString, - ), - 'SetClientSettings': grpc.unary_unary_rpc_method_handler( - servicer.SetClientSettings, - request_deserializer=dashboard__pb2.ClientSettings.FromString, - response_serializer=dashboard__pb2.ClientSettings.SerializeToString, - ), - 'UpdateUserInfo': grpc.unary_unary_rpc_method_handler( - servicer.UpdateUserInfo, - request_deserializer=dashboard__pb2.UpdateUserInfoRequest.FromString, - response_serializer=dashboard__pb2.User.SerializeToString, - ), - 'CreatePasswordChangeTicket': grpc.unary_unary_rpc_method_handler( - servicer.CreatePasswordChangeTicket, - request_deserializer=dashboard__pb2.EmptyRequest.FromString, - response_serializer=dashboard__pb2.UserPasswordChangeTicket.SerializeToString, - ), - 'DeleteAccount': grpc.unary_unary_rpc_method_handler( - servicer.DeleteAccount, - request_deserializer=dashboard__pb2.EmptyRequest.FromString, - response_serializer=dashboard__pb2.User.SerializeToString, - ), - 'CreateCharge': grpc.unary_unary_rpc_method_handler( - servicer.CreateCharge, - request_deserializer=dashboard__pb2.CreateChargeRequest.FromString, - response_serializer=dashboard__pb2.Charge.SerializeToString, - ), - 'GetCharges': grpc.unary_unary_rpc_method_handler( - servicer.GetCharges, - request_deserializer=dashboard__pb2.GetChargesRequest.FromString, - response_serializer=dashboard__pb2.Charges.SerializeToString, - ), - 'CreateAutoChargeIntent': grpc.unary_unary_rpc_method_handler( - servicer.CreateAutoChargeIntent, - request_deserializer=dashboard__pb2.CreateAutoChargeIntentRequest.FromString, - response_serializer=dashboard__pb2.AutoChargeIntent.SerializeToString, - ), - 'UpdateAutoChargeIntent': grpc.unary_unary_rpc_method_handler( - servicer.UpdateAutoChargeIntent, - request_deserializer=dashboard__pb2.CreateAutoChargeIntentRequest.FromString, - response_serializer=dashboard__pb2.AutoChargeIntent.SerializeToString, - ), - 'GetAutoChargeIntent': grpc.unary_unary_rpc_method_handler( - servicer.GetAutoChargeIntent, - request_deserializer=dashboard__pb2.GetAutoChargeRequest.FromString, - response_serializer=dashboard__pb2.AutoChargeIntent.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'gooseai.DashboardService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class DashboardService(object): - """Missing associated documentation comment in .proto file.""" - - @staticmethod - def GetMe(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/GetMe', - dashboard__pb2.EmptyRequest.SerializeToString, - dashboard__pb2.User.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetOrganization(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/GetOrganization', - dashboard__pb2.GetOrganizationRequest.SerializeToString, - dashboard__pb2.Organization.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetMetrics(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/GetMetrics', - dashboard__pb2.GetMetricsRequest.SerializeToString, - dashboard__pb2.Metrics.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def CreateAPIKey(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/CreateAPIKey', - dashboard__pb2.APIKeyRequest.SerializeToString, - dashboard__pb2.APIKey.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeleteAPIKey(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/DeleteAPIKey', - dashboard__pb2.APIKeyFindRequest.SerializeToString, - dashboard__pb2.APIKey.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateDefaultOrganization(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/UpdateDefaultOrganization', - dashboard__pb2.UpdateDefaultOrganizationRequest.SerializeToString, - dashboard__pb2.User.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetClientSettings(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/GetClientSettings', - dashboard__pb2.EmptyRequest.SerializeToString, - dashboard__pb2.ClientSettings.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SetClientSettings(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/SetClientSettings', - dashboard__pb2.ClientSettings.SerializeToString, - dashboard__pb2.ClientSettings.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateUserInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/UpdateUserInfo', - dashboard__pb2.UpdateUserInfoRequest.SerializeToString, - dashboard__pb2.User.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def CreatePasswordChangeTicket(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/CreatePasswordChangeTicket', - dashboard__pb2.EmptyRequest.SerializeToString, - dashboard__pb2.UserPasswordChangeTicket.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeleteAccount(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/DeleteAccount', - dashboard__pb2.EmptyRequest.SerializeToString, - dashboard__pb2.User.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def CreateCharge(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/CreateCharge', - dashboard__pb2.CreateChargeRequest.SerializeToString, - dashboard__pb2.Charge.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetCharges(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/GetCharges', - dashboard__pb2.GetChargesRequest.SerializeToString, - dashboard__pb2.Charges.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def CreateAutoChargeIntent(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/CreateAutoChargeIntent', - dashboard__pb2.CreateAutoChargeIntentRequest.SerializeToString, - dashboard__pb2.AutoChargeIntent.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateAutoChargeIntent(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/UpdateAutoChargeIntent', - dashboard__pb2.CreateAutoChargeIntentRequest.SerializeToString, - dashboard__pb2.AutoChargeIntent.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetAutoChargeIntent(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/gooseai.DashboardService/GetAutoChargeIntent', - dashboard__pb2.GetAutoChargeRequest.SerializeToString, - dashboard__pb2.AutoChargeIntent.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/gooseai/dashboard/dashboard_pb_service.d.ts b/gooseai/dashboard/dashboard_pb_service.d.ts deleted file mode 100644 index ff3b865..0000000 --- a/gooseai/dashboard/dashboard_pb_service.d.ts +++ /dev/null @@ -1,348 +0,0 @@ -// package: gooseai -// file: dashboard.proto - -import * as dashboard_pb from "./dashboard_pb"; -import {grpc} from "@improbable-eng/grpc-web"; - -type DashboardServiceGetMe = { - readonly methodName: string; - readonly service: typeof DashboardService; - readonly requestStream: false; - readonly responseStream: false; - readonly requestType: typeof dashboard_pb.EmptyRequest; - readonly responseType: typeof dashboard_pb.User; -}; - -type DashboardServiceGetOrganization = { - readonly methodName: string; - readonly service: typeof DashboardService; - readonly requestStream: false; - readonly responseStream: false; - readonly requestType: typeof dashboard_pb.GetOrganizationRequest; - readonly responseType: typeof dashboard_pb.Organization; -}; - -type DashboardServiceGetMetrics = { - readonly methodName: string; - readonly service: typeof DashboardService; - readonly requestStream: false; - readonly responseStream: false; - readonly requestType: typeof dashboard_pb.GetMetricsRequest; - readonly responseType: typeof dashboard_pb.Metrics; -}; - -type DashboardServiceCreateAPIKey = { - readonly methodName: string; - readonly service: typeof DashboardService; - readonly requestStream: false; - readonly responseStream: false; - readonly requestType: typeof dashboard_pb.APIKeyRequest; - readonly responseType: typeof dashboard_pb.APIKey; -}; - -type DashboardServiceDeleteAPIKey = { - readonly methodName: string; - readonly service: typeof DashboardService; - readonly requestStream: false; - readonly responseStream: false; - readonly requestType: typeof dashboard_pb.APIKeyFindRequest; - readonly responseType: typeof dashboard_pb.APIKey; -}; - -type DashboardServiceUpdateDefaultOrganization = { - readonly methodName: string; - readonly service: typeof DashboardService; - readonly requestStream: false; - readonly responseStream: false; - readonly requestType: typeof dashboard_pb.UpdateDefaultOrganizationRequest; - readonly responseType: typeof dashboard_pb.User; -}; - -type DashboardServiceGetClientSettings = { - readonly methodName: string; - readonly service: typeof DashboardService; - readonly requestStream: false; - readonly responseStream: false; - readonly requestType: typeof dashboard_pb.EmptyRequest; - readonly responseType: typeof dashboard_pb.ClientSettings; -}; - -type DashboardServiceSetClientSettings = { - readonly methodName: string; - readonly service: typeof DashboardService; - readonly requestStream: false; - readonly responseStream: false; - readonly requestType: typeof dashboard_pb.ClientSettings; - readonly responseType: typeof dashboard_pb.ClientSettings; -}; - -type DashboardServiceUpdateUserInfo = { - readonly methodName: string; - readonly service: typeof DashboardService; - readonly requestStream: false; - readonly responseStream: false; - readonly requestType: typeof dashboard_pb.UpdateUserInfoRequest; - readonly responseType: typeof dashboard_pb.User; -}; - -type DashboardServiceCreatePasswordChangeTicket = { - readonly methodName: string; - readonly service: typeof DashboardService; - readonly requestStream: false; - readonly responseStream: false; - readonly requestType: typeof dashboard_pb.EmptyRequest; - readonly responseType: typeof dashboard_pb.UserPasswordChangeTicket; -}; - -type DashboardServiceDeleteAccount = { - readonly methodName: string; - readonly service: typeof DashboardService; - readonly requestStream: false; - readonly responseStream: false; - readonly requestType: typeof dashboard_pb.EmptyRequest; - readonly responseType: typeof dashboard_pb.User; -}; - -type DashboardServiceCreateCharge = { - readonly methodName: string; - readonly service: typeof DashboardService; - readonly requestStream: false; - readonly responseStream: false; - readonly requestType: typeof dashboard_pb.CreateChargeRequest; - readonly responseType: typeof dashboard_pb.Charge; -}; - -type DashboardServiceGetCharges = { - readonly methodName: string; - readonly service: typeof DashboardService; - readonly requestStream: false; - readonly responseStream: false; - readonly requestType: typeof dashboard_pb.GetChargesRequest; - readonly responseType: typeof dashboard_pb.Charges; -}; - -type DashboardServiceCreateAutoChargeIntent = { - readonly methodName: string; - readonly service: typeof DashboardService; - readonly requestStream: false; - readonly responseStream: false; - readonly requestType: typeof dashboard_pb.CreateAutoChargeIntentRequest; - readonly responseType: typeof dashboard_pb.AutoChargeIntent; -}; - -type DashboardServiceUpdateAutoChargeIntent = { - readonly methodName: string; - readonly service: typeof DashboardService; - readonly requestStream: false; - readonly responseStream: false; - readonly requestType: typeof dashboard_pb.CreateAutoChargeIntentRequest; - readonly responseType: typeof dashboard_pb.AutoChargeIntent; -}; - -type DashboardServiceGetAutoChargeIntent = { - readonly methodName: string; - readonly service: typeof DashboardService; - readonly requestStream: false; - readonly responseStream: false; - readonly requestType: typeof dashboard_pb.GetAutoChargeRequest; - readonly responseType: typeof dashboard_pb.AutoChargeIntent; -}; - -export class DashboardService { - static readonly serviceName: string; - static readonly GetMe: DashboardServiceGetMe; - static readonly GetOrganization: DashboardServiceGetOrganization; - static readonly GetMetrics: DashboardServiceGetMetrics; - static readonly CreateAPIKey: DashboardServiceCreateAPIKey; - static readonly DeleteAPIKey: DashboardServiceDeleteAPIKey; - static readonly UpdateDefaultOrganization: DashboardServiceUpdateDefaultOrganization; - static readonly GetClientSettings: DashboardServiceGetClientSettings; - static readonly SetClientSettings: DashboardServiceSetClientSettings; - static readonly UpdateUserInfo: DashboardServiceUpdateUserInfo; - static readonly CreatePasswordChangeTicket: DashboardServiceCreatePasswordChangeTicket; - static readonly DeleteAccount: DashboardServiceDeleteAccount; - static readonly CreateCharge: DashboardServiceCreateCharge; - static readonly GetCharges: DashboardServiceGetCharges; - static readonly CreateAutoChargeIntent: DashboardServiceCreateAutoChargeIntent; - static readonly UpdateAutoChargeIntent: DashboardServiceUpdateAutoChargeIntent; - static readonly GetAutoChargeIntent: DashboardServiceGetAutoChargeIntent; -} - -export type ServiceError = { message: string, code: number; metadata: grpc.Metadata } -export type Status = { details: string, code: number; metadata: grpc.Metadata } - -interface UnaryResponse { - cancel(): void; -} -interface ResponseStream { - cancel(): void; - on(type: 'data', handler: (message: T) => void): ResponseStream; - on(type: 'end', handler: (status?: Status) => void): ResponseStream; - on(type: 'status', handler: (status: Status) => void): ResponseStream; -} -interface RequestStream { - write(message: T): RequestStream; - end(): void; - cancel(): void; - on(type: 'end', handler: (status?: Status) => void): RequestStream; - on(type: 'status', handler: (status: Status) => void): RequestStream; -} -interface BidirectionalStream { - write(message: ReqT): BidirectionalStream; - end(): void; - cancel(): void; - on(type: 'data', handler: (message: ResT) => void): BidirectionalStream; - on(type: 'end', handler: (status?: Status) => void): BidirectionalStream; - on(type: 'status', handler: (status: Status) => void): BidirectionalStream; -} - -export class DashboardServiceClient { - readonly serviceHost: string; - - constructor(serviceHost: string, options?: grpc.RpcOptions); - getMe( - requestMessage: dashboard_pb.EmptyRequest, - metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.User|null) => void - ): UnaryResponse; - getMe( - requestMessage: dashboard_pb.EmptyRequest, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.User|null) => void - ): UnaryResponse; - getOrganization( - requestMessage: dashboard_pb.GetOrganizationRequest, - metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.Organization|null) => void - ): UnaryResponse; - getOrganization( - requestMessage: dashboard_pb.GetOrganizationRequest, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.Organization|null) => void - ): UnaryResponse; - getMetrics( - requestMessage: dashboard_pb.GetMetricsRequest, - metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.Metrics|null) => void - ): UnaryResponse; - getMetrics( - requestMessage: dashboard_pb.GetMetricsRequest, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.Metrics|null) => void - ): UnaryResponse; - createAPIKey( - requestMessage: dashboard_pb.APIKeyRequest, - metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.APIKey|null) => void - ): UnaryResponse; - createAPIKey( - requestMessage: dashboard_pb.APIKeyRequest, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.APIKey|null) => void - ): UnaryResponse; - deleteAPIKey( - requestMessage: dashboard_pb.APIKeyFindRequest, - metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.APIKey|null) => void - ): UnaryResponse; - deleteAPIKey( - requestMessage: dashboard_pb.APIKeyFindRequest, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.APIKey|null) => void - ): UnaryResponse; - updateDefaultOrganization( - requestMessage: dashboard_pb.UpdateDefaultOrganizationRequest, - metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.User|null) => void - ): UnaryResponse; - updateDefaultOrganization( - requestMessage: dashboard_pb.UpdateDefaultOrganizationRequest, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.User|null) => void - ): UnaryResponse; - getClientSettings( - requestMessage: dashboard_pb.EmptyRequest, - metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.ClientSettings|null) => void - ): UnaryResponse; - getClientSettings( - requestMessage: dashboard_pb.EmptyRequest, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.ClientSettings|null) => void - ): UnaryResponse; - setClientSettings( - requestMessage: dashboard_pb.ClientSettings, - metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.ClientSettings|null) => void - ): UnaryResponse; - setClientSettings( - requestMessage: dashboard_pb.ClientSettings, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.ClientSettings|null) => void - ): UnaryResponse; - updateUserInfo( - requestMessage: dashboard_pb.UpdateUserInfoRequest, - metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.User|null) => void - ): UnaryResponse; - updateUserInfo( - requestMessage: dashboard_pb.UpdateUserInfoRequest, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.User|null) => void - ): UnaryResponse; - createPasswordChangeTicket( - requestMessage: dashboard_pb.EmptyRequest, - metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.UserPasswordChangeTicket|null) => void - ): UnaryResponse; - createPasswordChangeTicket( - requestMessage: dashboard_pb.EmptyRequest, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.UserPasswordChangeTicket|null) => void - ): UnaryResponse; - deleteAccount( - requestMessage: dashboard_pb.EmptyRequest, - metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.User|null) => void - ): UnaryResponse; - deleteAccount( - requestMessage: dashboard_pb.EmptyRequest, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.User|null) => void - ): UnaryResponse; - createCharge( - requestMessage: dashboard_pb.CreateChargeRequest, - metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.Charge|null) => void - ): UnaryResponse; - createCharge( - requestMessage: dashboard_pb.CreateChargeRequest, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.Charge|null) => void - ): UnaryResponse; - getCharges( - requestMessage: dashboard_pb.GetChargesRequest, - metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.Charges|null) => void - ): UnaryResponse; - getCharges( - requestMessage: dashboard_pb.GetChargesRequest, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.Charges|null) => void - ): UnaryResponse; - createAutoChargeIntent( - requestMessage: dashboard_pb.CreateAutoChargeIntentRequest, - metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.AutoChargeIntent|null) => void - ): UnaryResponse; - createAutoChargeIntent( - requestMessage: dashboard_pb.CreateAutoChargeIntentRequest, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.AutoChargeIntent|null) => void - ): UnaryResponse; - updateAutoChargeIntent( - requestMessage: dashboard_pb.CreateAutoChargeIntentRequest, - metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.AutoChargeIntent|null) => void - ): UnaryResponse; - updateAutoChargeIntent( - requestMessage: dashboard_pb.CreateAutoChargeIntentRequest, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.AutoChargeIntent|null) => void - ): UnaryResponse; - getAutoChargeIntent( - requestMessage: dashboard_pb.GetAutoChargeRequest, - metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.AutoChargeIntent|null) => void - ): UnaryResponse; - getAutoChargeIntent( - requestMessage: dashboard_pb.GetAutoChargeRequest, - callback: (error: ServiceError|null, responseMessage: dashboard_pb.AutoChargeIntent|null) => void - ): UnaryResponse; -} - diff --git a/gooseai/engines/engines_grpc_pb.d.ts b/gooseai/engines/engines_grpc_pb.d.ts deleted file mode 100644 index 0fcb8c5..0000000 --- a/gooseai/engines/engines_grpc_pb.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -// GENERATED CODE -- DO NOT EDIT! - -// package: gooseai -// file: engines.proto - -import * as engines_pb from "./engines_pb"; -import * as grpc from "grpc"; - -interface IEnginesServiceService extends grpc.ServiceDefinition { - listEngines: grpc.MethodDefinition; -} - -export const EnginesServiceService: IEnginesServiceService; - -export interface IEnginesServiceServer extends grpc.UntypedServiceImplementation { - listEngines: grpc.handleUnaryCall; -} - -export class EnginesServiceClient extends grpc.Client { - constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); - listEngines(argument: engines_pb.ListEnginesRequest, callback: grpc.requestCallback): grpc.ClientUnaryCall; - listEngines(argument: engines_pb.ListEnginesRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - listEngines(argument: engines_pb.ListEnginesRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; -} diff --git a/gooseai/engines/engines_grpc_pb.js b/gooseai/engines/engines_grpc_pb.js deleted file mode 100644 index fc0a3f8..0000000 --- a/gooseai/engines/engines_grpc_pb.js +++ /dev/null @@ -1,44 +0,0 @@ -// GENERATED CODE -- DO NOT EDIT! - -'use strict'; -var grpc = require('grpc'); -var engines_pb = require('./engines_pb.js'); - -function serialize_gooseai_Engines(arg) { - if (!(arg instanceof engines_pb.Engines)) { - throw new Error('Expected argument of type gooseai.Engines'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_Engines(buffer_arg) { - return engines_pb.Engines.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_ListEnginesRequest(arg) { - if (!(arg instanceof engines_pb.ListEnginesRequest)) { - throw new Error('Expected argument of type gooseai.ListEnginesRequest'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_ListEnginesRequest(buffer_arg) { - return engines_pb.ListEnginesRequest.deserializeBinary(new Uint8Array(buffer_arg)); -} - - -var EnginesServiceService = exports.EnginesServiceService = { - listEngines: { - path: '/gooseai.EnginesService/ListEngines', - requestStream: false, - responseStream: false, - requestType: engines_pb.ListEnginesRequest, - responseType: engines_pb.Engines, - requestSerialize: serialize_gooseai_ListEnginesRequest, - requestDeserialize: deserialize_gooseai_ListEnginesRequest, - responseSerialize: serialize_gooseai_Engines, - responseDeserialize: deserialize_gooseai_Engines, - }, -}; - -exports.EnginesServiceClient = grpc.makeGenericClientConstructor(EnginesServiceService); diff --git a/gooseai/engines/engines_pb2.py b/gooseai/engines/engines_pb2.py deleted file mode 100644 index c4fd788..0000000 --- a/gooseai/engines/engines_pb2.py +++ /dev/null @@ -1,75 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: engines.proto -"""Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rengines.proto\x12\x07gooseai\"\xa9\x01\n\nEngineInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05owner\x18\x02 \x01(\t\x12\r\n\x05ready\x18\x03 \x01(\x08\x12!\n\x04type\x18\x04 \x01(\x0e\x32\x13.gooseai.EngineType\x12+\n\ttokenizer\x18\x05 \x01(\x0e\x32\x18.gooseai.EngineTokenizer\x12\x0c\n\x04name\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\"\x14\n\x12ListEnginesRequest\".\n\x07\x45ngines\x12#\n\x06\x65ngine\x18\x01 \x03(\x0b\x32\x13.gooseai.EngineInfo*Z\n\nEngineType\x12\x08\n\x04TEXT\x10\x00\x12\x0b\n\x07PICTURE\x10\x01\x12\t\n\x05\x41UDIO\x10\x02\x12\t\n\x05VIDEO\x10\x03\x12\x12\n\x0e\x43LASSIFICATION\x10\x04\x12\x0b\n\x07STORAGE\x10\x05*%\n\x0f\x45ngineTokenizer\x12\x08\n\x04GPT2\x10\x00\x12\x08\n\x04PILE\x10\x01\x32P\n\x0e\x45nginesService\x12>\n\x0bListEngines\x12\x1b.gooseai.ListEnginesRequest\x1a\x10.gooseai.Engines\"\x00\x42\x0cZ\n./;enginesb\x06proto3') - -_ENGINETYPE = DESCRIPTOR.enum_types_by_name['EngineType'] -EngineType = enum_type_wrapper.EnumTypeWrapper(_ENGINETYPE) -_ENGINETOKENIZER = DESCRIPTOR.enum_types_by_name['EngineTokenizer'] -EngineTokenizer = enum_type_wrapper.EnumTypeWrapper(_ENGINETOKENIZER) -TEXT = 0 -PICTURE = 1 -AUDIO = 2 -VIDEO = 3 -CLASSIFICATION = 4 -STORAGE = 5 -GPT2 = 0 -PILE = 1 - - -_ENGINEINFO = DESCRIPTOR.message_types_by_name['EngineInfo'] -_LISTENGINESREQUEST = DESCRIPTOR.message_types_by_name['ListEnginesRequest'] -_ENGINES = DESCRIPTOR.message_types_by_name['Engines'] -EngineInfo = _reflection.GeneratedProtocolMessageType('EngineInfo', (_message.Message,), { - 'DESCRIPTOR' : _ENGINEINFO, - '__module__' : 'engines_pb2' - # @@protoc_insertion_point(class_scope:gooseai.EngineInfo) - }) -_sym_db.RegisterMessage(EngineInfo) - -ListEnginesRequest = _reflection.GeneratedProtocolMessageType('ListEnginesRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTENGINESREQUEST, - '__module__' : 'engines_pb2' - # @@protoc_insertion_point(class_scope:gooseai.ListEnginesRequest) - }) -_sym_db.RegisterMessage(ListEnginesRequest) - -Engines = _reflection.GeneratedProtocolMessageType('Engines', (_message.Message,), { - 'DESCRIPTOR' : _ENGINES, - '__module__' : 'engines_pb2' - # @@protoc_insertion_point(class_scope:gooseai.Engines) - }) -_sym_db.RegisterMessage(Engines) - -_ENGINESSERVICE = DESCRIPTOR.services_by_name['EnginesService'] -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z\n./;engines' - _ENGINETYPE._serialized_start=268 - _ENGINETYPE._serialized_end=358 - _ENGINETOKENIZER._serialized_start=360 - _ENGINETOKENIZER._serialized_end=397 - _ENGINEINFO._serialized_start=27 - _ENGINEINFO._serialized_end=196 - _LISTENGINESREQUEST._serialized_start=198 - _LISTENGINESREQUEST._serialized_end=218 - _ENGINES._serialized_start=220 - _ENGINES._serialized_end=266 - _ENGINESSERVICE._serialized_start=399 - _ENGINESSERVICE._serialized_end=479 -# @@protoc_insertion_point(module_scope) diff --git a/gooseai/engines/engines_pb2_grpc.py b/gooseai/engines/engines_pb2_grpc.py deleted file mode 100644 index a64c8c6..0000000 --- a/gooseai/engines/engines_pb2_grpc.py +++ /dev/null @@ -1,66 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -import engines_pb2 as engines__pb2 - - -class EnginesServiceStub(object): - """Missing associated documentation comment in .proto file.""" - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.ListEngines = channel.unary_unary( - '/gooseai.EnginesService/ListEngines', - request_serializer=engines__pb2.ListEnginesRequest.SerializeToString, - response_deserializer=engines__pb2.Engines.FromString, - ) - - -class EnginesServiceServicer(object): - """Missing associated documentation comment in .proto file.""" - - def ListEngines(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_EnginesServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'ListEngines': grpc.unary_unary_rpc_method_handler( - servicer.ListEngines, - request_deserializer=engines__pb2.ListEnginesRequest.FromString, - response_serializer=engines__pb2.Engines.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'gooseai.EnginesService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class EnginesService(object): - """Missing associated documentation comment in .proto file.""" - - @staticmethod - def ListEngines(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/gooseai.EnginesService/ListEngines', - engines__pb2.ListEnginesRequest.SerializeToString, - engines__pb2.Engines.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/gooseai/generation/generation_grpc_pb.d.ts b/gooseai/generation/generation_grpc_pb.d.ts deleted file mode 100644 index d713ead..0000000 --- a/gooseai/generation/generation_grpc_pb.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -// GENERATED CODE -- DO NOT EDIT! - -// package: gooseai -// file: generation.proto - -import * as generation_pb from "./generation_pb"; -import * as grpc from "grpc"; - -interface IGenerationServiceService extends grpc.ServiceDefinition { - generate: grpc.MethodDefinition; - chainGenerate: grpc.MethodDefinition; -} - -export const GenerationServiceService: IGenerationServiceService; - -export interface IGenerationServiceServer extends grpc.UntypedServiceImplementation { - generate: grpc.handleServerStreamingCall; - chainGenerate: grpc.handleServerStreamingCall; -} - -export class GenerationServiceClient extends grpc.Client { - constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); - generate(argument: generation_pb.Request, metadataOrOptions?: grpc.Metadata | grpc.CallOptions | null): grpc.ClientReadableStream; - generate(argument: generation_pb.Request, metadata?: grpc.Metadata | null, options?: grpc.CallOptions | null): grpc.ClientReadableStream; - chainGenerate(argument: generation_pb.ChainRequest, metadataOrOptions?: grpc.Metadata | grpc.CallOptions | null): grpc.ClientReadableStream; - chainGenerate(argument: generation_pb.ChainRequest, metadata?: grpc.Metadata | null, options?: grpc.CallOptions | null): grpc.ClientReadableStream; -} diff --git a/gooseai/generation/generation_grpc_pb.js b/gooseai/generation/generation_grpc_pb.js deleted file mode 100644 index d2172e1..0000000 --- a/gooseai/generation/generation_grpc_pb.js +++ /dev/null @@ -1,70 +0,0 @@ -// GENERATED CODE -- DO NOT EDIT! - -'use strict'; -var grpc = require('grpc'); -var generation_pb = require('./generation_pb.js'); -var tensors_pb = require('./tensors_pb.js'); - -function serialize_gooseai_Answer(arg) { - if (!(arg instanceof generation_pb.Answer)) { - throw new Error('Expected argument of type gooseai.Answer'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_Answer(buffer_arg) { - return generation_pb.Answer.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_ChainRequest(arg) { - if (!(arg instanceof generation_pb.ChainRequest)) { - throw new Error('Expected argument of type gooseai.ChainRequest'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_ChainRequest(buffer_arg) { - return generation_pb.ChainRequest.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_Request(arg) { - if (!(arg instanceof generation_pb.Request)) { - throw new Error('Expected argument of type gooseai.Request'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_Request(buffer_arg) { - return generation_pb.Request.deserializeBinary(new Uint8Array(buffer_arg)); -} - - -// -// gRPC services -// -var GenerationServiceService = exports.GenerationServiceService = { - generate: { - path: '/gooseai.GenerationService/Generate', - requestStream: false, - responseStream: true, - requestType: generation_pb.Request, - responseType: generation_pb.Answer, - requestSerialize: serialize_gooseai_Request, - requestDeserialize: deserialize_gooseai_Request, - responseSerialize: serialize_gooseai_Answer, - responseDeserialize: deserialize_gooseai_Answer, - }, - chainGenerate: { - path: '/gooseai.GenerationService/ChainGenerate', - requestStream: false, - responseStream: true, - requestType: generation_pb.ChainRequest, - responseType: generation_pb.Answer, - requestSerialize: serialize_gooseai_ChainRequest, - requestDeserialize: deserialize_gooseai_ChainRequest, - responseSerialize: serialize_gooseai_Answer, - responseDeserialize: deserialize_gooseai_Answer, - }, -}; - -exports.GenerationServiceClient = grpc.makeGenericClientConstructor(GenerationServiceService); diff --git a/gooseai/generation/generation_pb2.py b/gooseai/generation/generation_pb2.py deleted file mode 100644 index b02c8a4..0000000 --- a/gooseai/generation/generation_pb2.py +++ /dev/null @@ -1,405 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: generation.proto -"""Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -import tensors_pb2 as tensors__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x10generation.proto\x12\x07gooseai\x1a\rtensors.proto\"/\n\x05Token\x12\x11\n\x04text\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\n\n\x02id\x18\x02 \x01(\rB\x07\n\x05_text\"T\n\x06Tokens\x12\x1e\n\x06tokens\x18\x01 \x03(\x0b\x32\x0e.gooseai.Token\x12\x19\n\x0ctokenizer_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0f\n\r_tokenizer_id\"\xf3\x02\n\x08\x41rtifact\x12\n\n\x02id\x18\x01 \x01(\x04\x12#\n\x04type\x18\x02 \x01(\x0e\x32\x15.gooseai.ArtifactType\x12\x0c\n\x04mime\x18\x03 \x01(\t\x12\x12\n\x05magic\x18\x04 \x01(\tH\x01\x88\x01\x01\x12\x10\n\x06\x62inary\x18\x05 \x01(\x0cH\x00\x12\x0e\n\x04text\x18\x06 \x01(\tH\x00\x12!\n\x06tokens\x18\x07 \x01(\x0b\x32\x0f.gooseai.TokensH\x00\x12\x33\n\nclassifier\x18\x0b \x01(\x0b\x32\x1d.gooseai.ClassifierParametersH\x00\x12!\n\x06tensor\x18\x0e \x01(\x0b\x32\x0f.tensors.TensorH\x00\x12\r\n\x05index\x18\x08 \x01(\r\x12,\n\rfinish_reason\x18\t \x01(\x0e\x32\x15.gooseai.FinishReason\x12\x0c\n\x04seed\x18\n \x01(\r\x12\x0c\n\x04uuid\x18\x0c \x01(\t\x12\x0c\n\x04size\x18\r \x01(\x04\x42\x06\n\x04\x64\x61taB\x08\n\x06_magic\"N\n\x10PromptParameters\x12\x11\n\x04init\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x13\n\x06weight\x18\x02 \x01(\x02H\x01\x88\x01\x01\x42\x07\n\x05_initB\t\n\x07_weight\"\xaf\x01\n\x06Prompt\x12\x32\n\nparameters\x18\x01 \x01(\x0b\x32\x19.gooseai.PromptParametersH\x01\x88\x01\x01\x12\x0e\n\x04text\x18\x02 \x01(\tH\x00\x12!\n\x06tokens\x18\x03 \x01(\x0b\x32\x0f.gooseai.TokensH\x00\x12%\n\x08\x61rtifact\x18\x04 \x01(\x0b\x32\x11.gooseai.ArtifactH\x00\x42\x08\n\x06promptB\r\n\x0b_parameters\"\xa3\x02\n\x11SamplerParameters\x12\x10\n\x03\x65ta\x18\x01 \x01(\x02H\x00\x88\x01\x01\x12\x1b\n\x0esampling_steps\x18\x02 \x01(\x04H\x01\x88\x01\x01\x12\x1c\n\x0flatent_channels\x18\x03 \x01(\x04H\x02\x88\x01\x01\x12 \n\x13\x64ownsampling_factor\x18\x04 \x01(\x04H\x03\x88\x01\x01\x12\x16\n\tcfg_scale\x18\x05 \x01(\x02H\x04\x88\x01\x01\x12\x1d\n\x10init_noise_scale\x18\x06 \x01(\x02H\x05\x88\x01\x01\x42\x06\n\x04_etaB\x11\n\x0f_sampling_stepsB\x12\n\x10_latent_channelsB\x16\n\x14_downsampling_factorB\x0c\n\n_cfg_scaleB\x13\n\x11_init_noise_scale\"\x8b\x01\n\x15\x43onditionerParameters\x12 \n\x13vector_adjust_prior\x18\x01 \x01(\tH\x00\x88\x01\x01\x12(\n\x0b\x63onditioner\x18\x02 \x01(\x0b\x32\x0e.gooseai.ModelH\x01\x88\x01\x01\x42\x16\n\x14_vector_adjust_priorB\x0e\n\x0c_conditioner\"j\n\x12ScheduleParameters\x12\x12\n\x05start\x18\x01 \x01(\x02H\x00\x88\x01\x01\x12\x10\n\x03\x65nd\x18\x02 \x01(\x02H\x01\x88\x01\x01\x12\x12\n\x05value\x18\x03 \x01(\x02H\x02\x88\x01\x01\x42\x08\n\x06_startB\x06\n\x04_endB\x08\n\x06_value\"\xe4\x01\n\rStepParameter\x12\x13\n\x0bscaled_step\x18\x01 \x01(\x02\x12\x30\n\x07sampler\x18\x02 \x01(\x0b\x32\x1a.gooseai.SamplerParametersH\x00\x88\x01\x01\x12\x32\n\x08schedule\x18\x03 \x01(\x0b\x32\x1b.gooseai.ScheduleParametersH\x01\x88\x01\x01\x12\x32\n\x08guidance\x18\x04 \x01(\x0b\x32\x1b.gooseai.GuidanceParametersH\x02\x88\x01\x01\x42\n\n\x08_samplerB\x0b\n\t_scheduleB\x0b\n\t_guidance\"\x97\x01\n\x05Model\x12\x30\n\x0c\x61rchitecture\x18\x01 \x01(\x0e\x32\x1a.gooseai.ModelArchitecture\x12\x11\n\tpublisher\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x61taset\x18\x03 \x01(\t\x12\x0f\n\x07version\x18\x04 \x01(\x02\x12\x18\n\x10semantic_version\x18\x05 \x01(\t\x12\r\n\x05\x61lias\x18\x06 \x01(\t\"\xbc\x01\n\x10\x43utoutParameters\x12*\n\x07\x63utouts\x18\x01 \x03(\x0b\x32\x19.gooseai.CutoutParameters\x12\x12\n\x05\x63ount\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x11\n\x04gray\x18\x03 \x01(\x02H\x01\x88\x01\x01\x12\x11\n\x04\x62lur\x18\x04 \x01(\x02H\x02\x88\x01\x01\x12\x17\n\nsize_power\x18\x05 \x01(\x02H\x03\x88\x01\x01\x42\x08\n\x06_countB\x07\n\x05_grayB\x07\n\x05_blurB\r\n\x0b_size_power\"=\n\x1aGuidanceScheduleParameters\x12\x10\n\x08\x64uration\x18\x01 \x01(\x02\x12\r\n\x05value\x18\x02 \x01(\x02\"\x97\x02\n\x1aGuidanceInstanceParameters\x12\x1e\n\x06models\x18\x02 \x03(\x0b\x32\x0e.gooseai.Model\x12\x1e\n\x11guidance_strength\x18\x03 \x01(\x02H\x00\x88\x01\x01\x12\x35\n\x08schedule\x18\x04 \x03(\x0b\x32#.gooseai.GuidanceScheduleParameters\x12/\n\x07\x63utouts\x18\x05 \x01(\x0b\x32\x19.gooseai.CutoutParametersH\x01\x88\x01\x01\x12$\n\x06prompt\x18\x06 \x01(\x0b\x32\x0f.gooseai.PromptH\x02\x88\x01\x01\x42\x14\n\x12_guidance_strengthB\n\n\x08_cutoutsB\t\n\x07_prompt\"~\n\x12GuidanceParameters\x12\x30\n\x0fguidance_preset\x18\x01 \x01(\x0e\x32\x17.gooseai.GuidancePreset\x12\x36\n\tinstances\x18\x02 \x03(\x0b\x32#.gooseai.GuidanceInstanceParameters\"n\n\rTransformType\x12.\n\tdiffusion\x18\x01 \x01(\x0e\x32\x19.gooseai.DiffusionSamplerH\x00\x12%\n\x08upscaler\x18\x02 \x01(\x0e\x32\x11.gooseai.UpscalerH\x00\x42\x06\n\x04type\"\x99\x03\n\x0fImageParameters\x12\x13\n\x06height\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x12\n\x05width\x18\x02 \x01(\x04H\x01\x88\x01\x01\x12\x0c\n\x04seed\x18\x03 \x03(\r\x12\x14\n\x07samples\x18\x04 \x01(\x04H\x02\x88\x01\x01\x12\x12\n\x05steps\x18\x05 \x01(\x04H\x03\x88\x01\x01\x12.\n\ttransform\x18\x06 \x01(\x0b\x32\x16.gooseai.TransformTypeH\x04\x88\x01\x01\x12*\n\nparameters\x18\x07 \x03(\x0b\x32\x16.gooseai.StepParameter\x12\x36\n\x10masked_area_init\x18\x08 \x01(\x0e\x32\x17.gooseai.MaskedAreaInitH\x05\x88\x01\x01\x12\x31\n\rweight_method\x18\t \x01(\x0e\x32\x15.gooseai.WeightMethodH\x06\x88\x01\x01\x42\t\n\x07_heightB\x08\n\x06_widthB\n\n\x08_samplesB\x08\n\x06_stepsB\x0c\n\n_transformB\x13\n\x11_masked_area_initB\x10\n\x0e_weight_method\"J\n\x11\x43lassifierConcept\x12\x0f\n\x07\x63oncept\x18\x01 \x01(\t\x12\x16\n\tthreshold\x18\x02 \x01(\x02H\x00\x88\x01\x01\x42\x0c\n\n_threshold\"\xf4\x01\n\x12\x43lassifierCategory\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x08\x63oncepts\x18\x02 \x03(\x0b\x32\x1a.gooseai.ClassifierConcept\x12\x17\n\nadjustment\x18\x03 \x01(\x02H\x00\x88\x01\x01\x12$\n\x06\x61\x63tion\x18\x04 \x01(\x0e\x32\x0f.gooseai.ActionH\x01\x88\x01\x01\x12\x35\n\x0f\x63lassifier_mode\x18\x05 \x01(\x0e\x32\x17.gooseai.ClassifierModeH\x02\x88\x01\x01\x42\r\n\x0b_adjustmentB\t\n\x07_actionB\x12\n\x10_classifier_mode\"\xb8\x01\n\x14\x43lassifierParameters\x12/\n\ncategories\x18\x01 \x03(\x0b\x32\x1b.gooseai.ClassifierCategory\x12,\n\x07\x65xceeds\x18\x02 \x03(\x0b\x32\x1b.gooseai.ClassifierCategory\x12-\n\x0frealized_action\x18\x03 \x01(\x0e\x32\x0f.gooseai.ActionH\x00\x88\x01\x01\x42\x12\n\x10_realized_action\"k\n\x0f\x41ssetParameters\x12$\n\x06\x61\x63tion\x18\x01 \x01(\x0e\x32\x14.gooseai.AssetAction\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x1e\n\x03use\x18\x03 \x01(\x0e\x32\x11.gooseai.AssetUse\"\x94\x01\n\nAnswerMeta\x12\x13\n\x06gpu_id\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06\x63pu_id\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x14\n\x07node_id\x18\x03 \x01(\tH\x02\x88\x01\x01\x12\x16\n\tengine_id\x18\x04 \x01(\tH\x03\x88\x01\x01\x42\t\n\x07_gpu_idB\t\n\x07_cpu_idB\n\n\x08_node_idB\x0c\n\n_engine_id\"\xa9\x01\n\x06\x41nswer\x12\x11\n\tanswer_id\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\t\x12\x10\n\x08received\x18\x03 \x01(\x04\x12\x0f\n\x07\x63reated\x18\x04 \x01(\x04\x12&\n\x04meta\x18\x06 \x01(\x0b\x32\x13.gooseai.AnswerMetaH\x00\x88\x01\x01\x12$\n\tartifacts\x18\x07 \x03(\x0b\x32\x11.gooseai.ArtifactB\x07\n\x05_meta\"\xeb\x02\n\x07Request\x12\x11\n\tengine_id\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\t\x12-\n\x0erequested_type\x18\x03 \x01(\x0e\x32\x15.gooseai.ArtifactType\x12\x1f\n\x06prompt\x18\x04 \x03(\x0b\x32\x0f.gooseai.Prompt\x12)\n\x05image\x18\x05 \x01(\x0b\x32\x18.gooseai.ImageParametersH\x00\x12\x33\n\nclassifier\x18\x07 \x01(\x0b\x32\x1d.gooseai.ClassifierParametersH\x00\x12)\n\x05\x61sset\x18\x08 \x01(\x0b\x32\x18.gooseai.AssetParametersH\x00\x12\x38\n\x0b\x63onditioner\x18\x06 \x01(\x0b\x32\x1e.gooseai.ConditionerParametersH\x01\x88\x01\x01\x42\x08\n\x06paramsB\x0e\n\x0c_conditionerJ\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b\"w\n\x08OnStatus\x12%\n\x06reason\x18\x01 \x03(\x0e\x32\x15.gooseai.FinishReason\x12\x13\n\x06target\x18\x02 \x01(\tH\x00\x88\x01\x01\x12$\n\x06\x61\x63tion\x18\x03 \x03(\x0e\x32\x14.gooseai.StageActionB\t\n\x07_target\"\\\n\x05Stage\x12\n\n\x02id\x18\x01 \x01(\t\x12!\n\x07request\x18\x02 \x01(\x0b\x32\x10.gooseai.Request\x12$\n\ton_status\x18\x03 \x03(\x0b\x32\x11.gooseai.OnStatus\"A\n\x0c\x43hainRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x1d\n\x05stage\x18\x02 \x03(\x0b\x32\x0e.gooseai.Stage*E\n\x0c\x46inishReason\x12\x08\n\x04NULL\x10\x00\x12\n\n\x06LENGTH\x10\x01\x12\x08\n\x04STOP\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\n\n\x06\x46ILTER\x10\x04*\xe4\x01\n\x0c\x41rtifactType\x12\x11\n\rARTIFACT_NONE\x10\x00\x12\x12\n\x0e\x41RTIFACT_IMAGE\x10\x01\x12\x12\n\x0e\x41RTIFACT_VIDEO\x10\x02\x12\x11\n\rARTIFACT_TEXT\x10\x03\x12\x13\n\x0f\x41RTIFACT_TOKENS\x10\x04\x12\x16\n\x12\x41RTIFACT_EMBEDDING\x10\x05\x12\x1c\n\x18\x41RTIFACT_CLASSIFICATIONS\x10\x06\x12\x11\n\rARTIFACT_MASK\x10\x07\x12\x13\n\x0f\x41RTIFACT_LATENT\x10\x08\x12\x13\n\x0f\x41RTIFACT_TENSOR\x10\t*g\n\x0eMaskedAreaInit\x12\x19\n\x15MASKED_AREA_INIT_ZERO\x10\x00\x12\x1b\n\x17MASKED_AREA_INIT_RANDOM\x10\x01\x12\x1d\n\x19MASKED_AREA_INIT_ORIGINAL\x10\x02*5\n\x0cWeightMethod\x12\x10\n\x0cTEXT_ENCODER\x10\x00\x12\x13\n\x0f\x43ROSS_ATTENTION\x10\x01*\xff\x01\n\x10\x44iffusionSampler\x12\x10\n\x0cSAMPLER_DDIM\x10\x00\x12\x10\n\x0cSAMPLER_DDPM\x10\x01\x12\x13\n\x0fSAMPLER_K_EULER\x10\x02\x12\x1d\n\x19SAMPLER_K_EULER_ANCESTRAL\x10\x03\x12\x12\n\x0eSAMPLER_K_HEUN\x10\x04\x12\x13\n\x0fSAMPLER_K_DPM_2\x10\x05\x12\x1d\n\x19SAMPLER_K_DPM_2_ANCESTRAL\x10\x06\x12\x11\n\rSAMPLER_K_LMS\x10\x07\x12 \n\x1cSAMPLER_K_DPMPP_2S_ANCESTRAL\x10\x08\x12\x16\n\x12SAMPLER_K_DPMPP_2M\x10\t*F\n\x08Upscaler\x12\x10\n\x0cUPSCALER_RGB\x10\x00\x12\x13\n\x0fUPSCALER_GFPGAN\x10\x01\x12\x13\n\x0fUPSCALER_ESRGAN\x10\x02*\xd8\x01\n\x0eGuidancePreset\x12\x18\n\x14GUIDANCE_PRESET_NONE\x10\x00\x12\x1a\n\x16GUIDANCE_PRESET_SIMPLE\x10\x01\x12\x1d\n\x19GUIDANCE_PRESET_FAST_BLUE\x10\x02\x12\x1e\n\x1aGUIDANCE_PRESET_FAST_GREEN\x10\x03\x12\x18\n\x14GUIDANCE_PRESET_SLOW\x10\x04\x12\x1a\n\x16GUIDANCE_PRESET_SLOWER\x10\x05\x12\x1b\n\x17GUIDANCE_PRESET_SLOWEST\x10\x06*\x91\x01\n\x11ModelArchitecture\x12\x1b\n\x17MODEL_ARCHITECTURE_NONE\x10\x00\x12\x1f\n\x1bMODEL_ARCHITECTURE_CLIP_VIT\x10\x01\x12\"\n\x1eMODEL_ARCHITECTURE_CLIP_RESNET\x10\x02\x12\x1a\n\x16MODEL_ARCHITECTURE_LDM\x10\x03*\xa2\x01\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_PASSTHROUGH\x10\x00\x12\x1f\n\x1b\x41\x43TION_REGENERATE_DUPLICATE\x10\x01\x12\x15\n\x11\x41\x43TION_REGENERATE\x10\x02\x12\x1e\n\x1a\x41\x43TION_OBFUSCATE_DUPLICATE\x10\x03\x12\x14\n\x10\x41\x43TION_OBFUSCATE\x10\x04\x12\x12\n\x0e\x41\x43TION_DISCARD\x10\x05*D\n\x0e\x43lassifierMode\x12\x17\n\x13\x43LSFR_MODE_ZEROSHOT\x10\x00\x12\x19\n\x15\x43LSFR_MODE_MULTICLASS\x10\x01*=\n\x0b\x41ssetAction\x12\r\n\tASSET_PUT\x10\x00\x12\r\n\tASSET_GET\x10\x01\x12\x10\n\x0c\x41SSET_DELETE\x10\x02*\x81\x01\n\x08\x41ssetUse\x12\x17\n\x13\x41SSET_USE_UNDEFINED\x10\x00\x12\x13\n\x0f\x41SSET_USE_INPUT\x10\x01\x12\x14\n\x10\x41SSET_USE_OUTPUT\x10\x02\x12\x1a\n\x16\x41SSET_USE_INTERMEDIATE\x10\x03\x12\x15\n\x11\x41SSET_USE_PROJECT\x10\x04*W\n\x0bStageAction\x12\x15\n\x11STAGE_ACTION_PASS\x10\x00\x12\x18\n\x14STAGE_ACTION_DISCARD\x10\x01\x12\x17\n\x13STAGE_ACTION_RETURN\x10\x02\x32\x83\x01\n\x11GenerationService\x12\x31\n\x08Generate\x12\x10.gooseai.Request\x1a\x0f.gooseai.Answer\"\x00\x30\x01\x12;\n\rChainGenerate\x12\x15.gooseai.ChainRequest\x1a\x0f.gooseai.Answer\"\x00\x30\x01\x42\x0fZ\r./;generationb\x06proto3') - -_FINISHREASON = DESCRIPTOR.enum_types_by_name['FinishReason'] -FinishReason = enum_type_wrapper.EnumTypeWrapper(_FINISHREASON) -_ARTIFACTTYPE = DESCRIPTOR.enum_types_by_name['ArtifactType'] -ArtifactType = enum_type_wrapper.EnumTypeWrapper(_ARTIFACTTYPE) -_MASKEDAREAINIT = DESCRIPTOR.enum_types_by_name['MaskedAreaInit'] -MaskedAreaInit = enum_type_wrapper.EnumTypeWrapper(_MASKEDAREAINIT) -_WEIGHTMETHOD = DESCRIPTOR.enum_types_by_name['WeightMethod'] -WeightMethod = enum_type_wrapper.EnumTypeWrapper(_WEIGHTMETHOD) -_DIFFUSIONSAMPLER = DESCRIPTOR.enum_types_by_name['DiffusionSampler'] -DiffusionSampler = enum_type_wrapper.EnumTypeWrapper(_DIFFUSIONSAMPLER) -_UPSCALER = DESCRIPTOR.enum_types_by_name['Upscaler'] -Upscaler = enum_type_wrapper.EnumTypeWrapper(_UPSCALER) -_GUIDANCEPRESET = DESCRIPTOR.enum_types_by_name['GuidancePreset'] -GuidancePreset = enum_type_wrapper.EnumTypeWrapper(_GUIDANCEPRESET) -_MODELARCHITECTURE = DESCRIPTOR.enum_types_by_name['ModelArchitecture'] -ModelArchitecture = enum_type_wrapper.EnumTypeWrapper(_MODELARCHITECTURE) -_ACTION = DESCRIPTOR.enum_types_by_name['Action'] -Action = enum_type_wrapper.EnumTypeWrapper(_ACTION) -_CLASSIFIERMODE = DESCRIPTOR.enum_types_by_name['ClassifierMode'] -ClassifierMode = enum_type_wrapper.EnumTypeWrapper(_CLASSIFIERMODE) -_ASSETACTION = DESCRIPTOR.enum_types_by_name['AssetAction'] -AssetAction = enum_type_wrapper.EnumTypeWrapper(_ASSETACTION) -_ASSETUSE = DESCRIPTOR.enum_types_by_name['AssetUse'] -AssetUse = enum_type_wrapper.EnumTypeWrapper(_ASSETUSE) -_STAGEACTION = DESCRIPTOR.enum_types_by_name['StageAction'] -StageAction = enum_type_wrapper.EnumTypeWrapper(_STAGEACTION) -NULL = 0 -LENGTH = 1 -STOP = 2 -ERROR = 3 -FILTER = 4 -ARTIFACT_NONE = 0 -ARTIFACT_IMAGE = 1 -ARTIFACT_VIDEO = 2 -ARTIFACT_TEXT = 3 -ARTIFACT_TOKENS = 4 -ARTIFACT_EMBEDDING = 5 -ARTIFACT_CLASSIFICATIONS = 6 -ARTIFACT_MASK = 7 -ARTIFACT_LATENT = 8 -ARTIFACT_TENSOR = 9 -MASKED_AREA_INIT_ZERO = 0 -MASKED_AREA_INIT_RANDOM = 1 -MASKED_AREA_INIT_ORIGINAL = 2 -TEXT_ENCODER = 0 -CROSS_ATTENTION = 1 -SAMPLER_DDIM = 0 -SAMPLER_DDPM = 1 -SAMPLER_K_EULER = 2 -SAMPLER_K_EULER_ANCESTRAL = 3 -SAMPLER_K_HEUN = 4 -SAMPLER_K_DPM_2 = 5 -SAMPLER_K_DPM_2_ANCESTRAL = 6 -SAMPLER_K_LMS = 7 -SAMPLER_K_DPMPP_2S_ANCESTRAL = 8 -SAMPLER_K_DPMPP_2M = 9 -UPSCALER_RGB = 0 -UPSCALER_GFPGAN = 1 -UPSCALER_ESRGAN = 2 -GUIDANCE_PRESET_NONE = 0 -GUIDANCE_PRESET_SIMPLE = 1 -GUIDANCE_PRESET_FAST_BLUE = 2 -GUIDANCE_PRESET_FAST_GREEN = 3 -GUIDANCE_PRESET_SLOW = 4 -GUIDANCE_PRESET_SLOWER = 5 -GUIDANCE_PRESET_SLOWEST = 6 -MODEL_ARCHITECTURE_NONE = 0 -MODEL_ARCHITECTURE_CLIP_VIT = 1 -MODEL_ARCHITECTURE_CLIP_RESNET = 2 -MODEL_ARCHITECTURE_LDM = 3 -ACTION_PASSTHROUGH = 0 -ACTION_REGENERATE_DUPLICATE = 1 -ACTION_REGENERATE = 2 -ACTION_OBFUSCATE_DUPLICATE = 3 -ACTION_OBFUSCATE = 4 -ACTION_DISCARD = 5 -CLSFR_MODE_ZEROSHOT = 0 -CLSFR_MODE_MULTICLASS = 1 -ASSET_PUT = 0 -ASSET_GET = 1 -ASSET_DELETE = 2 -ASSET_USE_UNDEFINED = 0 -ASSET_USE_INPUT = 1 -ASSET_USE_OUTPUT = 2 -ASSET_USE_INTERMEDIATE = 3 -ASSET_USE_PROJECT = 4 -STAGE_ACTION_PASS = 0 -STAGE_ACTION_DISCARD = 1 -STAGE_ACTION_RETURN = 2 - - -_TOKEN = DESCRIPTOR.message_types_by_name['Token'] -_TOKENS = DESCRIPTOR.message_types_by_name['Tokens'] -_ARTIFACT = DESCRIPTOR.message_types_by_name['Artifact'] -_PROMPTPARAMETERS = DESCRIPTOR.message_types_by_name['PromptParameters'] -_PROMPT = DESCRIPTOR.message_types_by_name['Prompt'] -_SAMPLERPARAMETERS = DESCRIPTOR.message_types_by_name['SamplerParameters'] -_CONDITIONERPARAMETERS = DESCRIPTOR.message_types_by_name['ConditionerParameters'] -_SCHEDULEPARAMETERS = DESCRIPTOR.message_types_by_name['ScheduleParameters'] -_STEPPARAMETER = DESCRIPTOR.message_types_by_name['StepParameter'] -_MODEL = DESCRIPTOR.message_types_by_name['Model'] -_CUTOUTPARAMETERS = DESCRIPTOR.message_types_by_name['CutoutParameters'] -_GUIDANCESCHEDULEPARAMETERS = DESCRIPTOR.message_types_by_name['GuidanceScheduleParameters'] -_GUIDANCEINSTANCEPARAMETERS = DESCRIPTOR.message_types_by_name['GuidanceInstanceParameters'] -_GUIDANCEPARAMETERS = DESCRIPTOR.message_types_by_name['GuidanceParameters'] -_TRANSFORMTYPE = DESCRIPTOR.message_types_by_name['TransformType'] -_IMAGEPARAMETERS = DESCRIPTOR.message_types_by_name['ImageParameters'] -_CLASSIFIERCONCEPT = DESCRIPTOR.message_types_by_name['ClassifierConcept'] -_CLASSIFIERCATEGORY = DESCRIPTOR.message_types_by_name['ClassifierCategory'] -_CLASSIFIERPARAMETERS = DESCRIPTOR.message_types_by_name['ClassifierParameters'] -_ASSETPARAMETERS = DESCRIPTOR.message_types_by_name['AssetParameters'] -_ANSWERMETA = DESCRIPTOR.message_types_by_name['AnswerMeta'] -_ANSWER = DESCRIPTOR.message_types_by_name['Answer'] -_REQUEST = DESCRIPTOR.message_types_by_name['Request'] -_ONSTATUS = DESCRIPTOR.message_types_by_name['OnStatus'] -_STAGE = DESCRIPTOR.message_types_by_name['Stage'] -_CHAINREQUEST = DESCRIPTOR.message_types_by_name['ChainRequest'] -Token = _reflection.GeneratedProtocolMessageType('Token', (_message.Message,), { - 'DESCRIPTOR' : _TOKEN, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.Token) - }) -_sym_db.RegisterMessage(Token) - -Tokens = _reflection.GeneratedProtocolMessageType('Tokens', (_message.Message,), { - 'DESCRIPTOR' : _TOKENS, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.Tokens) - }) -_sym_db.RegisterMessage(Tokens) - -Artifact = _reflection.GeneratedProtocolMessageType('Artifact', (_message.Message,), { - 'DESCRIPTOR' : _ARTIFACT, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.Artifact) - }) -_sym_db.RegisterMessage(Artifact) - -PromptParameters = _reflection.GeneratedProtocolMessageType('PromptParameters', (_message.Message,), { - 'DESCRIPTOR' : _PROMPTPARAMETERS, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.PromptParameters) - }) -_sym_db.RegisterMessage(PromptParameters) - -Prompt = _reflection.GeneratedProtocolMessageType('Prompt', (_message.Message,), { - 'DESCRIPTOR' : _PROMPT, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.Prompt) - }) -_sym_db.RegisterMessage(Prompt) - -SamplerParameters = _reflection.GeneratedProtocolMessageType('SamplerParameters', (_message.Message,), { - 'DESCRIPTOR' : _SAMPLERPARAMETERS, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.SamplerParameters) - }) -_sym_db.RegisterMessage(SamplerParameters) - -ConditionerParameters = _reflection.GeneratedProtocolMessageType('ConditionerParameters', (_message.Message,), { - 'DESCRIPTOR' : _CONDITIONERPARAMETERS, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.ConditionerParameters) - }) -_sym_db.RegisterMessage(ConditionerParameters) - -ScheduleParameters = _reflection.GeneratedProtocolMessageType('ScheduleParameters', (_message.Message,), { - 'DESCRIPTOR' : _SCHEDULEPARAMETERS, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.ScheduleParameters) - }) -_sym_db.RegisterMessage(ScheduleParameters) - -StepParameter = _reflection.GeneratedProtocolMessageType('StepParameter', (_message.Message,), { - 'DESCRIPTOR' : _STEPPARAMETER, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.StepParameter) - }) -_sym_db.RegisterMessage(StepParameter) - -Model = _reflection.GeneratedProtocolMessageType('Model', (_message.Message,), { - 'DESCRIPTOR' : _MODEL, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.Model) - }) -_sym_db.RegisterMessage(Model) - -CutoutParameters = _reflection.GeneratedProtocolMessageType('CutoutParameters', (_message.Message,), { - 'DESCRIPTOR' : _CUTOUTPARAMETERS, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.CutoutParameters) - }) -_sym_db.RegisterMessage(CutoutParameters) - -GuidanceScheduleParameters = _reflection.GeneratedProtocolMessageType('GuidanceScheduleParameters', (_message.Message,), { - 'DESCRIPTOR' : _GUIDANCESCHEDULEPARAMETERS, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.GuidanceScheduleParameters) - }) -_sym_db.RegisterMessage(GuidanceScheduleParameters) - -GuidanceInstanceParameters = _reflection.GeneratedProtocolMessageType('GuidanceInstanceParameters', (_message.Message,), { - 'DESCRIPTOR' : _GUIDANCEINSTANCEPARAMETERS, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.GuidanceInstanceParameters) - }) -_sym_db.RegisterMessage(GuidanceInstanceParameters) - -GuidanceParameters = _reflection.GeneratedProtocolMessageType('GuidanceParameters', (_message.Message,), { - 'DESCRIPTOR' : _GUIDANCEPARAMETERS, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.GuidanceParameters) - }) -_sym_db.RegisterMessage(GuidanceParameters) - -TransformType = _reflection.GeneratedProtocolMessageType('TransformType', (_message.Message,), { - 'DESCRIPTOR' : _TRANSFORMTYPE, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.TransformType) - }) -_sym_db.RegisterMessage(TransformType) - -ImageParameters = _reflection.GeneratedProtocolMessageType('ImageParameters', (_message.Message,), { - 'DESCRIPTOR' : _IMAGEPARAMETERS, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.ImageParameters) - }) -_sym_db.RegisterMessage(ImageParameters) - -ClassifierConcept = _reflection.GeneratedProtocolMessageType('ClassifierConcept', (_message.Message,), { - 'DESCRIPTOR' : _CLASSIFIERCONCEPT, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.ClassifierConcept) - }) -_sym_db.RegisterMessage(ClassifierConcept) - -ClassifierCategory = _reflection.GeneratedProtocolMessageType('ClassifierCategory', (_message.Message,), { - 'DESCRIPTOR' : _CLASSIFIERCATEGORY, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.ClassifierCategory) - }) -_sym_db.RegisterMessage(ClassifierCategory) - -ClassifierParameters = _reflection.GeneratedProtocolMessageType('ClassifierParameters', (_message.Message,), { - 'DESCRIPTOR' : _CLASSIFIERPARAMETERS, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.ClassifierParameters) - }) -_sym_db.RegisterMessage(ClassifierParameters) - -AssetParameters = _reflection.GeneratedProtocolMessageType('AssetParameters', (_message.Message,), { - 'DESCRIPTOR' : _ASSETPARAMETERS, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.AssetParameters) - }) -_sym_db.RegisterMessage(AssetParameters) - -AnswerMeta = _reflection.GeneratedProtocolMessageType('AnswerMeta', (_message.Message,), { - 'DESCRIPTOR' : _ANSWERMETA, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.AnswerMeta) - }) -_sym_db.RegisterMessage(AnswerMeta) - -Answer = _reflection.GeneratedProtocolMessageType('Answer', (_message.Message,), { - 'DESCRIPTOR' : _ANSWER, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.Answer) - }) -_sym_db.RegisterMessage(Answer) - -Request = _reflection.GeneratedProtocolMessageType('Request', (_message.Message,), { - 'DESCRIPTOR' : _REQUEST, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.Request) - }) -_sym_db.RegisterMessage(Request) - -OnStatus = _reflection.GeneratedProtocolMessageType('OnStatus', (_message.Message,), { - 'DESCRIPTOR' : _ONSTATUS, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.OnStatus) - }) -_sym_db.RegisterMessage(OnStatus) - -Stage = _reflection.GeneratedProtocolMessageType('Stage', (_message.Message,), { - 'DESCRIPTOR' : _STAGE, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.Stage) - }) -_sym_db.RegisterMessage(Stage) - -ChainRequest = _reflection.GeneratedProtocolMessageType('ChainRequest', (_message.Message,), { - 'DESCRIPTOR' : _CHAINREQUEST, - '__module__' : 'generation_pb2' - # @@protoc_insertion_point(class_scope:gooseai.ChainRequest) - }) -_sym_db.RegisterMessage(ChainRequest) - -_GENERATIONSERVICE = DESCRIPTOR.services_by_name['GenerationService'] -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z\r./;generation' - _FINISHREASON._serialized_start=4518 - _FINISHREASON._serialized_end=4587 - _ARTIFACTTYPE._serialized_start=4590 - _ARTIFACTTYPE._serialized_end=4818 - _MASKEDAREAINIT._serialized_start=4820 - _MASKEDAREAINIT._serialized_end=4923 - _WEIGHTMETHOD._serialized_start=4925 - _WEIGHTMETHOD._serialized_end=4978 - _DIFFUSIONSAMPLER._serialized_start=4981 - _DIFFUSIONSAMPLER._serialized_end=5236 - _UPSCALER._serialized_start=5238 - _UPSCALER._serialized_end=5308 - _GUIDANCEPRESET._serialized_start=5311 - _GUIDANCEPRESET._serialized_end=5527 - _MODELARCHITECTURE._serialized_start=5530 - _MODELARCHITECTURE._serialized_end=5675 - _ACTION._serialized_start=5678 - _ACTION._serialized_end=5840 - _CLASSIFIERMODE._serialized_start=5842 - _CLASSIFIERMODE._serialized_end=5910 - _ASSETACTION._serialized_start=5912 - _ASSETACTION._serialized_end=5973 - _ASSETUSE._serialized_start=5976 - _ASSETUSE._serialized_end=6105 - _STAGEACTION._serialized_start=6107 - _STAGEACTION._serialized_end=6194 - _TOKEN._serialized_start=44 - _TOKEN._serialized_end=91 - _TOKENS._serialized_start=93 - _TOKENS._serialized_end=177 - _ARTIFACT._serialized_start=180 - _ARTIFACT._serialized_end=551 - _PROMPTPARAMETERS._serialized_start=553 - _PROMPTPARAMETERS._serialized_end=631 - _PROMPT._serialized_start=634 - _PROMPT._serialized_end=809 - _SAMPLERPARAMETERS._serialized_start=812 - _SAMPLERPARAMETERS._serialized_end=1103 - _CONDITIONERPARAMETERS._serialized_start=1106 - _CONDITIONERPARAMETERS._serialized_end=1245 - _SCHEDULEPARAMETERS._serialized_start=1247 - _SCHEDULEPARAMETERS._serialized_end=1353 - _STEPPARAMETER._serialized_start=1356 - _STEPPARAMETER._serialized_end=1584 - _MODEL._serialized_start=1587 - _MODEL._serialized_end=1738 - _CUTOUTPARAMETERS._serialized_start=1741 - _CUTOUTPARAMETERS._serialized_end=1929 - _GUIDANCESCHEDULEPARAMETERS._serialized_start=1931 - _GUIDANCESCHEDULEPARAMETERS._serialized_end=1992 - _GUIDANCEINSTANCEPARAMETERS._serialized_start=1995 - _GUIDANCEINSTANCEPARAMETERS._serialized_end=2274 - _GUIDANCEPARAMETERS._serialized_start=2276 - _GUIDANCEPARAMETERS._serialized_end=2402 - _TRANSFORMTYPE._serialized_start=2404 - _TRANSFORMTYPE._serialized_end=2514 - _IMAGEPARAMETERS._serialized_start=2517 - _IMAGEPARAMETERS._serialized_end=2926 - _CLASSIFIERCONCEPT._serialized_start=2928 - _CLASSIFIERCONCEPT._serialized_end=3002 - _CLASSIFIERCATEGORY._serialized_start=3005 - _CLASSIFIERCATEGORY._serialized_end=3249 - _CLASSIFIERPARAMETERS._serialized_start=3252 - _CLASSIFIERPARAMETERS._serialized_end=3436 - _ASSETPARAMETERS._serialized_start=3438 - _ASSETPARAMETERS._serialized_end=3545 - _ANSWERMETA._serialized_start=3548 - _ANSWERMETA._serialized_end=3696 - _ANSWER._serialized_start=3699 - _ANSWER._serialized_end=3868 - _REQUEST._serialized_start=3871 - _REQUEST._serialized_end=4234 - _ONSTATUS._serialized_start=4236 - _ONSTATUS._serialized_end=4355 - _STAGE._serialized_start=4357 - _STAGE._serialized_end=4449 - _CHAINREQUEST._serialized_start=4451 - _CHAINREQUEST._serialized_end=4516 - _GENERATIONSERVICE._serialized_start=6197 - _GENERATIONSERVICE._serialized_end=6328 -# @@protoc_insertion_point(module_scope) diff --git a/gooseai/generation/generation_pb2_grpc.py b/gooseai/generation/generation_pb2_grpc.py deleted file mode 100644 index 2d5b0c9..0000000 --- a/gooseai/generation/generation_pb2_grpc.py +++ /dev/null @@ -1,108 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -import generation_pb2 as generation__pb2 - - -class GenerationServiceStub(object): - """ - gRPC services - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Generate = channel.unary_stream( - '/gooseai.GenerationService/Generate', - request_serializer=generation__pb2.Request.SerializeToString, - response_deserializer=generation__pb2.Answer.FromString, - ) - self.ChainGenerate = channel.unary_stream( - '/gooseai.GenerationService/ChainGenerate', - request_serializer=generation__pb2.ChainRequest.SerializeToString, - response_deserializer=generation__pb2.Answer.FromString, - ) - - -class GenerationServiceServicer(object): - """ - gRPC services - - """ - - def Generate(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ChainGenerate(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_GenerationServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Generate': grpc.unary_stream_rpc_method_handler( - servicer.Generate, - request_deserializer=generation__pb2.Request.FromString, - response_serializer=generation__pb2.Answer.SerializeToString, - ), - 'ChainGenerate': grpc.unary_stream_rpc_method_handler( - servicer.ChainGenerate, - request_deserializer=generation__pb2.ChainRequest.FromString, - response_serializer=generation__pb2.Answer.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'gooseai.GenerationService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class GenerationService(object): - """ - gRPC services - - """ - - @staticmethod - def Generate(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_stream(request, target, '/gooseai.GenerationService/Generate', - generation__pb2.Request.SerializeToString, - generation__pb2.Answer.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ChainGenerate(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_stream(request, target, '/gooseai.GenerationService/ChainGenerate', - generation__pb2.ChainRequest.SerializeToString, - generation__pb2.Answer.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/gooseai/generation/tensors_pb2.py b/gooseai/generation/tensors_pb2.py deleted file mode 100644 index 837b65c..0000000 --- a/gooseai/generation/tensors_pb2.py +++ /dev/null @@ -1,84 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: tensors.proto -"""Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rtensors.proto\x12\x07tensors\"\x82\x01\n\x06Tensor\x12\x1d\n\x05\x64type\x18\x01 \x01(\x0e\x32\x0e.tensors.Dtype\x12\r\n\x05shape\x18\x02 \x03(\x03\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12.\n\tattr_type\x18\x04 \x01(\x0e\x32\x16.tensors.AttributeTypeH\x00\x88\x01\x01\x42\x0c\n\n_attr_type\"\xac\x01\n\tAttribute\x12\x0c\n\x04name\x18\x01 \x01(\t\x12!\n\x06module\x18\x03 \x01(\x0b\x32\x0f.tensors.ModuleH\x00\x12!\n\x06tensor\x18\x04 \x01(\x0b\x32\x0f.tensors.TensorH\x00\x12\x10\n\x06string\x18\x05 \x01(\tH\x00\x12\x0f\n\x05int64\x18\x06 \x01(\x03H\x00\x12\x0f\n\x05\x66loat\x18\x07 \x01(\x02H\x00\x12\x0e\n\x04\x62ool\x18\x08 \x01(\x08H\x00\x42\x07\n\x05value\"M\n\x06Module\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05names\x18\x02 \x03(\t\x12&\n\nattributes\x18\x03 \x03(\x0b\x32\x12.tensors.Attribute*\x9e\x02\n\x05\x44type\x12\x0e\n\nDT_INVALID\x10\x00\x12\x0e\n\nDT_FLOAT32\x10\x01\x12\x0e\n\nDT_FLOAT64\x10\x02\x12\x0e\n\nDT_FLOAT16\x10\x03\x12\x0f\n\x0b\x44T_BFLOAT16\x10\x04\x12\x10\n\x0c\x44T_COMPLEX32\x10\x05\x12\x10\n\x0c\x44T_COMPLEX64\x10\x06\x12\x11\n\rDT_COMPLEX128\x10\x07\x12\x0c\n\x08\x44T_UINT8\x10\x08\x12\x0b\n\x07\x44T_INT8\x10\t\x12\x0c\n\x08\x44T_INT16\x10\n\x12\x0c\n\x08\x44T_INT32\x10\x0b\x12\x0c\n\x08\x44T_INT64\x10\x0c\x12\x0b\n\x07\x44T_BOOL\x10\r\x12\r\n\tDT_QUINT8\x10\x0e\x12\x0c\n\x08\x44T_QINT8\x10\x0f\x12\r\n\tDT_QINT32\x10\x10\x12\x0f\n\x0b\x44T_QUINT4_2\x10\x11*0\n\rAttributeType\x12\x10\n\x0c\x41T_PARAMETER\x10\x00\x12\r\n\tAT_BUFFER\x10\x01\x42)Z\'github.com/coreweave/tensorizer/tensorsb\x06proto3') - -_DTYPE = DESCRIPTOR.enum_types_by_name['Dtype'] -Dtype = enum_type_wrapper.EnumTypeWrapper(_DTYPE) -_ATTRIBUTETYPE = DESCRIPTOR.enum_types_by_name['AttributeType'] -AttributeType = enum_type_wrapper.EnumTypeWrapper(_ATTRIBUTETYPE) -DT_INVALID = 0 -DT_FLOAT32 = 1 -DT_FLOAT64 = 2 -DT_FLOAT16 = 3 -DT_BFLOAT16 = 4 -DT_COMPLEX32 = 5 -DT_COMPLEX64 = 6 -DT_COMPLEX128 = 7 -DT_UINT8 = 8 -DT_INT8 = 9 -DT_INT16 = 10 -DT_INT32 = 11 -DT_INT64 = 12 -DT_BOOL = 13 -DT_QUINT8 = 14 -DT_QINT8 = 15 -DT_QINT32 = 16 -DT_QUINT4_2 = 17 -AT_PARAMETER = 0 -AT_BUFFER = 1 - - -_TENSOR = DESCRIPTOR.message_types_by_name['Tensor'] -_ATTRIBUTE = DESCRIPTOR.message_types_by_name['Attribute'] -_MODULE = DESCRIPTOR.message_types_by_name['Module'] -Tensor = _reflection.GeneratedProtocolMessageType('Tensor', (_message.Message,), { - 'DESCRIPTOR' : _TENSOR, - '__module__' : 'tensors_pb2' - # @@protoc_insertion_point(class_scope:tensors.Tensor) - }) -_sym_db.RegisterMessage(Tensor) - -Attribute = _reflection.GeneratedProtocolMessageType('Attribute', (_message.Message,), { - 'DESCRIPTOR' : _ATTRIBUTE, - '__module__' : 'tensors_pb2' - # @@protoc_insertion_point(class_scope:tensors.Attribute) - }) -_sym_db.RegisterMessage(Attribute) - -Module = _reflection.GeneratedProtocolMessageType('Module', (_message.Message,), { - 'DESCRIPTOR' : _MODULE, - '__module__' : 'tensors_pb2' - # @@protoc_insertion_point(class_scope:tensors.Module) - }) -_sym_db.RegisterMessage(Module) - -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z\'github.com/coreweave/tensorizer/tensors' - _DTYPE._serialized_start=414 - _DTYPE._serialized_end=700 - _ATTRIBUTETYPE._serialized_start=702 - _ATTRIBUTETYPE._serialized_end=750 - _TENSOR._serialized_start=27 - _TENSOR._serialized_end=157 - _ATTRIBUTE._serialized_start=160 - _ATTRIBUTE._serialized_end=332 - _MODULE._serialized_start=334 - _MODULE._serialized_end=411 -# @@protoc_insertion_point(module_scope) diff --git a/gooseai/go.mod b/gooseai/go.mod deleted file mode 100644 index ad98348..0000000 --- a/gooseai/go.mod +++ /dev/null @@ -1,17 +0,0 @@ -module github.com/stability-ai/api-interfaces/gooseai - -go 1.18 - -require ( - github.com/coreweave/tensorizer/tensors v0.0.0-20221122215441-35381e3812ba - google.golang.org/grpc v1.51.0 - google.golang.org/protobuf v1.28.1 -) - -require ( - github.com/golang/protobuf v1.5.2 // indirect - golang.org/x/net v0.0.0-20220722155237-a158d28d115b // indirect - golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect - golang.org/x/text v0.4.0 // indirect - google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 // indirect -) diff --git a/gooseai/go.sum b/gooseai/go.sum deleted file mode 100644 index ea18d83..0000000 --- a/gooseai/go.sum +++ /dev/null @@ -1,80 +0,0 @@ -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/coreweave/tensorizer/tensors v0.0.0-20221122215441-35381e3812ba h1:3RpH5nmfb4PXh3s7sFieYwclCq3FyDbFAxm7696K0v0= -github.com/coreweave/tensorizer/tensors v0.0.0-20221122215441-35381e3812ba/go.mod h1:SBsa3erqu4GCZbu2jeiMIE86eZ6Tx9fDmi/0BZpjHcU= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= -github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20220722155237-a158d28d115b h1:PxfKdU9lEEDYjdIzOtC4qFWgkU2rGHdKlKowJSMN9h0= -golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f h1:v4INt8xihDGvnrfjMDVXGxw9wrfxYyCjk0KbXjhR55s= -golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.4.0 h1:BrVqGRd7+k1DiOgtnFvAkoQEWQvBc25ouMJM6429SFg= -golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 h1:+kGHl1aib/qcwaRi1CbqBZ1rk19r85MNUf8HaBghugY= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.51.0 h1:E1eGv1FTqoLIdnBCZufiSHgKjlqG6fKFf6pPWtMTh8U= -google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsAIPww= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= -google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/gooseai/project/project_grpc_pb.d.ts b/gooseai/project/project_grpc_pb.d.ts deleted file mode 100644 index 35847b0..0000000 --- a/gooseai/project/project_grpc_pb.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -// GENERATED CODE -- DO NOT EDIT! - -// package: gooseai -// file: project.proto - -import * as project_pb from "./project_pb"; -import * as grpc from "grpc"; - -interface IProjectServiceService extends grpc.ServiceDefinition { - create: grpc.MethodDefinition; - update: grpc.MethodDefinition; - list: grpc.MethodDefinition; - get: grpc.MethodDefinition; - delete: grpc.MethodDefinition; -} - -export const ProjectServiceService: IProjectServiceService; - -export interface IProjectServiceServer extends grpc.UntypedServiceImplementation { - create: grpc.handleUnaryCall; - update: grpc.handleUnaryCall; - list: grpc.handleServerStreamingCall; - get: grpc.handleUnaryCall; - delete: grpc.handleUnaryCall; -} - -export class ProjectServiceClient extends grpc.Client { - constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); - create(argument: project_pb.CreateProjectRequest, callback: grpc.requestCallback): grpc.ClientUnaryCall; - create(argument: project_pb.CreateProjectRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - create(argument: project_pb.CreateProjectRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - update(argument: project_pb.UpdateProjectRequest, callback: grpc.requestCallback): grpc.ClientUnaryCall; - update(argument: project_pb.UpdateProjectRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - update(argument: project_pb.UpdateProjectRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - list(argument: project_pb.ListProjectRequest, metadataOrOptions?: grpc.Metadata | grpc.CallOptions | null): grpc.ClientReadableStream; - list(argument: project_pb.ListProjectRequest, metadata?: grpc.Metadata | null, options?: grpc.CallOptions | null): grpc.ClientReadableStream; - get(argument: project_pb.GetProjectRequest, callback: grpc.requestCallback): grpc.ClientUnaryCall; - get(argument: project_pb.GetProjectRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - get(argument: project_pb.GetProjectRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - delete(argument: project_pb.DeleteProjectRequest, callback: grpc.requestCallback): grpc.ClientUnaryCall; - delete(argument: project_pb.DeleteProjectRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; - delete(argument: project_pb.DeleteProjectRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback): grpc.ClientUnaryCall; -} diff --git a/gooseai/project/project_grpc_pb.js b/gooseai/project/project_grpc_pb.js deleted file mode 100644 index 2091167..0000000 --- a/gooseai/project/project_grpc_pb.js +++ /dev/null @@ -1,140 +0,0 @@ -// GENERATED CODE -- DO NOT EDIT! - -'use strict'; -var grpc = require('grpc'); -var project_pb = require('./project_pb.js'); - -function serialize_gooseai_CreateProjectRequest(arg) { - if (!(arg instanceof project_pb.CreateProjectRequest)) { - throw new Error('Expected argument of type gooseai.CreateProjectRequest'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_CreateProjectRequest(buffer_arg) { - return project_pb.CreateProjectRequest.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_DeleteProjectRequest(arg) { - if (!(arg instanceof project_pb.DeleteProjectRequest)) { - throw new Error('Expected argument of type gooseai.DeleteProjectRequest'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_DeleteProjectRequest(buffer_arg) { - return project_pb.DeleteProjectRequest.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_GetProjectRequest(arg) { - if (!(arg instanceof project_pb.GetProjectRequest)) { - throw new Error('Expected argument of type gooseai.GetProjectRequest'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_GetProjectRequest(buffer_arg) { - return project_pb.GetProjectRequest.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_ListProjectRequest(arg) { - if (!(arg instanceof project_pb.ListProjectRequest)) { - throw new Error('Expected argument of type gooseai.ListProjectRequest'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_ListProjectRequest(buffer_arg) { - return project_pb.ListProjectRequest.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_Project(arg) { - if (!(arg instanceof project_pb.Project)) { - throw new Error('Expected argument of type gooseai.Project'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_Project(buffer_arg) { - return project_pb.Project.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_gooseai_UpdateProjectRequest(arg) { - if (!(arg instanceof project_pb.UpdateProjectRequest)) { - throw new Error('Expected argument of type gooseai.UpdateProjectRequest'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_gooseai_UpdateProjectRequest(buffer_arg) { - return project_pb.UpdateProjectRequest.deserializeBinary(new Uint8Array(buffer_arg)); -} - - -// -// gRPC services -// -var ProjectServiceService = exports.ProjectServiceService = { - // Create a new project if it does not exist -create: { - path: '/gooseai.ProjectService/Create', - requestStream: false, - responseStream: false, - requestType: project_pb.CreateProjectRequest, - responseType: project_pb.Project, - requestSerialize: serialize_gooseai_CreateProjectRequest, - requestDeserialize: deserialize_gooseai_CreateProjectRequest, - responseSerialize: serialize_gooseai_Project, - responseDeserialize: deserialize_gooseai_Project, - }, - // Update an existing project -update: { - path: '/gooseai.ProjectService/Update', - requestStream: false, - responseStream: false, - requestType: project_pb.UpdateProjectRequest, - responseType: project_pb.Project, - requestSerialize: serialize_gooseai_UpdateProjectRequest, - requestDeserialize: deserialize_gooseai_UpdateProjectRequest, - responseSerialize: serialize_gooseai_Project, - responseDeserialize: deserialize_gooseai_Project, - }, - // List all the projects for an organization -list: { - path: '/gooseai.ProjectService/List', - requestStream: false, - responseStream: true, - requestType: project_pb.ListProjectRequest, - responseType: project_pb.Project, - requestSerialize: serialize_gooseai_ListProjectRequest, - requestDeserialize: deserialize_gooseai_ListProjectRequest, - responseSerialize: serialize_gooseai_Project, - responseDeserialize: deserialize_gooseai_Project, - }, - // Get a project -get: { - path: '/gooseai.ProjectService/Get', - requestStream: false, - responseStream: false, - requestType: project_pb.GetProjectRequest, - responseType: project_pb.Project, - requestSerialize: serialize_gooseai_GetProjectRequest, - requestDeserialize: deserialize_gooseai_GetProjectRequest, - responseSerialize: serialize_gooseai_Project, - responseDeserialize: deserialize_gooseai_Project, - }, - // Delete a project -delete: { - path: '/gooseai.ProjectService/Delete', - requestStream: false, - responseStream: false, - requestType: project_pb.DeleteProjectRequest, - responseType: project_pb.Project, - requestSerialize: serialize_gooseai_DeleteProjectRequest, - requestDeserialize: deserialize_gooseai_DeleteProjectRequest, - responseSerialize: serialize_gooseai_Project, - responseDeserialize: deserialize_gooseai_Project, - }, -}; - -exports.ProjectServiceClient = grpc.makeGenericClientConstructor(ProjectServiceService); diff --git a/gooseai/project/project_pb2.py b/gooseai/project/project_pb2.py deleted file mode 100644 index 79168d1..0000000 --- a/gooseai/project/project_pb2.py +++ /dev/null @@ -1,121 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: project.proto -"""Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rproject.proto\x12\x07gooseai\"N\n\x0cProjectAsset\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12%\n\x03use\x18\x03 \x01(\x0e\x32\x18.gooseai.ProjectAssetUse\"\x88\x02\n\x07Project\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05title\x18\x02 \x01(\t\x12\x10\n\x08owner_id\x18\x03 \x01(\t\x12&\n\x06\x61\x63\x63\x65ss\x18\x04 \x01(\x0e\x32\x16.gooseai.ProjectAccess\x12&\n\x06status\x18\x05 \x01(\x0e\x32\x16.gooseai.ProjectStatus\x12\x0c\n\x04size\x18\x06 \x01(\x04\x12#\n\x04\x66ile\x18\x07 \x01(\x0b\x32\x15.gooseai.ProjectAsset\x12\x12\n\ncreated_at\x18\x08 \x01(\x04\x12\x12\n\nupdated_at\x18\t \x01(\x04\x12%\n\x06\x61ssets\x18\n \x03(\x0b\x32\x15.gooseai.ProjectAsset\"\xcc\x01\n\x14\x43reateProjectRequest\x12\r\n\x05title\x18\x01 \x01(\t\x12\x15\n\x08owner_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x12&\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0e\x32\x16.gooseai.ProjectAccess\x12&\n\x06status\x18\x04 \x01(\x0e\x32\x16.gooseai.ProjectStatus\x12(\n\x04\x66ile\x18\x05 \x01(\x0b\x32\x15.gooseai.ProjectAssetH\x01\x88\x01\x01\x42\x0b\n\t_owner_idB\x07\n\x05_file\"\x87\x02\n\x14UpdateProjectRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x15\n\x08owner_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05title\x18\x03 \x01(\tH\x01\x88\x01\x01\x12+\n\x06\x61\x63\x63\x65ss\x18\x04 \x01(\x0e\x32\x16.gooseai.ProjectAccessH\x02\x88\x01\x01\x12+\n\x06status\x18\x05 \x01(\x0e\x32\x16.gooseai.ProjectStatusH\x03\x88\x01\x01\x12(\n\x04\x66ile\x18\x06 \x01(\x0b\x32\x15.gooseai.ProjectAssetH\x04\x88\x01\x01\x42\x0b\n\t_owner_idB\x08\n\x06_titleB\t\n\x07_accessB\t\n\x07_statusB\x07\n\x05_file\"8\n\x12ListProjectRequest\x12\x15\n\x08owner_id\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0b\n\t_owner_id\"C\n\x11GetProjectRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x15\n\x08owner_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0b\n\t_owner_id\"F\n\x14\x44\x65leteProjectRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x15\n\x08owner_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0b\n\t_owner_id*F\n\rProjectAccess\x12\x1a\n\x16PROJECT_ACCESS_PRIVATE\x10\x00\x12\x19\n\x15PROJECT_ACCESS_PUBLIC\x10\x01*c\n\rProjectStatus\x12\x1b\n\x17PROJECT_STATUS_INACTIVE\x10\x00\x12\x19\n\x15PROJECT_STATUS_ACTIVE\x10\x01\x12\x1a\n\x16PROJECT_STATUS_DELETED\x10\x02*\xb0\x01\n\x0fProjectAssetUse\x12\x1f\n\x1bPROJECT_ASSET_USE_UNDEFINED\x10\x00\x12\x1b\n\x17PROJECT_ASSET_USE_INPUT\x10\x01\x12\x1c\n\x18PROJECT_ASSET_USE_OUTPUT\x10\x02\x12\"\n\x1ePROJECT_ASSET_USE_INTERMEDIATE\x10\x03\x12\x1d\n\x19PROJECT_ASSET_USE_PROJECT\x10\x04\x32\xb9\x02\n\x0eProjectService\x12;\n\x06\x43reate\x12\x1d.gooseai.CreateProjectRequest\x1a\x10.gooseai.Project\"\x00\x12;\n\x06Update\x12\x1d.gooseai.UpdateProjectRequest\x1a\x10.gooseai.Project\"\x00\x12\x39\n\x04List\x12\x1b.gooseai.ListProjectRequest\x1a\x10.gooseai.Project\"\x00\x30\x01\x12\x35\n\x03Get\x12\x1a.gooseai.GetProjectRequest\x1a\x10.gooseai.Project\"\x00\x12;\n\x06\x44\x65lete\x12\x1d.gooseai.DeleteProjectRequest\x1a\x10.gooseai.Project\"\x00\x42\x0cZ\n./;projectb\x06proto3') - -_PROJECTACCESS = DESCRIPTOR.enum_types_by_name['ProjectAccess'] -ProjectAccess = enum_type_wrapper.EnumTypeWrapper(_PROJECTACCESS) -_PROJECTSTATUS = DESCRIPTOR.enum_types_by_name['ProjectStatus'] -ProjectStatus = enum_type_wrapper.EnumTypeWrapper(_PROJECTSTATUS) -_PROJECTASSETUSE = DESCRIPTOR.enum_types_by_name['ProjectAssetUse'] -ProjectAssetUse = enum_type_wrapper.EnumTypeWrapper(_PROJECTASSETUSE) -PROJECT_ACCESS_PRIVATE = 0 -PROJECT_ACCESS_PUBLIC = 1 -PROJECT_STATUS_INACTIVE = 0 -PROJECT_STATUS_ACTIVE = 1 -PROJECT_STATUS_DELETED = 2 -PROJECT_ASSET_USE_UNDEFINED = 0 -PROJECT_ASSET_USE_INPUT = 1 -PROJECT_ASSET_USE_OUTPUT = 2 -PROJECT_ASSET_USE_INTERMEDIATE = 3 -PROJECT_ASSET_USE_PROJECT = 4 - - -_PROJECTASSET = DESCRIPTOR.message_types_by_name['ProjectAsset'] -_PROJECT = DESCRIPTOR.message_types_by_name['Project'] -_CREATEPROJECTREQUEST = DESCRIPTOR.message_types_by_name['CreateProjectRequest'] -_UPDATEPROJECTREQUEST = DESCRIPTOR.message_types_by_name['UpdateProjectRequest'] -_LISTPROJECTREQUEST = DESCRIPTOR.message_types_by_name['ListProjectRequest'] -_GETPROJECTREQUEST = DESCRIPTOR.message_types_by_name['GetProjectRequest'] -_DELETEPROJECTREQUEST = DESCRIPTOR.message_types_by_name['DeleteProjectRequest'] -ProjectAsset = _reflection.GeneratedProtocolMessageType('ProjectAsset', (_message.Message,), { - 'DESCRIPTOR' : _PROJECTASSET, - '__module__' : 'project_pb2' - # @@protoc_insertion_point(class_scope:gooseai.ProjectAsset) - }) -_sym_db.RegisterMessage(ProjectAsset) - -Project = _reflection.GeneratedProtocolMessageType('Project', (_message.Message,), { - 'DESCRIPTOR' : _PROJECT, - '__module__' : 'project_pb2' - # @@protoc_insertion_point(class_scope:gooseai.Project) - }) -_sym_db.RegisterMessage(Project) - -CreateProjectRequest = _reflection.GeneratedProtocolMessageType('CreateProjectRequest', (_message.Message,), { - 'DESCRIPTOR' : _CREATEPROJECTREQUEST, - '__module__' : 'project_pb2' - # @@protoc_insertion_point(class_scope:gooseai.CreateProjectRequest) - }) -_sym_db.RegisterMessage(CreateProjectRequest) - -UpdateProjectRequest = _reflection.GeneratedProtocolMessageType('UpdateProjectRequest', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEPROJECTREQUEST, - '__module__' : 'project_pb2' - # @@protoc_insertion_point(class_scope:gooseai.UpdateProjectRequest) - }) -_sym_db.RegisterMessage(UpdateProjectRequest) - -ListProjectRequest = _reflection.GeneratedProtocolMessageType('ListProjectRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTPROJECTREQUEST, - '__module__' : 'project_pb2' - # @@protoc_insertion_point(class_scope:gooseai.ListProjectRequest) - }) -_sym_db.RegisterMessage(ListProjectRequest) - -GetProjectRequest = _reflection.GeneratedProtocolMessageType('GetProjectRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETPROJECTREQUEST, - '__module__' : 'project_pb2' - # @@protoc_insertion_point(class_scope:gooseai.GetProjectRequest) - }) -_sym_db.RegisterMessage(GetProjectRequest) - -DeleteProjectRequest = _reflection.GeneratedProtocolMessageType('DeleteProjectRequest', (_message.Message,), { - 'DESCRIPTOR' : _DELETEPROJECTREQUEST, - '__module__' : 'project_pb2' - # @@protoc_insertion_point(class_scope:gooseai.DeleteProjectRequest) - }) -_sym_db.RegisterMessage(DeleteProjectRequest) - -_PROJECTSERVICE = DESCRIPTOR.services_by_name['ProjectService'] -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'Z\n./;project' - _PROJECTACCESS._serialized_start=1045 - _PROJECTACCESS._serialized_end=1115 - _PROJECTSTATUS._serialized_start=1117 - _PROJECTSTATUS._serialized_end=1216 - _PROJECTASSETUSE._serialized_start=1219 - _PROJECTASSETUSE._serialized_end=1395 - _PROJECTASSET._serialized_start=26 - _PROJECTASSET._serialized_end=104 - _PROJECT._serialized_start=107 - _PROJECT._serialized_end=371 - _CREATEPROJECTREQUEST._serialized_start=374 - _CREATEPROJECTREQUEST._serialized_end=578 - _UPDATEPROJECTREQUEST._serialized_start=581 - _UPDATEPROJECTREQUEST._serialized_end=844 - _LISTPROJECTREQUEST._serialized_start=846 - _LISTPROJECTREQUEST._serialized_end=902 - _GETPROJECTREQUEST._serialized_start=904 - _GETPROJECTREQUEST._serialized_end=971 - _DELETEPROJECTREQUEST._serialized_start=973 - _DELETEPROJECTREQUEST._serialized_end=1043 - _PROJECTSERVICE._serialized_start=1398 - _PROJECTSERVICE._serialized_end=1711 -# @@protoc_insertion_point(module_scope) diff --git a/gooseai/project/project_pb2_grpc.py b/gooseai/project/project_pb2_grpc.py deleted file mode 100644 index 5b93339..0000000 --- a/gooseai/project/project_pb2_grpc.py +++ /dev/null @@ -1,212 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -import project_pb2 as project__pb2 - - -class ProjectServiceStub(object): - """ - gRPC services - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Create = channel.unary_unary( - '/gooseai.ProjectService/Create', - request_serializer=project__pb2.CreateProjectRequest.SerializeToString, - response_deserializer=project__pb2.Project.FromString, - ) - self.Update = channel.unary_unary( - '/gooseai.ProjectService/Update', - request_serializer=project__pb2.UpdateProjectRequest.SerializeToString, - response_deserializer=project__pb2.Project.FromString, - ) - self.List = channel.unary_stream( - '/gooseai.ProjectService/List', - request_serializer=project__pb2.ListProjectRequest.SerializeToString, - response_deserializer=project__pb2.Project.FromString, - ) - self.Get = channel.unary_unary( - '/gooseai.ProjectService/Get', - request_serializer=project__pb2.GetProjectRequest.SerializeToString, - response_deserializer=project__pb2.Project.FromString, - ) - self.Delete = channel.unary_unary( - '/gooseai.ProjectService/Delete', - request_serializer=project__pb2.DeleteProjectRequest.SerializeToString, - response_deserializer=project__pb2.Project.FromString, - ) - - -class ProjectServiceServicer(object): - """ - gRPC services - - """ - - def Create(self, request, context): - """Create a new project if it does not exist - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Update(self, request, context): - """Update an existing project - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def List(self, request, context): - """List all the projects for an organization - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Get(self, request, context): - """Get a project - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Delete(self, request, context): - """Delete a project - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_ProjectServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Create': grpc.unary_unary_rpc_method_handler( - servicer.Create, - request_deserializer=project__pb2.CreateProjectRequest.FromString, - response_serializer=project__pb2.Project.SerializeToString, - ), - 'Update': grpc.unary_unary_rpc_method_handler( - servicer.Update, - request_deserializer=project__pb2.UpdateProjectRequest.FromString, - response_serializer=project__pb2.Project.SerializeToString, - ), - 'List': grpc.unary_stream_rpc_method_handler( - servicer.List, - request_deserializer=project__pb2.ListProjectRequest.FromString, - response_serializer=project__pb2.Project.SerializeToString, - ), - 'Get': grpc.unary_unary_rpc_method_handler( - servicer.Get, - request_deserializer=project__pb2.GetProjectRequest.FromString, - response_serializer=project__pb2.Project.SerializeToString, - ), - 'Delete': grpc.unary_unary_rpc_method_handler( - servicer.Delete, - request_deserializer=project__pb2.DeleteProjectRequest.FromString, - response_serializer=project__pb2.Project.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'gooseai.ProjectService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class ProjectService(object): - """ - gRPC services - - """ - - @staticmethod - def Create(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/gooseai.ProjectService/Create', - project__pb2.CreateProjectRequest.SerializeToString, - project__pb2.Project.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def Update(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/gooseai.ProjectService/Update', - project__pb2.UpdateProjectRequest.SerializeToString, - project__pb2.Project.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def List(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_stream(request, target, '/gooseai.ProjectService/List', - project__pb2.ListProjectRequest.SerializeToString, - project__pb2.Project.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def Get(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/gooseai.ProjectService/Get', - project__pb2.GetProjectRequest.SerializeToString, - project__pb2.Project.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def Delete(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/gooseai.ProjectService/Delete', - project__pb2.DeleteProjectRequest.SerializeToString, - project__pb2.Project.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/package.json b/package.json index ddfa9e2..5b6525d 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,13 @@ { "name": "api-interfaces", - "version": "0.1.0", - "description": "", - "main": "index.js", - "scripts": {}, - "keywords": [], - "author": "", - "license": "", + "private": true, + "scripts": { + "generate": "zx ./scripts/clean-and-generate.mjs" + }, "dependencies": { "grpc-tools": "^1.11.2", - "ts-protoc-gen": "^0.15.0" + "toml": "^3.0.0", + "ts-protoc-gen": "^0.15.0", + "zx": "^7.0.8" } -} \ No newline at end of file +} diff --git a/src/proto/dashboard.proto b/proto/gooseai/dashboard.proto similarity index 99% rename from src/proto/dashboard.proto rename to proto/gooseai/dashboard.proto index d9c6564..ed7e27b 100644 --- a/src/proto/dashboard.proto +++ b/proto/gooseai/dashboard.proto @@ -1,6 +1,5 @@ syntax = 'proto3'; package gooseai; -option go_package = "./;dashboard"; enum OrganizationRole { MEMBER = 0; diff --git a/src/proto/engines.proto b/proto/gooseai/engines.proto similarity index 94% rename from src/proto/engines.proto rename to proto/gooseai/engines.proto index 65dad87..d5d1d6f 100644 --- a/src/proto/engines.proto +++ b/proto/gooseai/engines.proto @@ -1,6 +1,5 @@ syntax = 'proto3'; package gooseai; -option go_package = "./;engines"; // Possible engine type enum EngineType { diff --git a/src/proto/generation.proto b/proto/gooseai/generation.proto similarity index 99% rename from src/proto/generation.proto rename to proto/gooseai/generation.proto index 59473fb..4906db7 100644 --- a/src/proto/generation.proto +++ b/proto/gooseai/generation.proto @@ -1,7 +1,6 @@ syntax = 'proto3'; package gooseai; -option go_package = "./;generation"; -import "tensors.proto"; +import "tensorizer/proto/tensors.proto"; enum FinishReason { NULL = 0; diff --git a/src/proto/project.proto b/proto/gooseai/project.proto similarity index 99% rename from src/proto/project.proto rename to proto/gooseai/project.proto index dd6535c..88a07d6 100644 --- a/src/proto/project.proto +++ b/proto/gooseai/project.proto @@ -1,6 +1,5 @@ syntax = 'proto3'; package gooseai; -option go_package = "./;project"; enum ProjectAccess { PROJECT_ACCESS_PRIVATE = 0; // Private access, only owner organization can access diff --git a/proto/tensorizer b/proto/tensorizer new file mode 160000 index 0000000..fdaed5d --- /dev/null +++ b/proto/tensorizer @@ -0,0 +1 @@ +Subproject commit fdaed5d2ece40a1aeccf8b396092ce801f5a3910 diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index f52728c..0000000 --- a/requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -grpcio==1.48.1 -grpcio-tools==1.48.1 -protobuf==3.19.5 diff --git a/samples/witch_multi.json b/samples/witch_multi.json deleted file mode 100644 index e83d1c6..0000000 --- a/samples/witch_multi.json +++ /dev/null @@ -1,737 +0,0 @@ -{ - "id": "cmpl-48cdQroiWq8MlscZcAjILamrFSER7", - "object": "text_completion", - "created": 1637960484, - "choices": [ - { - "text": "The mercurial and beautiful witch laughed. “It’s always fun to see you in your human form. Your face is so expressive.”\n\n“Thank you.” I opened my mouth to ask her about the spell, but she laughed again.\n\n“You don’t need the spell. You", - "index": 0, - "logprobs": { - "tokens": [ - "The", - " merc", - "ur", - "ial", - " and", - " beautiful", - " witch", - " laughed", - ".", - "bytes: \\xe2\\x80", - "bytes:\\x9c", - "It", - "bytes:\\xe2\\x80", - "bytes:\\x99", - "s", - " always", - " fun", - " to", - " see", - " you", - " in", - " your", - " human", - " form", - ".", - " Your", - " face", - " is", - " so", - " expressive", - ".", - "bytes:\\xe2\\x80", - "bytes:\\x9d", - "\n", - "\n", - "bytes:\\xe2\\x80", - "bytes:\\x9c", - "Thank", - " you", - ".", - "bytes:\\xe2\\x80", - "bytes:\\x9d", - " I", - " opened", - " my", - " mouth", - " to", - " ask", - " her", - " about", - " the", - " spell", - ",", - " but", - " she", - " laughed", - " again", - ".", - "\n", - "\n", - "bytes:\\xe2\\x80", - "bytes:\\x9c", - "You", - " don", - "bytes:\\xe2\\x80", - "bytes:\\x99", - "t", - " need", - " the", - " spell", - ".", - " You" - ], - "token_logprobs": [ - null, - -10.987186, - -0.70089245, - -0.051478136, - -4.206479, - -6.8678684, - -7.872298, - -7.9884887, - -1.6257622, - -1.8923374, - -0.09083966, - -3.596075, - -0.92293626, - -0.00095688767, - -0.026765706, - -4.578165, - -3.1473582, - -0.3846669, - -1.8769759, - -1.7256234, - -3.175459, - -2.6366556, - -2.116784, - -0.26719448, - -0.8229051, - -4.0928636, - -2.7512598, - -0.5903353, - -0.7068419, - -0.8390384, - -0.41633418, - -0.7576648, - -0.0004970568, - -0.33549064, - -5.2765092e-05, - -0.6536772, - -0.0007582317, - -4.060886, - -0.02073863, - -0.8991428, - -0.55311364, - -0.00015577173, - -2.4800956, - -6.074035, - -0.7776768, - -0.9745842, - -0.39592788, - -1.5437977, - -1.1517105, - -2.1293733, - -0.8981637, - -4.426029, - -1.0824555, - -0.1543402, - -0.70817417, - -5.4413013, - -0.48369223, - -0.58768433, - -0.15830562, - -1.0561456e-05, - -0.037470862, - -0.00018987012, - -2.0105677, - -2.640401, - -0.000608224, - -3.655083e-05, - -6.7427754e-05, - -1.1092777, - -3.7181828, - -0.36528414, - -0.78040284, - -1.2901919 - ], - "top_logprobs": [ - null, - { - " first": -4.557621, - " only": -5.0540237, - " following": -5.1913433, - " most": -5.2596498, - " new": -5.280808 - }, - { - "ur": -0.70089245, - " with": -2.9781752, - "iful": -1.6869441, - "ant": -2.6760168, - "s": -3.1779623 - }, - { - "ially": -6.128214, - "ic": -3.546885, - "ius": -6.164523, - "ial": -0.051478136, - "ials": -4.861853 - }, - { - " winger": -3.146899, - " midfielder": -3.3616114, - " striker": -3.4268217, - " Frenchman": -3.881213, - " nature": -3.9590237 - }, - { - " unpredictable": -2.471855, - " controversial": -3.268356, - " often": -3.366474, - " temper": -3.4137073, - " enigmatic": -3.6319578 - }, - { - " actress": -3.4104178, - " young": -4.330212, - " star": -4.73766, - ",": -4.8057313, - " French": -4.944941 - }, - { - ",": -2.109663, - " of": -3.2380044, - " who": -3.4240892, - " is": -3.4258842, - ".": -3.5035992 - }, - { - ",": -1.8480141, - ".": -1.6257622, - " and": -2.3756974, - " as": -2.90808, - " at": -2.3375313 - }, - { - " She": -3.1745563, - "\n": -2.031242, - " \"": -0.74481535, - "bytes: \\xe2\\x80": -1.8923374, - " '": -3.315925 - }, - { - "bytes:\\x98": -2.4682963, - "bytes:\\x99": -8.54908, - "bytes:\\x9c": -0.09083966, - "bytes:\\x9d": -6.456032, - "bytes:\\x9e": -8.292384 - }, - { - "It": -3.596075, - "You": -2.3043463, - "No": -3.262251, - "I": -1.9421026, - "Oh": -2.7887135 - }, - { - " is": -1.7947203, - " was": -2.4557045, - "bytes:\\xe2\\x80": -0.92293626, - " will": -3.6008039, - " would": -3.391007 - }, - { - "bytes:\\x98": -8.06354, - "bytes:\\x99": -0.00095688767, - "bytes:\\x9a": -11.616758, - "bytes:\\x9d": -7.6311784, - "bytes:\\x9f": -9.213908 - }, - { - " s": -9.852548, - "ll": -3.838102, - "d": -5.4058585, - "s": -0.026765706, - "ss": -10.319356 - }, - { - " not": -1.7221965, - " a": -2.1066227, - " the": -3.3708894, - " just": -3.4031467, - " all": -3.459299 - }, - { - " a": -1.9010813, - " the": -2.143368, - " about": -2.6642194, - " been": -2.7636569, - " nice": -2.7877886 - }, - { - ",": -3.2957919, - ".": -3.6717649, - " to": -0.3846669, - " watching": -3.7451594, - " when": -2.6473927 - }, - { - " watch": -2.2562714, - " be": -3.1443021, - " have": -3.181263, - " play": -2.8059347, - " see": -1.8769759 - }, - { - " a": -2.3681633, - " the": -1.9552262, - " you": -1.7256234, - " what": -2.4631188, - " how": -2.4433968 - }, - { - ",": -2.401323, - ".": -3.1668108, - " squ": -2.846132, - " in": -3.175459, - " get": -2.6016214 - }, - { - " action": -1.6888292, - " a": -1.6138209, - " the": -2.5928056, - " this": -2.6337717, - " your": -2.6366556 - }, - { - " little": -3.7559555, - " human": -2.116784, - " true": -3.3568506, - " natural": -2.5883112, - " element": -2.0710077 - }, - { - " form": -0.26719448, - " body": -3.592523, - " guise": -3.6443152, - " skin": -3.075563, - " shape": -4.2011504 - }, - { - "!": -4.8298173, - ",": -0.75944, - ".": -0.8229051, - " and": -5.024962, - " again": -4.7664437 - }, - { - "bytes:\\xe2\\x80": -1.1712328, - " You": -1.9146411, - " I": -2.1857479, - " It": -2.4391925, - " But": -3.7938297 - }, - { - " human": -3.5665522, - " body": -3.5241249, - " face": -2.7512598, - " eyes": -2.7486467, - " skin": -4.172368 - }, - { - ",": -3.6216576, - " always": -3.6027634, - " looks": -3.0316005, - " is": -0.5903353, - " has": -3.698558 - }, - { - " always": -2.9229062, - " a": -3.7924018, - " priceless": -3.6275954, - " so": -0.7068419, - " just": -3.8145306 - }, - { - "…": -3.1654773, - " easy": -3.7008777, - " expressive": -0.8390384, - " very": -3.9386058, - " much": -3.019527 - }, - { - "!": -3.1704426, - ",": -2.1775036, - ".": -0.41633418, - " and": -3.0485442, - " when": -2.8648322 - }, - { - " I": -2.4313061, - "bytes:\\xe2\\x80": -0.7576648, - " It": -2.7169313, - " And": -3.411042, - " You": -2.630643 - }, - { - "bytes:\\x89": -14.56141, - "bytes:\\x98": -13.255155, - "bytes:\\x99": -8.663007, - "bytes:\\x9c": -8.052693, - "bytes:\\x9d": -0.0004970568 - }, - { - " She": -1.9785874, - "\n": -0.33549064, - " Her": -3.843536, - "bytes: \\xe2\\x80": -4.502338, - "\n\n": -3.1623569 - }, - { - "\t": -12.203304, - "\n": -5.2765092e-05, - "The": -12.662447, - "\n\n": -12.974695, - "In": -13.860613 - }, - { - "He": -3.1664488, - "She": -3.8677316, - "I": -3.2699146, - "bytes:\\xe2\\x80": -0.6536772, - "The": -3.3383465 - }, - { - "bytes:\\x98": -7.6741166, - "bytes:\\x99": -10.416636, - "bytes:\\x9c": -0.0007582317, - "bytes:\\x9d": -8.3119, - "bytes:\\x9e": -11.780943 - }, - { - "I": -1.865108, - "You": -2.3821597, - "What": -2.8672976, - "And": -3.1169276, - "It": -3.6226687 - }, - { - "-": -5.661424, - " God": -5.9390616, - " goodness": -6.0652785, - " the": -5.948152, - " you": -0.02073863 - }, - { - ",": -0.7529102, - ".": -0.8991428, - "…": -4.5606837, - "?": -3.7510219, - " for": -2.954929 - }, - { - " I": -1.8079736, - "bytes:\\xe2\\x80": -0.55311364, - " It": -3.3622031, - " And": -3.7244585, - " You": -3.7462595 - }, - { - "bytes:\\xbc": -15.636732, - "bytes:\\x98": -14.793131, - "bytes:\\x99": -9.061069, - "bytes:\\x9c": -10.185088, - "bytes:\\x9d": -0.00015577173 - }, - { - " She": -4.0980725, - "\n": -0.76995546, - " I": -2.4800956, - " The": -4.053986, - " He": -2.241906 - }, - { - " smiled": -2.8755128, - " was": -3.0436606, - " didn": -3.377241, - " tried": -3.4084563, - " said": -3.5878618 - }, - { - " a": -3.3429463, - " the": -0.80454373, - " and": -4.3451667, - " up": -4.4319773, - " my": -0.7776768 - }, - { - " hand": -3.5170112, - " car": -3.9190614, - " eyes": -1.6152282, - " arms": -2.5855005, - " mouth": -0.9745842 - }, - { - ",": -2.2766538, - " to": -0.39592788, - " and": -2.593033, - " but": -3.770352, - " again": -3.7508698 - }, - { - " ask": -1.5437977, - " continue": -2.689294, - " speak": -2.3451703, - " add": -3.061803, - " say": -1.3175824 - }, - { - " another": -1.9193573, - " a": -2.3800125, - " about": -3.0878487, - " her": -1.1517105, - " what": -2.8059995 - }, - { - " another": -2.6636674, - " why": -2.3742807, - " a": -2.0895135, - " about": -2.1293733, - " what": -2.0067575 - }, - { - " the": -0.8981637, - " her": -2.3520782, - " my": -2.7393618, - " what": -4.337037, - " our": -5.0141 - }, - { - " book": -4.2468567, - " missing": -4.7158394, - " spell": -4.426029, - " man": -4.649996, - " other": -4.373945 - }, - { - ",": -1.0824555, - ".": -2.9158869, - " book": -3.1185842, - " but": -2.9532096, - " she": -1.6395882 - }, - { - " to": -5.08854, - " and": -3.8985953, - " but": -0.1543402, - " when": -3.5768826, - " then": -3.0571647 - }, - { - " the": -2.9872766, - " I": -3.460791, - " she": -0.70817417, - " then": -2.8603883, - " before": -3.3800833 - }, - { - " held": -2.236799, - " cut": -2.536329, - " waved": -2.5819604, - " raised": -3.1581516, - " was": -3.1605964 - }, - { - ",": -3.3165395, - ".": -2.4004326, - " and": -1.9189569, - " at": -4.1835594, - " again": -0.48369223 - }, - { - ",": -1.7688824, - ".": -0.58768433, - " and": -1.5750041, - " as": -5.0765376, - " before": -3.099716 - }, - { - "\n": -0.15830562, - " I": -3.7717886, - " The": -4.652999, - "bytes: \\xe2\\x80": -3.2767782, - " It": -4.032241 - }, - { - "\n": -1.0561456e-05, - "I": -14.876281, - "The": -14.530776, - "<|endoftext|>": -14.677583, - "\n\n": -14.158376 - }, - { - "She": -5.1589003, - "I": -5.2477446, - "bytes:\\xe2\\x80": -0.037470862, - "The": -5.733215, - "Her": -5.8857794 - }, - { - "bytes:\\x98": -9.385051, - "bytes:\\x99": -12.360782, - "bytes:\\x9c": -0.00018987012, - "bytes:\\x9d": -9.270388, - "bytes:\\x9e": -12.588835 - }, - { - "You": -2.0105677, - "No": -2.8915756, - "Don": -2.794328, - "I": -1.7791911, - "Oh": -2.4941683 - }, - { - " are": -3.077565, - "bytes:\\xe2\\x80": -1.1716775, - " can": -2.497216, - " know": -3.1033866, - " don": -2.640401 - }, - { - " t": -11.785928, - "bytes:\\xe2\\x80": -0.000608224, - "'t": -7.588457, - "bytes: \\xe2\\x80": -11.498659, - "—": -11.757853 - }, - { - "bytes:\\x98": -10.669504, - "bytes:\\x99": -3.655083e-05, - "bytes:\\x9c": -14.7152605, - "bytes:\\x9d": -12.400293, - "bytes:\\x9f": -12.217282 - }, - { - " t": -10.911735, - "tw": -12.969676, - " know": -12.715868, - "t": -6.7427754e-05, - "tt": -12.704185 - }, - { - " really": -2.7172413, - " have": -1.7348157, - " need": -1.1092777, - " want": -1.9204615, - " even": -2.900213 - }, - { - " a": -3.5831578, - " the": -3.7181828, - " to": -0.25197357, - " it": -3.600816, - " me": -2.7694983 - }, - { - " information": -3.5505753, - " words": -4.771946, - " answer": -4.741211, - " details": -2.4812546, - " spell": -0.36528414 - }, - { - ",": -1.1413227, - ".": -0.78040284, - " to": -2.747135, - " anymore": -3.6252666, - " now": -3.9795413 - }, - { - " Just": -3.248127, - " I": -1.884823, - "bytes:\\xe2\\x80": -1.81382, - " It": -2.8475685, - " You": -1.2901919 - } - ], - "text_offset": [ - 0, - 3, - 8, - 10, - 13, - 17, - 27, - 33, - 41, - 42, - 42, - 44, - 46, - 46, - 47, - 48, - 55, - 59, - 62, - 66, - 70, - 73, - 78, - 84, - 89, - 90, - 95, - 100, - 103, - 106, - 117, - 118, - 118, - 119, - 120, - 121, - 121, - 122, - 127, - 131, - 132, - 132, - 133, - 135, - 142, - 145, - 151, - 154, - 158, - 162, - 168, - 172, - 178, - 179, - 183, - 187, - 195, - 201, - 202, - 203, - 204, - 204, - 205, - 208, - 212, - 212, - 213, - 214, - 219, - 223, - 229, - 230 - ] - }, - "finish_reason": "length" - } - ], - "model": "davinci:2020-05-03" -} diff --git a/samples/witch_noprob.json b/samples/witch_noprob.json deleted file mode 100644 index d292a9f..0000000 --- a/samples/witch_noprob.json +++ /dev/null @@ -1,238 +0,0 @@ -{ - "id": "cmpl-48crry2pOUoUtVxd2vJSursYcqhrj", - "object": "text_completion", - "created": 1637961379, - "choices": [ - { - "text": "The mercurial and beautiful witch laughed as she waved her wand, creating colorful bubbles that floated around her. \"It's a muggle fair!\" she exclaimed. \"And you're ... oh, you're adorable!\"\n\nHarry frowned as he ducked behind his friend. \"What's a muggle?\"\n\n\"You don't know what a", - "index": 0, - "logprobs": { - "tokens": [ - "The", - " merc", - "ur", - "ial", - " and", - " beautiful", - " witch", - " laughed", - " as", - " she", - " waved", - " her", - " wand", - ",", - " creating", - " colorful", - " bubbles", - " that", - " floated", - " around", - " her", - ".", - " \"", - "It", - "'s", - " a", - " m", - "uggle", - " fair", - "!\"", - " she", - " exclaimed", - ".", - " \"", - "And", - " you", - "'re", - " ...", - " oh", - ",", - " you", - "'re", - " adorable", - "!\"", - "\n", - "\n", - "Harry", - " frowned", - " as", - " he", - " d", - "ucked", - " behind", - " his", - " friend", - ".", - " \"", - "What", - "'s", - " a", - " m", - "uggle", - "?\"", - "\n", - "\n", - "\"", - "You", - " don", - "'t", - " know", - " what", - " a" - ], - "token_logprobs": [ - null, - -10.987186, - -0.71666235, - -0.05154027, - -4.2106233, - -6.8736644, - -7.8763485, - -8.008118, - -2.907369, - -0.35576633, - -4.8894453, - -0.36318788, - -0.9196957, - -1.5668958, - -3.6836884, - -6.7724147, - -2.6831, - -0.83893436, - -1.2555307, - -1.532455, - -1.3832833, - -0.963496, - -1.3439143, - -3.3855555, - -0.57608956, - -2.1722336, - -6.2369056, - -0.09448118, - -2.8567991, - -5.022727, - -1.104426, - -1.3855448, - -1.0346243, - -0.46600902, - -3.0332527, - -2.375405, - -1.3233099, - -9.890566, - -3.3423312, - -0.88883483, - -1.8411102, - -0.30346137, - -3.6947815, - -1.0291778, - -0.68579245, - -9.7114484e-05, - -2.315282, - -3.3687363, - -2.3542898, - -0.38693583, - -6.16344, - -0.35217825, - -2.122844, - -1.7648246, - -4.341085, - -0.7969093, - -0.41084018, - -1.8209854, - -1.1971861, - -0.23019834, - -0.12387496, - -0.007885975, - -0.23736298, - -0.48618445, - -6.6619094e-07, - -0.7301654, - -2.6885703, - -1.4081082, - -0.00060583797, - -0.08347951, - -1.055868, - -0.10785947 - ], - "top_logprobs": null, - "text_offset": [ - 0, - 3, - 8, - 10, - 13, - 17, - 27, - 33, - 41, - 44, - 48, - 54, - 58, - 63, - 64, - 73, - 82, - 90, - 95, - 103, - 110, - 114, - 115, - 117, - 119, - 121, - 123, - 125, - 130, - 135, - 137, - 141, - 151, - 152, - 154, - 157, - 161, - 164, - 168, - 171, - 172, - 176, - 179, - 188, - 190, - 191, - 192, - 197, - 205, - 208, - 211, - 213, - 218, - 225, - 229, - 236, - 237, - 239, - 243, - 245, - 247, - 249, - 254, - 256, - 257, - 258, - 259, - 262, - 266, - 268, - 273, - 278 - ] - }, - "finish_reason": "length" - } - ], - "model": "davinci:2020-05-03" -} \ No newline at end of file diff --git a/samples/witch_stream.json b/samples/witch_stream.json deleted file mode 100644 index f4ac742..0000000 --- a/samples/witch_stream.json +++ /dev/null @@ -1,131 +0,0 @@ -{"prompt":"The mercurial and beautiful witch laughed","max_tokens":64,"temperature":0.7,"top_p":1,"frequency_penalty":0,"presence_penalty":0,"best_of":1,"echo":true,"logprobs":20,"stream":true} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": "The mercurial and beautiful witch laughed and", "index": 0, "logprobs": {"tokens": ["The", " merc", "ur", "ial", " and", " beautiful", " witch", " laughed", " and"], "token_logprobs": [null, -10.987186, -0.71666235, -0.05154027, -4.2106233, -6.8736644, -7.8763485, -8.008118, -2.3720067], "top_logprobs": [null, {" first": -4.557621, " only": -5.0540237, " following": -5.1913433, " most": -5.2596498, " new": -5.280808}, {"ur": -0.71666235, " with": -2.9599104, "iful": -1.6700411, "ant": -2.6453104, "s": -3.156018}, {"ially": -6.132747, "ic": -3.54232, "ius": -6.160888, "ial": -0.05154027, "ials": -4.8629336}, {" winger": -3.14234, " midfielder": -3.358145, " striker": -3.4214306, " Frenchman": -3.881403, " nature": -3.959864}, {" unpredictable": -2.4693239, " controversial": -3.2645583, " often": -3.3618407, " temper": -3.4217772, " enigmatic": -3.6305406}, {" actress": -3.4146535, " young": -4.3290367, " star": -4.735779, ",": -4.805273, " French": -4.939247}, {",": -2.1107428, " of": -3.2309363, " who": -3.421961, " is": -3.42495, ".": -3.497946}, {",": -1.8476955, ".": -1.6269389, " and": -2.3720067, " as": -2.907369, " at": -2.3360643}], "text_offset": [0, 3, 8, 10, 13, 17, 27, 33, 41]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " leaned", "index": 0, "logprobs": {"tokens": [" leaned"], "token_logprobs": [-4.453676], "top_logprobs": [{" said": -2.6603944, " shook": -3.275339, " waved": -3.7190835, " then": -3.8096368, " kissed": -3.8924806}], "text_offset": [45]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " against", "index": 0, "logprobs": {"tokens": [" against"], "token_logprobs": [-2.4349453], "top_logprobs": [{" against": -2.4349453, " forward": -1.8679285, " in": -2.2676404, " over": -2.2422037, " back": -1.5483065}], "text_offset": [52]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " the", "index": 0, "logprobs": {"tokens": [" the"], "token_logprobs": [-0.5874118], "top_logprobs": [{" a": -2.8446975, " the": -0.5874118, " his": -3.0438745, " her": -2.7142923, " him": -2.3588963}], "text_offset": [60]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " door", "index": 0, "logprobs": {"tokens": [" door"], "token_logprobs": [-2.4129834], "top_logprobs": [{" table": -3.4232447, " wall": -1.727635, " door": -2.4129834, " counter": -3.791657, " back": -3.7537541}], "text_offset": [64]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " frame", "index": 0, "logprobs": {"tokens": [" frame"], "token_logprobs": [-1.5513768], "top_logprobs": [{",": -2.7999272, ".": -2.1730428, "frame": -1.0229002, " frame": -1.5513768, "j": -2.4258964}], "text_offset": [69]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": ".", "index": 0, "logprobs": {"tokens": ["."], "token_logprobs": [-0.60301083], "top_logprobs": [{",": -1.3686246, ".": -0.60301083, " of": -3.0953317, " with": -3.7309632, " as": -3.3949115}], "text_offset": [75]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " \"", "index": 0, "logprobs": {"tokens": [" \""], "token_logprobs": [-0.76194286], "top_logprobs": [{" She": -2.620467, "\n": -1.9046811, " Her": -3.2169902, " \"": -0.76194286, "bytes: \\xe2\\x80": -2.1289282}], "text_offset": [76]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": "I", "index": 0, "logprobs": {"tokens": ["I"], "token_logprobs": [-1.7722565], "top_logprobs": [{"It": -3.5678766, "You": -2.343622, "No": -3.555822, "I": -1.7722565, "Oh": -3.194185}], "text_offset": [78]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": "'m", "index": 0, "logprobs": {"tokens": ["'m"], "token_logprobs": [-1.7869948], "top_logprobs": [{"'ve": -3.2168653, "'m": -1.7869948, " was": -3.1727636, " know": -3.3080938, " don": -2.8682628}], "text_offset": [79]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " sure", "index": 0, "logprobs": {"tokens": [" sure"], "token_logprobs": [-2.7908092], "top_logprobs": [{" sure": -2.7908092, " not": -1.542377, " just": -3.1593738, " afraid": -3.2325969, " sorry": -2.4988627}], "text_offset": [81]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " you", "index": 0, "logprobs": {"tokens": [" you"], "token_logprobs": [-1.2066314], "top_logprobs": [{".": -3.0035522, " I": -2.254876, " he": -2.6802225, " it": -2.5780838, " you": -1.2066314}], "text_offset": [86]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " would", "index": 0, "logprobs": {"tokens": [" would"], "token_logprobs": [-3.0751524], "top_logprobs": [{"'ll": -1.6632302, " will": -2.289638, "'re": -2.4287333, " can": -2.5591197, " have": -2.9706645}], "text_offset": [90]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " like", "index": 0, "logprobs": {"tokens": [" like"], "token_logprobs": [-2.9365592], "top_logprobs": [{" have": -1.3700235, ",": -2.1736314, ".": -2.2693193, " be": -2.6505105, ".\"": -2.6646936}], "text_offset": [96]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " to", "index": 0, "logprobs": {"tokens": [" to"], "token_logprobs": [-0.91077995], "top_logprobs": [{" nothing": -4.0195365, " to": -0.91077995, " that": -0.8971843, " it": -3.3296869, " me": -2.9955235}], "text_offset": [101]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " know", "index": 0, "logprobs": {"tokens": [" know"], "token_logprobs": [-2.5355961], "top_logprobs": [{",": -2.679994, " believe": -2.4115765, " know": -2.5355961, " see": -3.0687194, " think": -1.8326008}], "text_offset": [104]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": ",\"", "index": 0, "logprobs": {"tokens": [",\""], "token_logprobs": [-3.3656392], "top_logprobs": [{",": -1.8721699, ".": -2.212456, ".\"": -2.2632222, " what": -2.2749445, " that": -2.4729924}], "text_offset": [109]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " she", "index": 0, "logprobs": {"tokens": [" she"], "token_logprobs": [-0.071647465], "top_logprobs": [{" She": -4.384372, "\n": -5.4823375, " the": -5.41719, " he": -5.267906, " she": -0.071647465}], "text_offset": [111]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " said", "index": 0, "logprobs": {"tokens": [" said"], "token_logprobs": [-0.6682781], "top_logprobs": [{" pur": -2.7607427, " teased": -2.7309573, " murm": -3.7324412, " said": -0.6682781, " replied": -2.6892512}], "text_offset": [115]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": ",", "index": 0, "logprobs": {"tokens": [","], "token_logprobs": [-1.3128662], "top_logprobs": [{",": -1.3128662, ".": -1.4725914, " in": -3.0557098, " coy": -3.5394971, " with": -2.370903}], "text_offset": [120]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " swinging", "index": 0, "logprobs": {"tokens": [" swinging"], "token_logprobs": [-7.7116504], "top_logprobs": [{" \"": -1.8624228, " her": -1.9065933, " and": -2.9590034, " smiling": -3.3876076, " a": -3.4435577}], "text_offset": [121]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " her", "index": 0, "logprobs": {"tokens": [" her"], "token_logprobs": [-0.43772286], "top_logprobs": [{" a": -2.1743257, " the": -2.6861284, " an": -4.346254, " one": -2.3442514, " her": -0.43772286}], "text_offset": [130]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " long", "index": 0, "logprobs": {"tokens": [" long"], "token_logprobs": [-2.1096349], "top_logprobs": [{" leg": -3.1262743, " hips": -1.3604817, " hair": -2.7935529, " legs": -2.8906255, " long": -2.1096349}], "text_offset": [134]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " hair", "index": 0, "logprobs": {"tokens": [" hair"], "token_logprobs": [-1.5714518], "top_logprobs": [{",": -1.7077432, " black": -2.4149501, " dark": -3.0345483, " hair": -1.5714518, " legs": -2.2903047}], "text_offset": [139]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": ".", "index": 0, "logprobs": {"tokens": ["."], "token_logprobs": [-2.8591871], "top_logprobs": [{" around": -2.5776167, ".": -2.8591871, " behind": -2.9020107, " over": -1.2031012, " back": -1.8681976}], "text_offset": [144]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " \"", "index": 0, "logprobs": {"tokens": [" \""], "token_logprobs": [-0.56117123], "top_logprobs": [{" She": -2.9386775, "\n": -1.4191387, " Her": -3.701655, " \"": -0.56117123, "\n\n": -3.8555667}], "text_offset": [145]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": "It", "index": 0, "logprobs": {"tokens": ["It"], "token_logprobs": [-3.5244706], "top_logprobs": [{"It": -3.5244706, "But": -0.8576501, "You": -3.0157425, "And": -3.4751277, "I": -2.1721148}], "text_offset": [147]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " would", "index": 0, "logprobs": {"tokens": [" would"], "token_logprobs": [-2.4317017], "top_logprobs": [{" seems": -3.5297506, " is": -2.0870743, "'s": -0.7955588, " was": -2.6291845, " would": -2.4317017}], "text_offset": [149]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " be", "index": 0, "logprobs": {"tokens": [" be"], "token_logprobs": [-1.0283408], "top_logprobs": [{" help": -3.2503142, " give": -2.8481767, " be": -1.0283408, " save": -3.3878531, " make": -2.0059295}], "text_offset": [155]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " such", "index": 0, "logprobs": {"tokens": [" such"], "token_logprobs": [-4.015018], "top_logprobs": [{" a": -1.8159102, " so": -2.9153018, " very": -3.0313334, " nice": -3.2563016, " the": -3.2728574}], "text_offset": [158]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " a", "index": 0, "logprobs": {"tokens": [" a"], "token_logprobs": [-0.23217969], "top_logprobs": [{" great": -5.9512115, " fun": -2.8689706, " a": -0.23217969, " an": -2.1858158, " sweet": -5.7343616}], "text_offset": [163]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " shame", "index": 0, "logprobs": {"tokens": [" shame"], "token_logprobs": [-1.7871113], "top_logprobs": [{" shame": -1.7871113, " great": -3.3318386, " pity": -2.906538, " waste": -2.7703686, " relief": -2.956911}], "text_offset": [165]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " to", "index": 0, "logprobs": {"tokens": [" to"], "token_logprobs": [-1.3459634], "top_logprobs": [{",": -3.367509, " to": -1.3459634, " for": -2.380704, " not": -3.4482696, " if": -0.60927284}], "text_offset": [171]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " let", "index": 0, "logprobs": {"tokens": [" let"], "token_logprobs": [-2.669171], "top_logprobs": [{" let": -2.669171, " keep": -1.9180306, " leave": -2.8058786, " have": -2.4016047, " see": -3.1203318}], "text_offset": [174]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " such", "index": 0, "logprobs": {"tokens": [" such"], "token_logprobs": [-1.7422894], "top_logprobs": [{" that": -2.6769514, " you": -1.6126279, " all": -2.2574987, " your": -2.8553607, " such": -1.7422894}], "text_offset": [178]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " a", "index": 0, "logprobs": {"tokens": [" a"], "token_logprobs": [-0.52579486], "top_logprobs": [{" information": -3.967472, " a": -0.52579486, " an": -2.4957998, " knowledge": -3.5355263, " talent": -3.822643}], "text_offset": [183]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " delicious", "index": 0, "logprobs": {"tokens": [" delicious"], "token_logprobs": [-4.2974157], "top_logprobs": [{" handsome": -2.1970208, " pretty": -2.8430016, " powerful": -3.2159226, " good": -3.4013474, " fine": -3.4036057}], "text_offset": [185]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " secret", "index": 0, "logprobs": {"tokens": [" secret"], "token_logprobs": [-1.1551406], "top_logprobs": [{" mystery": -3.3701599, " little": -3.1532216, " mor": -2.7844245, " secret": -1.1551406, " piece": -2.6723142}], "text_offset": [195]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " go", "index": 0, "logprobs": {"tokens": [" go"], "token_logprobs": [-0.70624316], "top_logprobs": [{" slip": -2.237455, " be": -3.0005853, " die": -2.1125197, " go": -0.70624316, " just": -3.9735198}], "text_offset": [202]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " to", "index": 0, "logprobs": {"tokens": [" to"], "token_logprobs": [-0.2585926], "top_logprobs": [{".": -3.8904476, " to": -0.2585926, " untold": -3.7862835, ".\"": -2.9533403, " un": -3.7484417}], "text_offset": [205]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " waste", "index": 0, "logprobs": {"tokens": [" waste"], "token_logprobs": [-0.01543738], "top_logprobs": [{" someone": -7.3483763, " the": -5.031848, " your": -6.1285353, " my": -7.282954, " waste": -0.01543738}], "text_offset": [208]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": ".", "index": 0, "logprobs": {"tokens": ["."], "token_logprobs": [-1.5994908], "top_logprobs": [{",": -2.2680662, ".": -1.5994908, "!\"": -4.7250323, ".\"": -0.53151304, ",\"": -4.1976275}], "text_offset": [214]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " Now", "index": 0, "logprobs": {"tokens": [" Now"], "token_logprobs": [-5.066206], "top_logprobs": [{" But": -1.4804443, " I": -2.0213876, " You": -2.8486578, " It": -3.185591, " And": -3.252886}], "text_offset": [215]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " what", "index": 0, "logprobs": {"tokens": [" what"], "token_logprobs": [-4.522364], "top_logprobs": [{",": -0.7536306, " that": -2.8425093, " come": -3.2907093, " if": -3.3667896, " go": -3.5677361}], "text_offset": [219]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " will", "index": 0, "logprobs": {"tokens": [" will"], "token_logprobs": [-2.085401], "top_logprobs": [{" is": -2.946996, "'s": -2.8484356, " do": -1.858068, " will": -2.085401, " would": -1.9016967}], "text_offset": [224]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " you", "index": 0, "logprobs": {"tokens": [" you"], "token_logprobs": [-0.39427114], "top_logprobs": [{" be": -4.9007483, " I": -2.6542273, " it": -1.7113334, " you": -0.39427114, " your": -4.398349}], "text_offset": [229]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " give", "index": 0, "logprobs": {"tokens": [" give"], "token_logprobs": [-0.7124237], "top_logprobs": [{" pay": -3.5088332, " give": -0.7124237, " offer": -3.1148243, " trade": -3.7437158, " do": -1.0047898}], "text_offset": [233]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " me", "index": 0, "logprobs": {"tokens": [" me"], "token_logprobs": [-0.03591873], "top_logprobs": [{" to": -4.4449534, " in": -5.511184, " for": -4.7785177, " me": -0.03591873, " up": -5.733375}], "text_offset": [238]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": "?\"", "index": 0, "logprobs": {"tokens": ["?\""], "token_logprobs": [-2.0819197], "top_logprobs": [{"?\"": -2.0819197, " to": -1.6424742, " in": -1.530833, " for": -1.2197751, " if": -2.6288555}], "text_offset": [241]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": "\n", "index": 0, "logprobs": {"tokens": ["\n"], "token_logprobs": [-0.26538202], "top_logprobs": [{" She": -2.970624, "\n": -0.26538202, " Her": -4.1892023, "\n\n": -2.538377, " she": -3.4671829}], "text_offset": [243]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": "\n", "index": 0, "logprobs": {"tokens": ["\n"], "token_logprobs": [-0.0001935684], "top_logprobs": [{"\"": -10.967827, "\t": -11.8434105, "\n": -0.0001935684, "The": -11.26494, "\n\n": -11.947925}], "text_offset": [244]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": "\"", "index": 0, "logprobs": {"tokens": ["\""], "token_logprobs": [-0.899116], "top_logprobs": [{"\"": -0.899116, "He": -3.4109793, "Harry": -3.7793384, "I": -3.3566964, "The": -2.9544978}], "text_offset": [245]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": "What", "index": 0, "logprobs": {"tokens": ["What"], "token_logprobs": [-1.8408462], "top_logprobs": [{"You": -3.1119986, "What": -1.8408462, "My": -3.3293142, "I": -1.5509788, "Anything": -3.3120797}], "text_offset": [246]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " do", "index": 0, "logprobs": {"tokens": [" do"], "token_logprobs": [-0.64844334], "top_logprobs": [{"?\"": -2.1126537, " are": -3.4330842, " do": -0.64844334, " will": -2.304453, " would": -3.2846353}], "text_offset": [250]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " you", "index": 0, "logprobs": {"tokens": [" you"], "token_logprobs": [-0.01894518], "top_logprobs": [{" ya": -7.471673, " I": -4.3947153, " you": -0.01894518, " we": -7.420689, " want": -5.884469}], "text_offset": [253]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " want", "index": 0, "logprobs": {"tokens": [" want"], "token_logprobs": [-0.069324225], "top_logprobs": [{" mean": -3.3538468, " have": -5.7059813, " wish": -5.9006653, " need": -4.465827, " want": -0.069324225}], "text_offset": [257]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": "?\"", "index": 0, "logprobs": {"tokens": ["?\""], "token_logprobs": [-0.12137732], "top_logprobs": [{",": -3.0696764, "?\"": -0.12137732, "?": -3.4675803, " from": -4.808629, ",\"": -5.571847}], "text_offset": [262]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": "\n", "index": 0, "logprobs": {"tokens": ["\n"], "token_logprobs": [-1.053745], "top_logprobs": [{" asked": -3.2815814, "\n": -1.053745, " I": -2.63739, " he": -2.179756, " Harry": -3.37849}], "text_offset": [264]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": "\n", "index": 0, "logprobs": {"tokens": ["\n"], "token_logprobs": [-6.6619094e-07], "top_logprobs": [{"\"": -16.20132, "\n": -6.6619094e-07, "I": -17.812366, "The": -17.754536, "<|endoftext|>": -15.05291}], "text_offset": [265]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": "\"", "index": 0, "logprobs": {"tokens": ["\""], "token_logprobs": [-0.41113713], "top_logprobs": [{"\"": -0.41113713, "She": -2.1815343, "L": -4.742005, "The": -2.994717, "Her": -3.9232142}], "text_offset": [266]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": "You", "index": 0, "logprobs": {"tokens": ["You"], "token_logprobs": [-2.4776537], "top_logprobs": [{"You": -2.4776537, "What": -3.2654386, "A": -2.763825, "I": -1.6208806, "Oh": -2.7416234}], "text_offset": [267]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": ",\"", "index": 0, "logprobs": {"tokens": [",\""], "token_logprobs": [-2.6693056], "top_logprobs": [{"'ll": -2.9582877, ".\"": -2.7213874, ",\"": -2.6693056, " know": -1.4869744, "'re": -2.6188636}], "text_offset": [270]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " she", "index": 0, "logprobs": {"tokens": [" she"], "token_logprobs": [-0.44600168], "top_logprobs": [{" came": -5.3869195, " the": -2.4173076, " Lilith": -5.1071796, " said": -3.3152642, " she": -0.44600168}], "text_offset": [272]}, "finish_reason": null}], "model": "davinci:2020-05-03"} - -data: {"id": "cmpl-48bsJvpCvXie7HQD1tB4x4tM7cKgl", "object": "text_completion", "created": 1637957563, "choices": [{"text": " said", "index": 0, "logprobs": {"tokens": [" said"], "token_logprobs": [-0.5197567], "top_logprobs": [{" pur": -2.8825266, " whispered": -3.362885, " said": -0.5197567, " replied": -2.216141, " answered": -3.1224215}], "text_offset": [276]}, "finish_reason": "length"}], "model": "davinci:2020-05-03"} - -data: [DONE] \ No newline at end of file diff --git a/scripts/clean-and-generate.mjs b/scripts/clean-and-generate.mjs new file mode 100755 index 0000000..3b64055 --- /dev/null +++ b/scripts/clean-and-generate.mjs @@ -0,0 +1,64 @@ +#!/usr/bin/env zx + +import "zx/globals"; + +// Ensure that buf is installed +await $`buf --version`.then((res) => { + if (res.exitCode !== 0) { + console.error( + "buf is not installed. Please install it from https://docs.buf.build/installation" + ); + process.exit(1); + } +}); + +// Ensure protol is installed +await $`which protol`.then((res) => { + if (res.exitCode !== 0) { + console.error( + "protol is not installed. Please install it with `pip install protoletariat`" + ); + process.exit(1); + } +}); + +// Remove all files in the generated directory except for these explicitly ignored files +await glob("gen/**/*", { + ignore: [ + "gen/**/README.md", + "gen/**/pyproject.toml", + "gen/**/poetry.lock", + "gen/**/go.mod", + "gen/**/go.sum", + "gen/**/yarn.lock", + "gen/**/package-lock.json", + "gen/**/package.json", + ], +}).then((files) => { + files.forEach((file) => { + fs.removeSync(file); + }); +}); + +// Generate files from proto definitions +await $`buf generate`; + +// Add __init__.py files to all generated python directories +// This is required for python to recognize the directories as modules +let pythonModules = await glob("gen/proto/python/**", { onlyDirectories: true }); +for (const pythonModule of pythonModules) { + fs.ensureFileSync(path.join(pythonModule, "__init__.py")); +} + +await $`protol --python-out ./gen/proto/python/stability_api_interfaces --in-place buf`; + +await glob("gen/**/pyproject.toml").then((files) => + Promise.all( + files.map((file) => + within(async () => { + cd(path.dirname(file)); + await $`poetry export -f requirements.txt --output requirements.txt`; + }) + ) + ) +); diff --git a/src/bin/protoc b/src/bin/protoc deleted file mode 100755 index 9081365..0000000 Binary files a/src/bin/protoc and /dev/null differ diff --git a/src/cmake/FindProtobufWithTargets.cmake b/src/cmake/FindProtobufWithTargets.cmake deleted file mode 100644 index e96bc6c..0000000 --- a/src/cmake/FindProtobufWithTargets.cmake +++ /dev/null @@ -1,203 +0,0 @@ -# ~~~ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ~~~ - -#[=======================================================================[.rst: -FindProtobufWithTargets -------------------- - -A module to use ``Protobuf`` with less complications. - -Using ``find_package(Protobuf)`` should be simple, but it is not. - -CMake provides a ``FindProtobuf`` module. Unfortunately it does not generate -``protobuf::*`` targets until CMake-3.9, and ``protobuf::protoc`` does not -appear until CMake-3.10. - -The CMake-config files generated by ``protobuf`` always create these targets, -but on some Linux distributions (e.g. Fedora>=29, and openSUSE-Tumbleweed) there -are system packages for protobuf, but these packages are installed without the -CMake-config files. One must either use the ``FindProtobuf`` module, find the -libraries via ``pkg-config``, or find the libraries manually. - -When the CMake-config files are installed they produce the same targets as -recent versions of ``FindProtobuf``. However, they do not produce the -``Protobuf_LIBRARY``, ``Protobuf_INCLUDE_DIR``, etc. that are generated by the -module. Furthermore, the ``protobuf::protoc`` library is not usable when loaded -from the CMake-config files: its ``IMPORTED_LOCATION`` variable is not defined. - -This module is designed to provide a single, uniform, ``find_package()`` -module that always produces the same outputs: - -- It always generates the ``protobuf::*`` targets. -- It always defines ``ProtobufWithTargets_FOUND`` and - ``ProtobufWithTargets_VERSION``. -- It *prefers* using the CMake config files if they are available. -- It fallsback on the ``FindProtobuf`` module if the config files are not found. -- It populates any missing targets and their properties. - -The following ``IMPORTED`` targets are defined: - -``protobuf::libprotobuf`` - The protobuf library. -``protobuf::libprotobuf-lite`` - The protobuf lite library. -``protobuf::libprotoc`` - The protoc library. -``protobuf::protoc`` - The protoc compiler. - -Example: - -.. code-block:: cmake - - find_package(ProtobufWithTargets REQUIRED) - add_executable(bar bar.cc) - target_link_libraries(bar PRIVATE protobuf::libprotobuf) - -#]=======================================================================] - -if (protobuf_DEBUG) - message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " - "protobuf_USE_STATIC_LIBS = ${protobuf_USE_STATIC_LIBS}" - " ProtobufWithTargets = ${ProtobufWithTargets_FOUND}") -endif () - -# Always load thread support, even on Windows. -find_package(Threads REQUIRED) - -# First try to use the ``protobufConfig.cmake`` or ``protobuf-config.cmake`` -# file if it was installed. This is common on systems (or package managers) -# where protobuf was compiled and installed with `CMake`. Note that on Linux -# this *must* be all lowercase ``protobuf``, while on Windows it does not -# matter. -find_package(Protobuf CONFIG QUIET) - -if (protobuf_DEBUG) - message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " - "Protobuf_FOUND = ${Protobuf_FOUND}" - " Protobuf_VERSION = ${Protobuf_VERSION}") -endif () - -if (NOT Protobuf_FOUND) - find_package(Protobuf QUIET) -endif () - -if (Protobuf_FOUND) - set(ProtobufWithTargets_FOUND 1) - set(ProtobufWithTargets_VERSION ${Protobuf_VERSION}) - - if (NOT TARGET protobuf::libprotobuf) - add_library(protobuf::libprotobuf INTERFACE IMPORTED) - set_property( - TARGET protobuf::libprotobuf PROPERTY INTERFACE_INCLUDE_DIRECTORIES - ${Protobuf_INCLUDE_DIR}) - set_property( - TARGET protobuf::libprotobuf - APPEND - PROPERTY INTERFACE_LINK_LIBRARIES ${Protobuf_LIBRARY} - Threads::Threads) - endif () - - if (NOT TARGET protobuf::libprotobuf-lite) - add_library(protobuf::libprotobuf-lite INTERFACE IMPORTED) - set_property( - TARGET protobuf::libprotobuf-lite - PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${Protobuf_INCLUDE_DIR}) - set_property( - TARGET protobuf::libprotobuf-lite - APPEND - PROPERTY INTERFACE_LINK_LIBRARIES ${Protobuf_LITE_LIBRARY} - Threads::Threads) - endif () - - if (NOT TARGET protobuf::libprotoc) - add_library(protobuf::libprotoc INTERFACE IMPORTED) - set_property( - TARGET protobuf::libprotoc PROPERTY INTERFACE_INCLUDE_DIRECTORIES - ${Protobuf_INCLUDE_DIR}) - set_property( - TARGET protobuf::libprotoc - APPEND - PROPERTY INTERFACE_LINK_LIBRARIES ${Protobuf_PROTOC_LIBRARY} - Threads::Threads) - endif () - - if (NOT TARGET protobuf::protoc) - add_executable(protobuf::protoc IMPORTED) - - # Discover the protoc compiler location. - find_program( - _protobuf_PROTOC_EXECUTABLE - NAMES protoc - DOC "The Google Protocol Buffers Compiler") - if (protobuf_DEBUG) - message( - STATUS - "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " - "ProtobufWithTargets_FOUND = ${ProtobufWithTargets_FOUND}" - " ProtobufWithTargets_VERSION = ${ProtobufWithTargets_VERSION}" - " EXE = ${_protobuf_PROTOC_EXECUTABLE}") - endif () - set_property(TARGET protobuf::protoc - PROPERTY IMPORTED_LOCATION ${_protobuf_PROTOC_EXECUTABLE}) - set_property( - TARGET protobuf::protoc PROPERTY IMPORTED_LOCATION_DEBUG - ${_protobuf_PROTOC_EXECUTABLE}) - set_property( - TARGET protobuf::protoc PROPERTY IMPORTED_LOCATION_RELEASE - ${_protobuf_PROTOC_EXECUTABLE}) - unset(_protobuf_PROTOC_EXECUTABLE) - - if (protobuf_DEBUG) - get_target_property(_protobuf_PROTOC_EXECUTABLE protobuf::protoc - IMPORTED_LOCATION) - message( - STATUS - "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " - "LOCATION=${_protobuf_PROTOC_EXECUTABLE}") - endif () - endif () -endif () - -if (protobuf_DEBUG) - message( - STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " - "ProtobufWithTargets_FOUND = ${ProtobufWithTargets_FOUND}" - " ProtobufWithTargets_VERSION = ${ProtobufWithTargets_VERSION}") -endif () - -if (protobuf_DEBUG) - message( - STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " - "ProtobufWithTargets_FOUND = ${ProtobufWithTargets_FOUND}" - " ProtobufWithTargets_VERSION = ${ProtobufWithTargets_VERSION}") - if (ProtobufWithTargets_FOUND) - foreach (_target protobuf::libprotobuf protobuf::libprotobuf-lite - protobuf::libprotoc) - if (NOT TARGET ${_target}) - message( - STATUS - "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " - "target=${_target} is NOT a target") - endif () - endforeach () - unset(_target) - endif () -endif () - -find_package_handle_standard_args( - ProtobufWithTargets REQUIRED_VARS ProtobufWithTargets_FOUND - ProtobufWithTargets_VERSION) diff --git a/src/cmake/FindgRPC.cmake b/src/cmake/FindgRPC.cmake deleted file mode 100644 index 7ca10ae..0000000 --- a/src/cmake/FindgRPC.cmake +++ /dev/null @@ -1,357 +0,0 @@ -# ~~~ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ~~~ - -#[=======================================================================[.rst: -FindgRPC --------- - -Locate and configure the ``gRPC`` library. - -The following variables can be set and are optional: - -``gRPC_DEBUG`` - Show debug messages. -``gRPC_USE_STATIC_LIBS`` - Set to ON to force the use of the static libraries. - Default is OFF. - -Defines the following variables: - -``gRPC_FOUND`` - Found the gRPC library -``gRPC_VERSION`` - Version of package found. - -The following ``IMPORTED`` targets are also defined: - -``gRPC::grpc++`` - The gRPC C++ library. -``gRPC::grpc`` - The gRPC C core library. -``gRPC::cpp_plugin`` - The C++ plugin for the Protobuf protoc compiler. - -The following cache variables are also available to set or use: - -Example: - -.. code-block:: cmake - - find_package(gRPC REQUIRED) - add_executable(bar bar.cc) - target_link_libraries(bar PRIVATE gRPC::grpc++) - -#]=======================================================================] - -if (gRPC_DEBUG) - message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " - "gRPC_USE_STATIC_LIBS = ${gRPC_USE_STATIC_LIBS}" - " gRPC_FOUND = ${gRPC_FOUND}") -endif () - -# gRPC always requires Thread support. -find_package(Threads REQUIRED) - -# Load the module to find protobuf with proper targets. Do not use -# `find_package()` because we (have to) install this module in non-standard -# locations. -list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}") -find_package(ProtobufWithTargets) - -# The gRPC::grpc_cpp_plugin target is sometimes defined, but without a -# IMPORTED_LOCATION -function (_grpc_fix_grpc_cpp_plugin_target) - # The target may already exist, do not create it again if it does. - if (NOT TARGET gRPC::grpc_cpp_plugin) - add_executable(gRPC::grpc_cpp_plugin IMPORTED) - endif () - get_target_property(_gRPC_CPP_PLUGIN_EXECUTABLE gRPC::grpc_cpp_plugin - IMPORTED_LOCATION) - if (gRPC_DEBUG) - message( - STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " - "LOCATION=${_gRPC_CPP_PLUGIN_EXECUTABLE}") - endif () - # Even if the target exists, gRPC CMake support files do not define the - # executable for the imported target (at least they do not in v1.19.1), so - # we need to define it ourselves. - if (NOT _gRPC_CPP_PLUGIN_EXECUTABLE) - find_program(_gRPC_CPP_PLUGIN_EXECUTABLE grpc_cpp_plugin - DOC "The gRPC C++ plugin for protoc") - mark_as_advanced(_gRPC_CPP_PLUGIN_EXECUTABLE) - if (_gRPC_CPP_PLUGIN_EXECUTABLE) - set_property( - TARGET gRPC::grpc_cpp_plugin - PROPERTY IMPORTED_LOCATION ${_gRPC_CPP_PLUGIN_EXECUTABLE}) - else () - set(gRPC_FOUND "grpc_cpp_plugin-NOTFOUND") - endif () - endif () -endfunction () - -# The gRPC::* targets sometimes lack the right definitions to compile cleanly on -# WIN32 -function (_grpc_fix_grpc_target_definitions) - # Including gRPC headers without this definition results in a build error. - if (WIN32) - set_property( - TARGET gRPC::grpc - APPEND - PROPERTY INTERFACE_COMPILE_DEFINITIONS _WIN32_WINNT=0x600) - set_property( - TARGET gRPC::grpc++ - APPEND - PROPERTY INTERFACE_COMPILE_DEFINITIONS _WIN32_WINNT=0x600) - endif () -endfunction () - -# First try to use the `gRPCConfig.cmake` or `grpc-config.cmake` file if it was -# installed. This is common on systems (or package managers) where gRPC was -# compiled and installed with `CMake`. - -find_package(gRPC NO_MODULE QUIET) - -if (gRPC_DEBUG) - message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " - "NO_MODULE result gRPC_FOUND = ${gRPC_FOUND}") -endif () - -if (gRPC_FOUND) - _grpc_fix_grpc_cpp_plugin_target() - _grpc_fix_grpc_target_definitions() - return() -endif () - -include(SelectLibraryConfigurations) - -# Internal function: search for normal library as well as a debug one if the -# debug one is specified also include debug/optimized keywords in *_LIBRARIES -# variable -function (_gRPC_find_library name filename) - if (${name}_LIBRARY) - # Use result recorded by a previous call. - return() - else () - find_library(${name}_LIBRARY_RELEASE NAMES ${filename}) - mark_as_advanced(${name}_LIBRARY_RELEASE) - - find_library(${name}_LIBRARY_DEBUG NAMES ${filename}d ${filename}) - mark_as_advanced(${name}_LIBRARY_DEBUG) - - select_library_configurations(${name}) - - if (gRPC_DEBUG) - message( - STATUS - "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " - "${name} ${filename} RELEASE=${${name}_LIBRARY}" - " DEBUG=${${name}_LIBRARY_DEBUG} DEFAULT=${${name}_LIBRARY}" - ) - endif () - - set(${name}_LIBRARY - "${${name}_LIBRARY}" - PARENT_SCOPE) - endif () -endfunction () - -# -# Main -# - -# Support preference of static libs by adjusting CMAKE_FIND_LIBRARY_SUFFIXES -if (_gRPC_USE_STATIC_LIBS) - set(_gRPC_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES}) - if (WIN32) - set(CMAKE_FIND_LIBRARY_SUFFIXES .lib .a ${CMAKE_FIND_LIBRARY_SUFFIXES}) - else () - set(CMAKE_FIND_LIBRARY_SUFFIXES .a) - endif () -endif () - -_grpc_find_library(_gRPC_grpc grpc) -_grpc_find_library(_gRPC_grpc++ grpc++) - -if (NOT _gRPC_INCLUDE_DIR) - find_path(_gRPC_INCLUDE_DIR grpcpp/grpcpp.h) - mark_as_advanced(_gRPC_INCLUDE_DIR) -endif () - -if (gRPC_DEBUG) - message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " - " _gRPC_grpc_LIBRARY = ${_gRPC_grpc_LIBRARY}") - message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " - " _gRPC_grpc++_LIBRARY = ${_gRPC_grpc++_LIBRARY}") - message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " - " _gRPC_INCLUDE_DIR = ${_gRPC_INCLUDE_DIR}") -endif () - -if (_gRPC_grpc_LIBRARY) - if (NOT TARGET gRPC::grpc) - add_library(gRPC::grpc UNKNOWN IMPORTED) - set_target_properties( - gRPC::grpc PROPERTIES INTERFACE_INCLUDE_DIRECTORIES - "${_gRPC_INCLUDE_DIR}") - if (EXISTS "${_gRPC_grpc_LIBRARY}") - set_target_properties(gRPC::grpc PROPERTIES IMPORTED_LOCATION - "${_gRPC_grpc_LIBRARY}") - endif () - if (EXISTS "${_gRPC_grpc_LIBRARY_RELEASE}") - set_property( - TARGET gRPC::grpc - APPEND - PROPERTY IMPORTED_CONFIGURATIONS RELEASE) - set_target_properties( - gRPC::grpc PROPERTIES IMPORTED_LOCATION_RELEASE - "${_gRPC_grpc_LIBRARY_RELEASE}") - endif () - if (EXISTS "${_gRPC_grpc_LIBRARY_DEBUG}") - set_property( - TARGET gRPC::grpc - APPEND - PROPERTY IMPORTED_CONFIGURATIONS DEBUG) - set_target_properties( - gRPC::grpc PROPERTIES IMPORTED_LOCATION_DEBUG - "${_gRPC_grpc_LIBRARY_DEBUG}") - endif () - set_property( - TARGET gRPC::grpc - APPEND - PROPERTY INTERFACE_LINK_LIBRARIES protobuf::libprotobuf - Threads::Threads) - endif () -endif () - -if (_gRPC_grpc++_LIBRARY) - if (NOT TARGET gRPC::grpc++) - add_library(gRPC::grpc++ UNKNOWN IMPORTED) - set_target_properties( - gRPC::grpc++ PROPERTIES INTERFACE_INCLUDE_DIRECTORIES - "${_gRPC++_INCLUDE_DIR}") - if (EXISTS "${_gRPC_grpc++_LIBRARY}") - set_target_properties( - gRPC::grpc++ PROPERTIES IMPORTED_LOCATION - "${_gRPC_grpc++_LIBRARY}") - endif () - if (EXISTS "${_gRPC_grpc++_LIBRARY_RELEASE}") - set_property( - TARGET gRPC::grpc++ - APPEND - PROPERTY IMPORTED_CONFIGURATIONS RELEASE) - set_target_properties( - gRPC::grpc++ PROPERTIES IMPORTED_LOCATION_RELEASE - "${_gRPC_grpc++_LIBRARY_RELEASE}") - endif () - if (EXISTS "${_gRPC_grpc++_LIBRARY_DEBUG}") - set_property( - TARGET gRPC::grpc++ - APPEND - PROPERTY IMPORTED_CONFIGURATIONS DEBUG) - set_target_properties( - gRPC::grpc++ PROPERTIES IMPORTED_LOCATION_DEBUG - "${_gRPC_grpc++_LIBRARY_DEBUG}") - endif () - set_property( - TARGET gRPC::grpc++ - APPEND - PROPERTY INTERFACE_LINK_LIBRARIES gRPC::grpc protobuf::libprotobuf - Threads::Threads) - if (CMAKE_VERSION VERSION_GREATER 3.8) - # gRPC++ requires C++14 (soon), but only CMake-3.8 introduced a - # compiler feature to meet that requirement. - set_property( - TARGET gRPC::grpc++ - APPEND - PROPERTY INTERFACE_COMPILE_FEATURES cxx_std_14) - elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") - # CMake 3.5 is still alive and kicking in some older distros, use - # the compiler-specific versions in these cases. - set_property( - TARGET gRPC::grpc++ - APPEND - PROPERTY INTERFACE_COMPILE_OPTIONS "-std=c++14") - elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") - set_property( - TARGET gRPC::grpc++ - APPEND - PROPERTY INTERFACE_COMPILE_OPTIONS "-std=c++14") - else () - message( - WARNING - "gRPC::grpc++ requires C++14, but this module" - " (${CMAKE_CURRENT_LIST_FILE})" - " cannot enable it for the library target in your CMake and" - " compiler versions. You need to enable C++14 in the" - " CMakeLists.txt for your project. Consider filing a bug" - " so we can fix this problem.") - endif () - endif () -endif () - -# Restore original find library prefixes -if (_gRPC_USE_STATIC_LIBS) - set(CMAKE_FIND_LIBRARY_PREFIXES "${_gRPC_ORIG_FIND_LIBRARY_PREFIXES}") -endif () - -file( - WRITE "${CMAKE_BINARY_DIR}/get_gRPC_version.cc" - [====[ -#include -#include -int main() { - std::cout << grpc::Version(); // no newline to simplify CMake module - return 0; -} - ]====]) - -try_run( - _gRPC_GET_VERSION_STATUS - _gRPC_GET_VERSION_COMPILE_STATUS - "${CMAKE_BINARY_DIR}" - "${CMAKE_BINARY_DIR}/get_gRPC_version.cc" - LINK_LIBRARIES - gRPC::grpc++ - gRPC::grpc - COMPILE_OUTPUT_VARIABLE _gRPC_GET_VERSION_COMPILE_OUTPUT - RUN_OUTPUT_VARIABLE gRPC_VERSION) - -file(REMOVE "${CMAKE_BINARY_DIR}/get_gRPC_version.cc") - -_grpc_fix_grpc_cpp_plugin_target() - -if (gRPC_DEBUG) - foreach ( - _var - _gRPC_CPP_PLUGIN_EXECUTABLE - _gRPC_VERSION_RAW - _gRPC_GET_VERSION_STATUS - _gRPC_GET_VERSION_COMPILE_STATUS - _gRPC_GET_VERSION_COMPILE_OUTPUT - _gRPC_grpc_LIBRARY - _gRPC_grpc++_LIBRARY - _gRPC_INCLUDE_DIR) - message( - STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] " - "${_var} = ${${_var}}") - endforeach () - unset(_var) -endif () - -include(FindPackageHandleStandardArgs) -find_package_handle_standard_args( - gRPC - REQUIRED_VARS _gRPC_grpc_LIBRARY _gRPC_INCLUDE_DIR - VERSION_VAR gRPC_VERSION) diff --git a/src/tensorizer b/src/tensorizer deleted file mode 160000 index 35381e3..0000000 --- a/src/tensorizer +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 35381e3812ba342991d30b71ce257503622ae828 diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000..18e6070 --- /dev/null +++ b/yarn.lock @@ -0,0 +1,755 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@mapbox/node-pre-gyp@^1.0.5": + version "1.0.10" + resolved "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.10.tgz" + integrity sha512-4ySo4CjzStuprMwk35H5pPbkymjv1SF3jGLj6rAHp/xT/RF7TL7bd9CTm1xDY49K2qF7jmR/g7k+SkLETP6opA== + dependencies: + detect-libc "^2.0.0" + https-proxy-agent "^5.0.0" + make-dir "^3.1.0" + node-fetch "^2.6.7" + nopt "^5.0.0" + npmlog "^5.0.1" + rimraf "^3.0.2" + semver "^7.3.5" + tar "^6.1.11" + +"@nodelib/fs.scandir@2.1.5": + version "2.1.5" + resolved "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz" + integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== + dependencies: + "@nodelib/fs.stat" "2.0.5" + run-parallel "^1.1.9" + +"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": + version "2.0.5" + resolved "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz" + integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== + +"@nodelib/fs.walk@^1.2.3": + version "1.2.8" + resolved "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz" + integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== + dependencies: + "@nodelib/fs.scandir" "2.1.5" + fastq "^1.6.0" + +"@types/fs-extra@^9.0.13": + version "9.0.13" + resolved "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-9.0.13.tgz" + integrity sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA== + dependencies: + "@types/node" "*" + +"@types/minimist@^1.2.2": + version "1.2.2" + resolved "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz" + integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== + +"@types/node@*", "@types/node@^18.6.3": + version "18.7.18" + resolved "https://registry.npmjs.org/@types/node/-/node-18.7.18.tgz" + integrity sha512-m+6nTEOadJZuTPkKR/SYK3A2d7FZrgElol9UP1Kae90VVU4a6mxnPuLiIW1m4Cq4gZ/nWb9GrdVXJCoCazDAbg== + +"@types/ps-tree@^1.1.2": + version "1.1.2" + resolved "https://registry.npmjs.org/@types/ps-tree/-/ps-tree-1.1.2.tgz" + integrity sha512-ZREFYlpUmPQJ0esjxoG1fMvB2HNaD3z+mjqdSosZvd3RalncI9NEur73P8ZJz4YQdL64CmV1w0RuqoRUlhQRBw== + +"@types/which@^2.0.1": + version "2.0.1" + resolved "https://registry.npmjs.org/@types/which/-/which-2.0.1.tgz" + integrity sha512-Jjakcv8Roqtio6w1gr0D7y6twbhx6gGgFGF5BLwajPpnOIOxFkakFhCq+LmyyeAz7BX6ULrjBOxdKaCDy+4+dQ== + +abbrev@1: + version "1.1.1" + resolved "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz" + integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== + +agent-base@6: + version "6.0.2" + resolved "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz" + integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== + dependencies: + debug "4" + +ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + +"aproba@^1.0.3 || ^2.0.0": + version "2.0.0" + resolved "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz" + integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== + +are-we-there-yet@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz" + integrity sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw== + dependencies: + delegates "^1.0.0" + readable-stream "^3.6.0" + +balanced-match@^1.0.0: + version "1.0.2" + resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz" + integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + +braces@^3.0.2: + version "3.0.2" + resolved "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz" + integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== + dependencies: + fill-range "^7.0.1" + +chalk@^5.0.1: + version "5.0.1" + resolved "https://registry.npmjs.org/chalk/-/chalk-5.0.1.tgz" + integrity sha512-Fo07WOYGqMfCWHOzSXOt2CxDbC6skS/jO9ynEcmpANMoPrD+W1r1K6Vx7iNm+AQmETU1Xr2t+n8nzkV9t6xh3w== + +chownr@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz" + integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== + +color-support@^1.1.2: + version "1.1.3" + resolved "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz" + integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg== + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz" + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== + +console-control-strings@^1.0.0, console-control-strings@^1.1.0: + version "1.1.0" + resolved "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz" + integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== + +data-uri-to-buffer@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.0.tgz" + integrity sha512-Vr3mLBA8qWmcuschSLAOogKgQ/Jwxulv3RNE4FXnYWRGujzrRWQI4m12fQqRkwX06C0KanhLr4hK+GydchZsaA== + +debug@4: + version "4.3.4" + resolved "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== + dependencies: + ms "2.1.2" + +delegates@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz" + integrity sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ== + +detect-libc@^2.0.0: + version "2.0.1" + resolved "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.1.tgz" + integrity sha512-463v3ZeIrcWtdgIg6vI6XUncguvr2TnGl4SzDXinkt9mSLpBJKXT3mW6xT3VQdDN11+WVs29pgvivTc4Lp8v+w== + +dir-glob@^3.0.1: + version "3.0.1" + resolved "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz" + integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA== + dependencies: + path-type "^4.0.0" + +duplexer@~0.1.1: + version "0.1.2" + resolved "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz" + integrity sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg== + +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + +event-stream@=3.3.4: + version "3.3.4" + resolved "https://registry.npmjs.org/event-stream/-/event-stream-3.3.4.tgz" + integrity sha512-QHpkERcGsR0T7Qm3HNJSyXKEEj8AHNxkY3PK8TS2KJvQ7NiSHe3DDpwVKKtoYprL/AreyzFBeIkBIWChAqn60g== + dependencies: + duplexer "~0.1.1" + from "~0" + map-stream "~0.1.0" + pause-stream "0.0.11" + split "0.3" + stream-combiner "~0.0.4" + through "~2.3.1" + +fast-glob@^3.2.11: + version "3.2.12" + resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz" + integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" + +fastq@^1.6.0: + version "1.13.0" + resolved "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz" + integrity sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw== + dependencies: + reusify "^1.0.4" + +fetch-blob@^3.1.2, fetch-blob@^3.1.4: + version "3.2.0" + resolved "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz" + integrity sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ== + dependencies: + node-domexception "^1.0.0" + web-streams-polyfill "^3.0.3" + +fill-range@^7.0.1: + version "7.0.1" + resolved "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz" + integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== + dependencies: + to-regex-range "^5.0.1" + +formdata-polyfill@^4.0.10: + version "4.0.10" + resolved "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz" + integrity sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g== + dependencies: + fetch-blob "^3.1.2" + +from@~0: + version "0.1.7" + resolved "https://registry.npmjs.org/from/-/from-0.1.7.tgz" + integrity sha512-twe20eF1OxVxp/ML/kq2p1uc6KvFK/+vs8WjEbeKmV2He22MKm7YF2ANIt+EOqhJ5L3K/SuuPhk0hWQDjOM23g== + +fs-extra@^10.1.0: + version "10.1.0" + resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz" + integrity sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ== + dependencies: + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + +fs-minipass@^2.0.0: + version "2.1.0" + resolved "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz" + integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg== + dependencies: + minipass "^3.0.0" + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" + integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== + +gauge@^3.0.0: + version "3.0.2" + resolved "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz" + integrity sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q== + dependencies: + aproba "^1.0.3 || ^2.0.0" + color-support "^1.1.2" + console-control-strings "^1.0.0" + has-unicode "^2.0.1" + object-assign "^4.1.1" + signal-exit "^3.0.0" + string-width "^4.2.3" + strip-ansi "^6.0.1" + wide-align "^1.1.2" + +glob-parent@^5.1.2: + version "5.1.2" + resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz" + integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== + dependencies: + is-glob "^4.0.1" + +glob@^7.1.3: + version "7.2.3" + resolved "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.1.1" + once "^1.3.0" + path-is-absolute "^1.0.0" + +globby@^13.1.2: + version "13.1.2" + resolved "https://registry.npmjs.org/globby/-/globby-13.1.2.tgz" + integrity sha512-LKSDZXToac40u8Q1PQtZihbNdTYSNMuWe+K5l+oa6KgDzSvVrHXlJy40hUP522RjAIoNLJYBJi7ow+rbFpIhHQ== + dependencies: + dir-glob "^3.0.1" + fast-glob "^3.2.11" + ignore "^5.2.0" + merge2 "^1.4.1" + slash "^4.0.0" + +google-protobuf@^3.15.5: + version "3.21.0" + resolved "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.21.0.tgz" + integrity sha512-byR7MBTK4tZ5PZEb+u5ZTzpt4SfrTxv5682MjPlHN16XeqgZE2/8HOIWeiXe8JKnT9OVbtBGhbq8mtvkK8cd5g== + +graceful-fs@^4.1.6, graceful-fs@^4.2.0: + version "4.2.10" + resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz" + integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== + +grpc-tools@^1.11.2: + version "1.11.2" + resolved "https://registry.npmjs.org/grpc-tools/-/grpc-tools-1.11.2.tgz" + integrity sha512-4+EgpnnkJraamY++oyBCw5Hp9huRYfgakjNVKbiE3PgO9Tv5ydVlRo7ZyGJ0C0SEiA7HhbVc1sNNtIyK7FiEtg== + dependencies: + "@mapbox/node-pre-gyp" "^1.0.5" + +has-unicode@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz" + integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ== + +https-proxy-agent@^5.0.0: + version "5.0.1" + resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz" + integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== + dependencies: + agent-base "6" + debug "4" + +ignore@^5.2.0: + version "5.2.0" + resolved "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz" + integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz" + integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2, inherits@^2.0.3: + version "2.0.4" + resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +is-extglob@^2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz" + integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== + +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== + +is-glob@^4.0.1: + version "4.0.3" + resolved "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz" + integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== + dependencies: + is-extglob "^2.1.1" + +is-number@^7.0.0: + version "7.0.0" + resolved "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz" + integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== + +isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz" + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== + +jsonfile@^6.0.1: + version "6.1.0" + resolved "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz" + integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== + dependencies: + universalify "^2.0.0" + optionalDependencies: + graceful-fs "^4.1.6" + +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + +make-dir@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz" + integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== + dependencies: + semver "^6.0.0" + +map-stream@~0.1.0: + version "0.1.0" + resolved "https://registry.npmjs.org/map-stream/-/map-stream-0.1.0.tgz" + integrity sha512-CkYQrPYZfWnu/DAmVCpTSX/xHpKZ80eKh2lAkyA6AJTef6bW+6JpbQZN5rofum7da+SyN1bi5ctTm+lTfcCW3g== + +merge2@^1.3.0, merge2@^1.4.1: + version "1.4.1" + resolved "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz" + integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== + +micromatch@^4.0.4: + version "4.0.5" + resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz" + integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== + dependencies: + braces "^3.0.2" + picomatch "^2.3.1" + +minimatch@^3.1.1: + version "3.1.2" + resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + +minimist@^1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz" + integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== + +minipass@^3.0.0: + version "3.3.4" + resolved "https://registry.npmjs.org/minipass/-/minipass-3.3.4.tgz" + integrity sha512-I9WPbWHCGu8W+6k1ZiGpPu0GkoKBeorkfKNuAFBNS1HNFJvke82sxvI5bzcCNpWPorkOO5QQ+zomzzwRxejXiw== + dependencies: + yallist "^4.0.0" + +minizlib@^2.1.1: + version "2.1.2" + resolved "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz" + integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg== + dependencies: + minipass "^3.0.0" + yallist "^4.0.0" + +mkdirp@^1.0.3: + version "1.0.4" + resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz" + integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== + +ms@2.1.2: + version "2.1.2" + resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz" + integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== + +node-domexception@^1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz" + integrity sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ== + +node-fetch@3.2.8: + version "3.2.8" + resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-3.2.8.tgz" + integrity sha512-KtpD1YhGszhntMpBDyp5lyagk8KIMopC1LEb7cQUAh7zcosaX5uK8HnbNb2i3NTQK3sIawCItS0uFC3QzcLHdg== + dependencies: + data-uri-to-buffer "^4.0.0" + fetch-blob "^3.1.4" + formdata-polyfill "^4.0.10" + +node-fetch@^2.6.7: + version "2.6.7" + resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz" + integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== + dependencies: + whatwg-url "^5.0.0" + +nopt@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz" + integrity sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ== + dependencies: + abbrev "1" + +npmlog@^5.0.1: + version "5.0.1" + resolved "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz" + integrity sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw== + dependencies: + are-we-there-yet "^2.0.0" + console-control-strings "^1.1.0" + gauge "^3.0.0" + set-blocking "^2.0.0" + +object-assign@^4.1.1: + version "4.1.1" + resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" + integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== + +once@^1.3.0: + version "1.4.0" + resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz" + integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== + dependencies: + wrappy "1" + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz" + integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== + +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + +pause-stream@0.0.11: + version "0.0.11" + resolved "https://registry.npmjs.org/pause-stream/-/pause-stream-0.0.11.tgz" + integrity sha512-e3FBlXLmN/D1S+zHzanP4E/4Z60oFAa3O051qt1pxa7DEJWKAyil6upYVXCWadEnuoqa4Pkc9oUx9zsxYeRv8A== + dependencies: + through "~2.3" + +picomatch@^2.3.1: + version "2.3.1" + resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz" + integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== + +ps-tree@^1.2.0: + version "1.2.0" + resolved "https://registry.npmjs.org/ps-tree/-/ps-tree-1.2.0.tgz" + integrity sha512-0VnamPPYHl4uaU/nSFeZZpR21QAWRz+sRv4iW9+v/GS/J5U5iZB5BNN6J0RMoOvdx2gWM2+ZFMIm58q24e4UYA== + dependencies: + event-stream "=3.3.4" + +queue-microtask@^1.2.2: + version "1.2.3" + resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz" + integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== + +readable-stream@^3.6.0: + version "3.6.0" + resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz" + integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + +reusify@^1.0.4: + version "1.0.4" + resolved "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz" + integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== + +rimraf@^3.0.2: + version "3.0.2" + resolved "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz" + integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== + dependencies: + glob "^7.1.3" + +run-parallel@^1.1.9: + version "1.2.0" + resolved "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz" + integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== + dependencies: + queue-microtask "^1.2.2" + +safe-buffer@~5.2.0: + version "5.2.1" + resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +semver@^6.0.0: + version "6.3.0" + resolved "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + +semver@^7.3.5: + version "7.3.7" + resolved "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz" + integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== + dependencies: + lru-cache "^6.0.0" + +set-blocking@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz" + integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== + +signal-exit@^3.0.0: + version "3.0.7" + resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz" + integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== + +slash@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz" + integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew== + +split@0.3: + version "0.3.3" + resolved "https://registry.npmjs.org/split/-/split-0.3.3.tgz" + integrity sha512-wD2AeVmxXRBoX44wAycgjVpMhvbwdI2aZjCkvfNcH1YqHQvJVa1duWc73OyVGJUc05fhFaTZeQ/PYsrmyH0JVA== + dependencies: + through "2" + +stream-combiner@~0.0.4: + version "0.0.4" + resolved "https://registry.npmjs.org/stream-combiner/-/stream-combiner-0.0.4.tgz" + integrity sha512-rT00SPnTVyRsaSz5zgSPma/aHSOic5U1prhYdRy5HS2kTZviFpmDgzilbtsJsxiroqACmayynDN/9VzIbX5DOw== + dependencies: + duplexer "~0.1.1" + +"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" + +strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +tar@^6.1.11: + version "6.1.11" + resolved "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz" + integrity sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA== + dependencies: + chownr "^2.0.0" + fs-minipass "^2.0.0" + minipass "^3.0.0" + minizlib "^2.1.1" + mkdirp "^1.0.3" + yallist "^4.0.0" + +through@2, through@~2.3, through@~2.3.1: + version "2.3.8" + resolved "https://registry.npmjs.org/through/-/through-2.3.8.tgz" + integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== + +to-regex-range@^5.0.1: + version "5.0.1" + resolved "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz" + integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== + dependencies: + is-number "^7.0.0" + +toml@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/toml/-/toml-3.0.0.tgz" + integrity sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w== + +tr46@~0.0.3: + version "0.0.3" + resolved "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz" + integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== + +ts-protoc-gen@^0.15.0: + version "0.15.0" + resolved "https://registry.npmjs.org/ts-protoc-gen/-/ts-protoc-gen-0.15.0.tgz" + integrity sha512-TycnzEyrdVDlATJ3bWFTtra3SCiEP0W0vySXReAuEygXCUr1j2uaVyL0DhzjwuUdQoW5oXPwk6oZWeA0955V+g== + dependencies: + google-protobuf "^3.15.5" + +universalify@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz" + integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== + +util-deprecate@^1.0.1: + version "1.0.2" + resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + +web-streams-polyfill@^3.0.3: + version "3.2.1" + resolved "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz" + integrity sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q== + +webidl-conversions@^3.0.0: + version "3.0.1" + resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz" + integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== + +whatwg-url@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz" + integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== + dependencies: + tr46 "~0.0.3" + webidl-conversions "^3.0.0" + +which@^2.0.2: + version "2.0.2" + resolved "https://registry.npmjs.org/which/-/which-2.0.2.tgz" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + dependencies: + isexe "^2.0.0" + +wide-align@^1.1.2: + version "1.1.5" + resolved "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz" + integrity sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg== + dependencies: + string-width "^1.0.2 || 2 || 3 || 4" + +wrappy@1: + version "1.0.2" + resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz" + integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yaml@^2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/yaml/-/yaml-2.1.1.tgz" + integrity sha512-o96x3OPo8GjWeSLF+wOAbrPfhFOGY0W00GNaxCDv+9hkcDJEnev1yh8S7pgHF0ik6zc8sQLuL8hjHjJULZp8bw== + +zx@^7.0.8: + version "7.0.8" + resolved "https://registry.npmjs.org/zx/-/zx-7.0.8.tgz" + integrity sha512-sNjfDHzskqrSkWNj0TVhaowVK5AbpvuyuO1RBU4+LrFcgYI5u9CtyWWgUBRtRZl3bgGEF31zByszoBmwS47d1w== + dependencies: + "@types/fs-extra" "^9.0.13" + "@types/minimist" "^1.2.2" + "@types/node" "^18.6.3" + "@types/ps-tree" "^1.1.2" + "@types/which" "^2.0.1" + chalk "^5.0.1" + fs-extra "^10.1.0" + globby "^13.1.2" + minimist "^1.2.6" + node-fetch "3.2.8" + ps-tree "^1.2.0" + which "^2.0.2" + yaml "^2.1.1"